Update "pg_regress --no-locale" for Darwin and Windows.
authorNoah Misch <noah@leadboat.com>
Fri, 16 Jan 2015 06:27:31 +0000 (01:27 -0500)
committerNoah Misch <noah@leadboat.com>
Fri, 16 Jan 2015 06:28:22 +0000 (01:28 -0500)
commit03f80d9e9afcfa485f2c583ba6c486cd93a5bda5
tree84b5fec699a08097222c4fbb2b78c31d588d4551
parent34668c8eca065d745bf1166a92c9efc588e7aee2
Update "pg_regress --no-locale" for Darwin and Windows.

Commit 894459e59ffa5c7fee297b246c17e1f72564db1d revealed this option to
be broken for NLS builds on Darwin, but "make -C contrib/unaccent check"
and the buildfarm client rely on it.  Fix that configuration by
redefining the option to imply LANG=C on Darwin.  In passing, use LANG=C
instead of LANG=en on Windows; since only postmaster startup uses that
value, testers are unlikely to notice the change.  Back-patch to 9.0,
like the predecessor commit.
src/test/regress/pg_regress.c