Skip to content

Commit 5633e22

Browse files
committed
Update pg_dumpall for new psql format.
1 parent b7b6d4b commit 5633e22

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/bin/pg_dump/pg_dumpall

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ copy tmp_pg_shadow to stdout;
4747
drop table tmp_pg_shadow;
4848
END
4949
echo "${BS}."
50-
psql -l -A -q -t| tr '|' ' ' | grep -v '^template1 ' | \
50+
psql -l -A -q -t | grep '|' | tr '|' ' ' | sed -n '2,$p' | \
51+
grep -v '^template1 ' | \
5152
while read DATABASE DBUSERID ENCODING DATAPATH
5253
do
5354
POSTGRES_USER="`echo \" \

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy