Seems like a good idea for template1 to contain ANALYZE stats for the
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 5 Sep 2002 19:56:57 +0000 (19:56 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 5 Sep 2002 19:56:57 +0000 (19:56 +0000)
system tables.

src/bin/initdb/initdb.sh

index bcfd14c1f8761c76baee0d52ac62ac15706248f7..a3fad0d6834cb6f4ae099ce1b62c2442afab8323 100644 (file)
@@ -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