diff options
author | Jan Wieck <JanWieck@Yahoo.com> | 2000-07-05 19:51:03 +0000 |
---|---|---|
committer | Jan Wieck <JanWieck@Yahoo.com> | 2000-07-05 19:51:03 +0000 |
commit | 98fe6703607bf05c5bcab89933a978cc204b567c (patch) | |
tree | b8d4afeb7e2404f32d1b9c3a4acfbac6ab40ceef | |
parent | 8bef689043651ea08f5040d0632091a0e2120e79 (diff) | |
download | postgresql-98fe6703607bf05c5bcab89933a978cc204b567c.tar.gz postgresql-98fe6703607bf05c5bcab89933a978cc204b567c.zip |
Enable pg_rewrite to be toasted (unlimited size of views and rules).
Jan
-rw-r--r-- | src/bin/initdb/initdb.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/bin/initdb/initdb.sh b/src/bin/initdb/initdb.sh index d8e8751bf0d..ad12edaa9ff 100644 --- a/src/bin/initdb/initdb.sh +++ b/src/bin/initdb/initdb.sh @@ -26,7 +26,7 @@ # # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.99 2000/07/03 20:48:46 petere Exp $ +# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.100 2000/07/05 19:51:03 wieck Exp $ # #------------------------------------------------------------------------- @@ -534,6 +534,11 @@ if [ "$PwPrompt" ]; then fi +echo "Enabling unlimited storage for pg_rewrite" +echo "ALTER TABLE pg_rewrite CREATE TOAST TABLE" \ + | "$PGPATH"/postgres $PGSQL_OPT template1 > /dev/null || exit_nicely + + echo "Creating view pg_user." echo "CREATE VIEW pg_user AS \ SELECT \ |