Skip to content

Commit 6fafb4d

Browse files
committed
Prevent initdb from showing vacuum statistics.
1 parent 3a646df commit 6fafb4d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/bin/initdb/initdb.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#
2727
#
2828
# IDENTIFICATION
29-
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.21 1997/01/10 17:39:40 momjian Exp $
29+
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.22 1997/01/14 03:02:06 momjian Exp $
3030
#
3131
#-------------------------------------------------------------------------
3232

@@ -344,6 +344,6 @@ echo
344344

345345
if [ $debug -eq 0 ]; then
346346
echo "vacuuming template1"
347-
348-
echo "vacuum" | postgres -F -Q -D$PGDATA template1 > /dev/null
347+
echo "vacuum" | postgres -F -Q -D$PGDATA template1 2>&1 > /dev/null |\
348+
grep -v "^DEBUG"
349349
fi

0 commit comments

Comments
 (0)