Commit 2317e714 authored by Bruce Momjian's avatar Bruce Momjian

Update pg_dumpall.

parent 65e00518
...@@ -47,7 +47,7 @@ copy tmp_pg_shadow to stdout; ...@@ -47,7 +47,7 @@ copy tmp_pg_shadow to stdout;
drop table tmp_pg_shadow; drop table tmp_pg_shadow;
END END
echo "${BS}." echo "${BS}."
psql -l -A -q -t | grep '|' | tr '|' ' ' | sed -n '2,$p' | \ psql -l -A -q -t | grep '|' | tr '|' ' ' | \
grep -v '^template1 ' | \ grep -v '^template1 ' | \
while read DATABASE DBUSERID ENCODING DATAPATH while read DATABASE DBUSERID ENCODING DATAPATH
do do
......
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