Skip to content

Commit 98fe670

Browse files
Jan WieckJan Wieck
authored andcommitted
Enable pg_rewrite to be toasted (unlimited size of views and rules).
Jan
1 parent 8bef689 commit 98fe670

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/bin/initdb/initdb.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#
2727
#
2828
# IDENTIFICATION
29-
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.99 2000/07/03 20:48:46 petere Exp $
29+
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.100 2000/07/05 19:51:03 wieck Exp $
3030
#
3131
#-------------------------------------------------------------------------
3232

@@ -534,6 +534,11 @@ if [ "$PwPrompt" ]; then
534534
fi
535535

536536

537+
echo "Enabling unlimited storage for pg_rewrite"
538+
echo "ALTER TABLE pg_rewrite CREATE TOAST TABLE" \
539+
| "$PGPATH"/postgres $PGSQL_OPT template1 > /dev/null || exit_nicely
540+
541+
537542
echo "Creating view pg_user."
538543
echo "CREATE VIEW pg_user AS \
539544
SELECT \

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy