model-writtenrun 7419 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Michael Paquier reported that newly restored Windows GSSAPI build coverage exposed missing setenv() support in PostgreSQL 12 and 13, initially preferring to replace the affected calls with putenv() to avoid adding a file to stable branches #1.
- Tom Lane favored keeping branches alike but limiting the backport to pgwin32_setenv(), so any defects would affect only Windows code that had never worked #2; after Michael outlined a broader fallback backport #3, Tom reiterated that other platforms did not appear to need it #4.
- Michael posted a patch adding src/port/setenv.c and the necessary configuration and Windows integration, reporting that his environment compiled successfully #5; Tom's discussion preceded the patch and provides no qualifying review of the posted code.
- Michael committed the patch with the unconditional src/port/Makefile object addition omitted as e2f21ff606, then announced that the fix had been applied to PostgreSQL 12 and 13 #6.
- Michael subsequently confirmed that hamerkop builds were healthy on both stable branches, closing this fix while mentioning a separate remaining HEAD issue without describing it further #7.