Prevent msys2 conversion of "cmd /c" switch to a file path
authorAndrew Dunstan <[email protected]>
Mon, 9 Sep 2019 12:56:33 +0000 (08:56 -0400)
committerAndrew Dunstan <[email protected]>
Mon, 9 Sep 2019 13:03:32 +0000 (09:03 -0400)
commitdecff80ec8bc4487d16f401ed3c41b735b9544e1
treeb891e6e9771dac271ecb4371d55eed1c210d0ca1
parent87ee1587c94d04e8c91d9346cd632369bede586c
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.
src/bin/pg_upgrade/test.sh