diff options
author | Tom Lane | 2002-09-05 19:56:57 +0000 |
---|---|---|
committer | Tom Lane | 2002-09-05 19:56:57 +0000 |
commit | 5b69f695acb4351864e4e3cc0f42a95406d505ce (patch) | |
tree | 0be85a3742abb2b676c8198b1725508beeb53def | |
parent | 012288d565fb59e7cda1695083d0ce1ff8242fbd (diff) |
Seems like a good idea for template1 to contain ANALYZE stats for the
system tables.
-rw-r--r-- | src/bin/initdb/initdb.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/initdb/initdb.sh b/src/bin/initdb/initdb.sh index bcfd14c1f87..a3fad0d6834 100644 --- a/src/bin/initdb/initdb.sh +++ b/src/bin/initdb/initdb.sh @@ -27,7 +27,7 @@ # Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group # Portions Copyright (c) 1994, Regents of the University of California # -# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.172 2002/09/03 22:17:35 tgl Exp $ +# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.173 2002/09/05 19:56:57 tgl Exp $ # #------------------------------------------------------------------------- @@ -1042,6 +1042,7 @@ echo "ok" $ECHO_N "vacuuming database template1... "$ECHO_C "$PGPATH"/postgres $PGSQL_OPT template1 >/dev/null <<EOF +ANALYZE; VACUUM FULL FREEZE; EOF if [ "$?" -ne 0 ]; then |