Commit 5633e22e authored by Bruce Momjian's avatar Bruce Momjian

Update pg_dumpall for new psql format.

parent b7b6d4bf
......@@ -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 \" \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment