postgres.git / summary / log / commit / refs

commit    1c7087af422fcdd6785a8e2dccbfc1ed567171a0
Author:   Bruce Momjian <bruce@momjian.us>
Date:     Sun Mar 22 02:14:49 2015 +0000
First released in: 9.5.0

    Add TOAST table to pg_shseclabel for long label use
    
    Report by Andres Freund


src/backend/catalog/catalog.c | 4 +++- src/include/catalog/toasting.h | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/backend/catalog/catalog.c b/src/backend/catalog/catalog.c index 8e7a9ec2ba3..e9d3cdcc9d4 100644 --- a/src/backend/catalog/catalog.c +++ b/src/backend/catalog/catalog.c @@ -246,7 +246,9 @@ IsSharedRelation(Oid relationId) if (relationId == PgShdescriptionToastTable || relationId == PgShdescriptionToastIndex || relationId == PgDbRoleSettingToastTable || - relationId == PgDbRoleSettingToastIndex) + relationId == PgDbRoleSettingToastIndex || + relationId == PgShseclabelToastTable || + relationId == PgShseclabelToastIndex) return true; return false; } diff --git a/src/include/catalog/toasting.h b/src/include/catalog/toasting.h index cba4ae7ad98..fb2f03532b4 100644 --- a/src/include/catalog/toasting.h +++ b/src/include/catalog/toasting.h @@ -62,5 +62,8 @@ DECLARE_TOAST(pg_shdescription, 2846, 2847); DECLARE_TOAST(pg_db_role_setting, 2966, 2967); #define PgDbRoleSettingToastTable 2966 #define PgDbRoleSettingToastIndex 2967 +DECLARE_TOAST(pg_shseclabel, 4060, 4061); +#define PgShseclabelToastTable 4060 +#define PgShseclabelToastIndex 4061 #endif /* TOASTING_H */ [parent: 34afbba84e8f]