Prevent msys2 conversion of "cmd /c" switch to a file path
authorAndrew Dunstan <andrew@dunslane.net>
Mon, 9 Sep 2019 12:56:33 +0000 (08:56 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Mon, 9 Sep 2019 13:04:07 +0000 (09:04 -0400)
commit73ff3a0abbbcb2c623731b88f2d1334bc67e5820
treeb6d5ea654eb348f1b1791479bf627e768626b343
parent27cc7cd2bc8a5e8efc8279bc5d2a8ae42fd8ad33
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