Update pg_dumpall for new psql format.

This commit is contained in:
Bruce Momjian 2000-01-06 21:16:18 +00:00
parent b7b6d4bf53
commit 5633e22e2c
1 changed files with 2 additions and 1 deletions

View File

@ -47,7 +47,8 @@ copy tmp_pg_shadow to stdout;
drop table tmp_pg_shadow;
END
echo "${BS}."
psql -l -A -q -t| tr '|' ' ' | grep -v '^template1 ' | \
psql -l -A -q -t | grep '|' | tr '|' ' ' | sed -n '2,$p' | \
grep -v '^template1 ' | \
while read DATABASE DBUSERID ENCODING DATAPATH
do
POSTGRES_USER="`echo \" \