pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Add fallback implementation for setenv() 2+ messages / 1 participants [nested] [flat]
* pgsql: Add fallback implementation for setenv() @ 2021-06-01 00:28 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 2+ messages in thread From: Michael Paquier @ 2021-06-01 00:28 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Add fallback implementation for setenv() This fixes the code compilation on Windows with MSVC and Kerberos, as a missing implementation of setenv() causes a compilation failure of the GSSAPI code. This was only reproducible when building the code with Kerberos, something that buildfarm animal hamerkop has fixed recently. This issue only happens on 12 and 13, as this code has been introduced in b0b39f7. HEAD is already able to compile properly thanks to 7ca37fb0, and this commit is a minimal cherry-pick of it. Thanks to Tom Lane for the discussion. Discussion: https://postgr.es/m/YLDtm5WGjPxm6ua4@paquier.xyz Backpatch-through: 12 Branch ------ REL_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/e2f21ff606dae2f7f7a9e323a88c99b464d2f787 Modified Files -------------- configure | 19 ++++++++++++++++- configure.in | 4 +++- src/include/pg_config.h.in | 3 +++ src/include/port.h | 4 ++++ src/include/port/win32_port.h | 2 ++ src/port/setenv.c | 48 +++++++++++++++++++++++++++++++++++++++++++ src/tools/msvc/Mkvcbuild.pm | 2 +- src/tools/msvc/Solution.pm | 1 + 8 files changed, 80 insertions(+), 3 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Add fallback implementation for setenv() @ 2021-06-01 00:28 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 2+ messages in thread From: Michael Paquier @ 2021-06-01 00:28 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Add fallback implementation for setenv() This fixes the code compilation on Windows with MSVC and Kerberos, as a missing implementation of setenv() causes a compilation failure of the GSSAPI code. This was only reproducible when building the code with Kerberos, something that buildfarm animal hamerkop has fixed recently. This issue only happens on 12 and 13, as this code has been introduced in b0b39f7. HEAD is already able to compile properly thanks to 7ca37fb0, and this commit is a minimal cherry-pick of it. Thanks to Tom Lane for the discussion. Discussion: https://postgr.es/m/YLDtm5WGjPxm6ua4@paquier.xyz Backpatch-through: 12 Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/02037af3ff36d7a9023251c2fa4dc4efaa67bbf2 Modified Files -------------- configure | 19 ++++++++++++++++- configure.in | 4 +++- src/include/pg_config.h.in | 3 +++ src/include/pg_config.h.win32 | 3 +++ src/include/port.h | 4 ++++ src/include/port/win32_port.h | 2 ++ src/port/setenv.c | 48 +++++++++++++++++++++++++++++++++++++++++++ src/tools/msvc/Mkvcbuild.pm | 2 +- 8 files changed, 82 insertions(+), 3 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2021-06-01 00:28 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2021-06-01 00:28 pgsql: Add fallback implementation for setenv() Michael Paquier <michael@paquier.xyz> 2021-06-01 00:28 pgsql: Add fallback implementation for setenv() Michael Paquier <michael@paquier.xyz>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox