Re: be-secure-gssapi.c and auth.c with setenv() not compatible on Windows

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-06-02T03:26:31Z
Lists: pgsql-hackers
On Tue, Jun 01, 2021 at 10:14:49AM +0900, Michael Paquier wrote:
> Okay, applied this stuff to 12 and 13 to take care of the build
> failures with hamerkop.  The ECPG tests should also turn back to green
> there.

hamerkop has reported back, and things are now good on those
branches.  Now for the remaining issue of HEAD..
--
Michael

Commits

  1. Add fallback implementation for setenv()

  2. Use setenv() in preference to putenv().