Content-Length: 287789 | pFad | http://github.com/postgrespro/postgres/commit/1c7087af422fcdd6785a8e2dccbfc1ed567171a0

5F Add TOAST table to pg_shseclabel for long label use · postgrespro/postgres@1c7087a · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/1c7087af422fcdd6785a8e2dccbfc1ed567171a0

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy