pgsql: Prevent msys2 conversion of "cmd /c" switch to a file path

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Prevent msys2 conversion of "cmd /c" switch to a file path
Date: 2019-09-09 13:04:52
Message-ID: E1i7JLg-0000w4-Ah@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Prevent msys2 conversion of "cmd /c" switch to a file path

Modern versions of msys2 have changed the treatment of "cmd /c" so that
the runtime will try to convert the switch to a native file path. This
patch adds a setting to inhibit that behaviour.

Discussion: https://postgr.es/m/3227042f-cfcc-745a-57dd-fb8c471f8ddf@2ndQuadrant.com

Backpatch to all live branches.

Branch
------
REL9_4_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/3e5cf72f96681fecac88d892978c36c7a834ca02

Modified Files
--------------
contrib/pg_upgrade/test.sh | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2019-09-09 18:22:10 pgsql: Be more careful about port selection in src/test/ldap/.
Previous Message Andrew Dunstan 2019-09-09 12:50:11 pgsql: Always skip recovery SysV shared memory tests on Windows