]> granicus.if.org Git - postgresql/commitdiff
Change 2>$1 to -o /dev/null instead...
authorMarc G. Fournier <scrappy@hub.org>
Sun, 22 Mar 1998 18:28:39 +0000 (18:28 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Sun, 22 Mar 1998 18:28:39 +0000 (18:28 +0000)
From: Andreas Klemm <andreas@klemm.gtn.com>

src/bin/initdb/initdb.sh

index e205dd0d0faa84308dde2815c36fce5296f601fe..7b9e78cdd4c722eb4547b3e79a7348a1c8c29634 100644 (file)
@@ -26,7 +26,7 @@
 #
 #
 # IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.38 1998/03/16 05:58:46 momjian Exp $
+#    $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.39 1998/03/22 18:28:39 scrappy Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -348,8 +348,7 @@ echo
 
 # If the COPY is first, the VACUUM generates an error, so we vacuum first
 echo "vacuuming template1"
-echo "vacuum" | postgres -F -Q -D$PGDATA template1 2>&1 > /dev/null |\
-       grep -v "^DEBUG:"
+echo "vacuum" | postgres -o /dev/null -F -Q -D$PGDATA template1 
 
 echo "COPY pg_shadow TO '$PGDATA/pg_pwd' USING DELIMITERS '\\t'" |\
        postgres -F -Q -D$PGDATA template1 2>&1 > /dev/null |\
@@ -390,6 +389,4 @@ echo "REVOKE ALL on pg_shadow FROM public" |\
 echo "loading pg_description"
 echo "copy pg_description from '$TEMPLATE_DESCR'" | postgres -F -Q -D$PGDATA template1 > /dev/null
 echo "copy pg_description from '$GLOBAL_DESCR'" | postgres -F -Q -D$PGDATA template1 > /dev/null
-echo "vacuum analyze" | postgres -F -Q -D$PGDATA template1 2>&1 > /dev/null |\
-       grep -v "^DEBUG:"
-
+echo "vacuum analyze" | postgres -o /dev/null -F -Q -D$PGDATA template1