mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-06 15:24:56 +08:00
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
2eda8dfb52
, 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)
|
||||
return true;
|
||||
/* These are their toast tables and toast indexes (see toasting.h) */
|
||||
if (relationId == PgDatabaseToastTable ||
|
||||
relationId == PgDatabaseToastIndex ||
|
||||
relationId == PgShdescriptionToastTable ||
|
||||
if (relationId == PgShdescriptionToastTable ||
|
||||
relationId == PgShdescriptionToastIndex ||
|
||||
relationId == PgDbRoleSettingToastTable ||
|
||||
relationId == PgDbRoleSettingToastIndex)
|
||||
|
@ -53,6 +53,6 @@
|
||||
*/
|
||||
|
||||
/* yyyymmddN */
|
||||
#define CATALOG_VERSION_NO 201202271
|
||||
#define CATALOG_VERSION_NO 201203011
|
||||
|
||||
#endif
|
||||
|
@ -50,9 +50,6 @@ DECLARE_TOAST(pg_statistic, 2840, 2841);
|
||||
DECLARE_TOAST(pg_trigger, 2336, 2337);
|
||||
|
||||
/* shared catalogs */
|
||||
DECLARE_TOAST(pg_database, 2844, 2845);
|
||||
#define PgDatabaseToastTable 2844
|
||||
#define PgDatabaseToastIndex 2845
|
||||
DECLARE_TOAST(pg_shdescription, 2846, 2847);
|
||||
#define PgShdescriptionToastTable 2846
|
||||
#define PgShdescriptionToastIndex 2847
|
||||
|
Loading…
Reference in New Issue
Block a user