Commit 1c7087af authored by Bruce Momjian's avatar Bruce Momjian

Add TOAST table to pg_shseclabel for long label use

Report by Andres Freund
parent 34afbba8
......@@ -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 */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment