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 2eda8dfb52ed9962920282d8384da8bb4c22514d, but I forgot to do that. Per -hackers discussion on March 2011.
This commit is contained in:
parent
a5c1a1969d
commit
3433c6ba00
@ -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 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/* yyyymmddN */
|
/* yyyymmddN */
|
||||||
#define CATALOG_VERSION_NO 201202271
|
#define CATALOG_VERSION_NO 201203011
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user