Skip to content

Commit 5b69f69

Browse files
committed
Seems like a good idea for template1 to contain ANALYZE stats for the
system tables.
1 parent 012288d commit 5b69f69

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/bin/initdb/initdb.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
# Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
2828
# Portions Copyright (c) 1994, Regents of the University of California
2929
#
30-
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.172 2002/09/03 22:17:35 tgl Exp $
30+
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.173 2002/09/05 19:56:57 tgl Exp $
3131
#
3232
#-------------------------------------------------------------------------
3333

@@ -1042,6 +1042,7 @@ echo "ok"
10421042
$ECHO_N "vacuuming database template1... "$ECHO_C
10431043

10441044
"$PGPATH"/postgres $PGSQL_OPT template1 >/dev/null <<EOF
1045+
ANALYZE;
10451046
VACUUM FULL FREEZE;
10461047
EOF
10471048
if [ "$?" -ne 0 ]; then

0 commit comments

Comments
 (0)