Skip to content

Commit 98fe670

Browse files
Jan WieckJan Wieck
Jan Wieck
authored and
Jan Wieck
committed
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)