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

Commit8ae20e0

Browse files
committed
Fix hanging on recovering nodes
1 parentd6baf4c commit8ae20e0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎src/pgpro-upgrade/pgpro_upgrade

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ if [ -z "$PGDATA" ]; then
66
echo"PGDATA environment variable is not set. Stop."1>&2
77
exit 2
88
fi
9+
if [-e"$PGDATA/recovery.conf" ];then
10+
echo"recovery.conf exists in PGDATA. No upgrade script could be run."1>&2
11+
exit 0
12+
fi
913
PGBIN="`echo$0|sed's![^/\\]*$!!'`"
1014
if ["$1"="--check" ];then
1115
check=1

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp