mirror of
https://github.com/postgres/postgres.git
synced 2025-07-08 11:42:09 +03:00
Update pg_dumpall for new psql format.
This commit is contained in:
@ -47,7 +47,8 @@ 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| tr '|' ' ' | grep -v '^template1 ' | \
|
psql -l -A -q -t | grep '|' | tr '|' ' ' | sed -n '2,$p' | \
|
||||||
|
grep -v '^template1 ' | \
|
||||||
while read DATABASE DBUSERID ENCODING DATAPATH
|
while read DATABASE DBUSERID ENCODING DATAPATH
|
||||||
do
|
do
|
||||||
POSTGRES_USER="`echo \" \
|
POSTGRES_USER="`echo \" \
|
||||||
|
Reference in New Issue
Block a user