mirror of
https://github.com/postgres/postgres.git
synced 2026-04-21 22:28:15 -04:00
Update pg_dumpall for new psql format.
This commit is contained in:
parent
b7b6d4bf53
commit
5633e22e2c
1 changed files with 2 additions and 1 deletions
|
|
@ -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 \" \
|
||||
|
|
|
|||
Loading…
Reference in a new issue