mirror of
https://github.com/postgres/postgres.git
synced 2025-05-03 22:24:49 +03:00
Enable pg_rewrite to be toasted (unlimited size of views and rules).
Jan
This commit is contained in:
parent
8bef689043
commit
98fe670360
@ -26,7 +26,7 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# 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
|
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 "Creating view pg_user."
|
||||||
echo "CREATE VIEW pg_user AS \
|
echo "CREATE VIEW pg_user AS \
|
||||||
SELECT \
|
SELECT \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user