mirror of
https://github.com/postgres/postgres.git
synced 2026-03-01 12:50:55 -05:00
Add TOAST table to pg_shseclabel for long label use
Report by Andres Freund
This commit is contained in:
parent
34afbba84e
commit
1c7087af42
2 changed files with 6 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue