Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit63fbdd3

Browse files
committed
Portability fix for pg_dumpall.
1 parent11ac1bf commit63fbdd3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎src/bin/pg_dump/pg_dumpall

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ fi
1818
#
1919
# get the postgres user id
2020
#
21-
POSTGRES_SUPER_USER_ID="`psql -A -q -t template1<<END
22-
select datdba
23-
from pg_database
24-
where datname = 'template1';
25-
END`"
21+
POSTGRES_SUPER_USER_ID="`echo\" \
22+
selectdatdba \
23+
from pg_database \
24+
where datname ='template1';\"| \
25+
psql -A -q -t template1`"
2626
echo"${BS}connect template1"
2727
#
2828
# delete all users in case they run this twice

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp