diff options
| author | Tom Lane | 2002-04-27 21:24:34 +0000 |
|---|---|---|
| committer | Tom Lane | 2002-04-27 21:24:34 +0000 |
| commit | c06f6a6bc2bce09df9b945ac29de152daec0dcf7 (patch) | |
| tree | 5cdd87954051c99eda2d2cf86526f73be8e3eb18 /src/bin | |
| parent | 108871f4fcb24ed333c226f470f2fe30296b9b35 (diff) | |
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/bin')
| -rw-r--r-- | src/bin/initdb/initdb.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bin/initdb/initdb.sh b/src/bin/initdb/initdb.sh index 195e4f8a83c..9a6b78217b7 100644 --- a/src/bin/initdb/initdb.sh +++ b/src/bin/initdb/initdb.sh @@ -27,7 +27,7 @@ # Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group # Portions Copyright (c) 1994, Regents of the University of California # -# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.151 2002/04/21 00:26:43 tgl Exp $ +# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.152 2002/04/27 21:24:34 tgl Exp $ # #------------------------------------------------------------------------- @@ -658,10 +658,13 @@ $ECHO_N "enabling unlimited row size for system tables... "$ECHO_C "$PGPATH"/postgres $PGSQL_OPT template1 >/dev/null <<EOF ALTER TABLE pg_attrdef CREATE TOAST TABLE; +ALTER TABLE pg_database CREATE TOAST TABLE; ALTER TABLE pg_description CREATE TOAST TABLE; +ALTER TABLE pg_group CREATE TOAST TABLE; ALTER TABLE pg_proc CREATE TOAST TABLE; ALTER TABLE pg_relcheck CREATE TOAST TABLE; ALTER TABLE pg_rewrite CREATE TOAST TABLE; +ALTER TABLE pg_shadow CREATE TOAST TABLE; ALTER TABLE pg_statistic CREATE TOAST TABLE; EOF if [ "$?" -ne 0 ]; then |
