Fix thinko in my last pg_dumpall change
This commit is contained in:
parent
5c603943ef
commit
1c2f735aa7
@ -6,7 +6,7 @@
|
|||||||
# and "pg_group" tables, which belong to the whole installation rather
|
# and "pg_group" tables, which belong to the whole installation rather
|
||||||
# than any one individual database.
|
# than any one individual database.
|
||||||
#
|
#
|
||||||
# $Header: /cvsroot/pgsql/src/bin/pg_dump/Attic/pg_dumpall.sh,v 1.2 2000/07/04 14:25:28 momjian Exp $
|
# $Header: /cvsroot/pgsql/src/bin/pg_dump/Attic/pg_dumpall.sh,v 1.3 2000/07/04 16:29:59 petere Exp $
|
||||||
|
|
||||||
CMDNAME=`basename $0`
|
CMDNAME=`basename $0`
|
||||||
|
|
||||||
@ -201,7 +201,7 @@ while read DATABASE DBOWNER ENCODING ; do
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "${BS}connect $DATABASE $DBOWNER"
|
echo "${BS}connect $DATABASE $DBOWNER"
|
||||||
$PGDUMP -d "$DATABASE"
|
$PGDUMP "$DATABASE"
|
||||||
if [ "$?" -ne 0 ] ; then
|
if [ "$?" -ne 0 ] ; then
|
||||||
echo "pg_dump failed on $DATABASE, exiting" 1>&2
|
echo "pg_dump failed on $DATABASE, exiting" 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user