mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-30 19:00:29 +08:00
Update pg_dumpall for new psql format.
This commit is contained in:
parent
b7b6d4bf53
commit
5633e22e2c
@ -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 New Issue
Block a user