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

Andrew Dunstan <andrew@dunslane.net>

Commit: 3e5cf72f96681fecac88d892978c36c7a834ca02
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2019-09-09T13:03:41Z
Releases: 9.4.25
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.

Files

PathChange+/−
contrib/pg_upgrade/test.sh modified +5 −2