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

Commit91124a2

Browse files
committed
Fix problems with pg_upgrade found by Kardos, Dr. Andrea
1 parent52d39d5 commit91124a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/bin/pg_dump/pg_dumpall

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ do
5454
POSTGRES_USER="`echo\" \
5555
selectusename \
5656
from pg_shadow \
57-
whereusesysid =$DBUSERID;\"| \
57+
whereusename =$DBUSERID;\"| \
5858
psql -A -q -t template1`"
5959
echo"${BS}connect template1$POSTGRES_USER"
6060
61-
ifcreatedb -help|grep encoding>/dev/null
61+
ifpg_encoding$ENCODING>/dev/null 2>&1
6262
then
6363
echo"create database$DATABASE with encoding='`pg_encoding $ENCODING`';"
6464
else

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp