diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-04-27 21:24:34 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-04-27 21:24:34 +0000 |
commit | c06f6a6bc2bce09df9b945ac29de152daec0dcf7 (patch) | |
tree | 5cdd87954051c99eda2d2cf86526f73be8e3eb18 /src/backend/commands/cluster.c | |
parent | 108871f4fcb24ed333c226f470f2fe30296b9b35 (diff) | |
download | postgresql-c06f6a6bc2bce09df9b945ac29de152daec0dcf7.tar.gz postgresql-c06f6a6bc2bce09df9b945ac29de152daec0dcf7.zip |
Support toasting of shared system relations, and provide toast tables for
pg_database, pg_shadow, pg_group, all of which now have potentially-long
fields. Along the way, get rid of SharedSystemRelationNames list: shared
rels are now identified in their include/pg_catalog/*.h files by a
BKI_SHARED_RELATION macro, while indexes and toast rels inherit sharedness
automatically from their parent table. Fix some bugs with failure to detoast
pg_group.grolist during ALTER GROUP.
Diffstat (limited to 'src/backend/commands/cluster.c')
-rw-r--r-- | src/backend/commands/cluster.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index 8883eddc49f..01a45b0625b 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -15,7 +15,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/commands/cluster.c,v 1.78 2002/04/15 05:22:03 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/commands/cluster.c,v 1.79 2002/04/27 21:24:34 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -152,6 +152,7 @@ copy_heap(Oid OIDOldHeap, const char *NewName) RelationGetNamespace(OldHeap), tupdesc, OldHeap->rd_rel->relkind, + OldHeap->rd_rel->relisshared, OldHeap->rd_rel->relhasoids, allowSystemTableMods); |