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

Andrew Dunstan <andrew@dunslane.net>

Commit: decff80ec8bc4487d16f401ed3c41b735b9544e1
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2019-09-09T13:03:32Z
Releases: 9.5.20
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+/−
src/bin/pg_upgrade/test.sh modified +5 −2