aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2015-03-21 22:14:49 -0400
committerBruce Momjian <bruce@momjian.us>2015-03-21 22:14:49 -0400
commit1c7087af422fcdd6785a8e2dccbfc1ed567171a0 (patch)
tree84a63150ea062439e9926f8e58c58c99d9fef7fc /src
parent34afbba84e8fd12bbf905d68d1112f51ed584df9 (diff)
downloadpostgresql-1c7087af422fcdd6785a8e2dccbfc1ed567171a0.tar.gz
postgresql-1c7087af422fcdd6785a8e2dccbfc1ed567171a0.zip
Add TOAST table to pg_shseclabel for long label use
Report by Andres Freund
Diffstat (limited to 'src')
-rw-r--r--src/backend/catalog/catalog.c4
-rw-r--r--src/include/catalog/toasting.h3
2 files changed, 6 insertions, 1 deletions
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 */