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

Commitacb96eb

Browse files
committed
Treat MINGW and MSYS the same in pg_upgrade test script
On msys2, 'uname -s' reports a string starting MSYS instead on MINGWas happens on msys1. Treat these both the same way. This reverts608a710 in favor of a more general solution.Backpatch to all live branches.
1 parent71d84ef commitacb96eb

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

‎src/bin/pg_upgrade/test.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,13 @@ standard_initdb() {
3131
../../test/regress/pg_regress --config-auth"$PGDATA"
3232
}
3333

34-
# Establish how the server will listen for connections
35-
testhost=`uname -s`
34+
# What flavor of host are we on?
35+
# Treat MINGW* (msys1) and MSYS* (msys2) the same.
36+
testhost=`uname -s| sed s/^MSYS/MINGW/`
3637

38+
# Establish how the server will listen for connections
3739
case$testhostin
38-
MINGW*|MSYS*)
40+
MINGW*)
3941
LISTEN_ADDRESSES="localhost"
4042
PGHOST=localhost
4143
;;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp