aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1998-03-22 18:28:39 +0000
committerMarc G. Fournier <scrappy@hub.org>1998-03-22 18:28:39 +0000
commit8dd692c8e38e7236a61493f491492ecb85f1adf9 (patch)
treeb8da55aac19caa37060463b525565f01359dee68
parent8d53465ed5fd175cfb09a1941ab0babebf2a33fb (diff)
downloadpostgresql-8dd692c8e38e7236a61493f491492ecb85f1adf9.tar.gz
postgresql-8dd692c8e38e7236a61493f491492ecb85f1adf9.zip
Change 2>$1 to -o /dev/null instead...
From: Andreas Klemm <andreas@klemm.gtn.com>
-rw-r--r--src/bin/initdb/initdb.sh9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/bin/initdb/initdb.sh b/src/bin/initdb/initdb.sh
index e205dd0d0fa..7b9e78cdd4c 100644
--- a/src/bin/initdb/initdb.sh
+++ b/src/bin/initdb/initdb.sh
@@ -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