Skip to content

Commit 1c7087a

Browse files
committed
Add TOAST table to pg_shseclabel for long label use
Report by Andres Freund
1 parent 34afbba commit 1c7087a

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/backend/catalog/catalog.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,9 @@ IsSharedRelation(Oid relationId)
246246
if (relationId == PgShdescriptionToastTable ||
247247
relationId == PgShdescriptionToastIndex ||
248248
relationId == PgDbRoleSettingToastTable ||
249-
relationId == PgDbRoleSettingToastIndex)
249+
relationId == PgDbRoleSettingToastIndex ||
250+
relationId == PgShseclabelToastTable ||
251+
relationId == PgShseclabelToastIndex)
250252
return true;
251253
return false;
252254
}

src/include/catalog/toasting.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,8 @@ DECLARE_TOAST(pg_shdescription, 2846, 2847);
6262
DECLARE_TOAST(pg_db_role_setting, 2966, 2967);
6363
#define PgDbRoleSettingToastTable 2966
6464
#define PgDbRoleSettingToastIndex 2967
65+
DECLARE_TOAST(pg_shseclabel, 4060, 4061);
66+
#define PgShseclabelToastTable 4060
67+
#define PgShseclabelToastIndex 4061
6568

6669
#endif /* TOASTING_H */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy