Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> Further digging shows some weirdness. This doesn't appear to be
> compiler-related. I've rolled back all the way to gcc 3.5. It is
> triggered by the following line in pg_regress.c, commenting out of which
> causes the problem to go away (although of course it causes the
> regression tests to fail):
> putenv(new_pgoptions);
Oh really ... are we using src/port/unsetenv.c on that platform?
I wonder if that little hack is incompatible with latest mingw
libraries ...
regards, tom lane