mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Remove extra vacuum, from Peter.
This commit is contained in:
@ -26,7 +26,7 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# IDENTIFICATION
|
||||||
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.62 1999/11/21 04:16:15 tgl Exp $
|
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.63 1999/12/09 04:36:57 momjian Exp $
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -412,10 +412,6 @@ echo
|
|||||||
|
|
||||||
PGSQL_OPT="-o /dev/null -O -F -Q -D$PGDATA"
|
PGSQL_OPT="-o /dev/null -O -F -Q -D$PGDATA"
|
||||||
|
|
||||||
# If the COPY is first, the VACUUM generates an error, so we vacuum first
|
|
||||||
echo "Vacuuming template1"
|
|
||||||
echo "vacuum" | postgres $PGSQL_OPT template1 > /dev/null
|
|
||||||
|
|
||||||
# Create the initial pg_pwd (flat-file copy of pg_shadow)
|
# Create the initial pg_pwd (flat-file copy of pg_shadow)
|
||||||
echo "COPY pg_shadow TO '$PGDATA/pg_pwd' USING DELIMITERS '\\t'" | \
|
echo "COPY pg_shadow TO '$PGDATA/pg_pwd' USING DELIMITERS '\\t'" | \
|
||||||
postgres $PGSQL_OPT template1 > /dev/null
|
postgres $PGSQL_OPT template1 > /dev/null
|
||||||
|
Reference in New Issue
Block a user