Commit 3433c6ba authored by Alvaro Herrera's avatar Alvaro Herrera

Remove TOAST table from pg_database

The only toastable column now is datacl, but we don't really support
long ACLs anyway.  The TOAST table should have been removed when the
pg_db_role_setting catalog was introduced in commit
2eda8dfb, but I forgot to do that.

Per -hackers discussion on March 2011.
parent a5c1a196
...@@ -402,9 +402,7 @@ IsSharedRelation(Oid relationId) ...@@ -402,9 +402,7 @@ IsSharedRelation(Oid relationId)
relationId == DbRoleSettingDatidRolidIndexId) relationId == DbRoleSettingDatidRolidIndexId)
return true; return true;
/* These are their toast tables and toast indexes (see toasting.h) */ /* These are their toast tables and toast indexes (see toasting.h) */
if (relationId == PgDatabaseToastTable || if (relationId == PgShdescriptionToastTable ||
relationId == PgDatabaseToastIndex ||
relationId == PgShdescriptionToastTable ||
relationId == PgShdescriptionToastIndex || relationId == PgShdescriptionToastIndex ||
relationId == PgDbRoleSettingToastTable || relationId == PgDbRoleSettingToastTable ||
relationId == PgDbRoleSettingToastIndex) relationId == PgDbRoleSettingToastIndex)
......
...@@ -53,6 +53,6 @@ ...@@ -53,6 +53,6 @@
*/ */
/* yyyymmddN */ /* yyyymmddN */
#define CATALOG_VERSION_NO 201202271 #define CATALOG_VERSION_NO 201203011
#endif #endif
...@@ -50,9 +50,6 @@ DECLARE_TOAST(pg_statistic, 2840, 2841); ...@@ -50,9 +50,6 @@ DECLARE_TOAST(pg_statistic, 2840, 2841);
DECLARE_TOAST(pg_trigger, 2336, 2337); DECLARE_TOAST(pg_trigger, 2336, 2337);
/* shared catalogs */ /* shared catalogs */
DECLARE_TOAST(pg_database, 2844, 2845);
#define PgDatabaseToastTable 2844
#define PgDatabaseToastIndex 2845
DECLARE_TOAST(pg_shdescription, 2846, 2847); DECLARE_TOAST(pg_shdescription, 2846, 2847);
#define PgShdescriptionToastTable 2846 #define PgShdescriptionToastTable 2846
#define PgShdescriptionToastIndex 2847 #define PgShdescriptionToastIndex 2847
......
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