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

Commit01c5ef9

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 parent4fca146 commit01c5ef9

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
@@ -29,11 +29,13 @@ standard_initdb() {
2929
../../test/regress/pg_regress --config-auth"$PGDATA"
3030
}
3131

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

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp