Nov 2025

1 commit
Backpatch: Fix warnings about declaration of environ on MinGW
4 Nov 2025Andres FreundREL_17_STABLE17.7REL_16_STABLE16.11REL_15_STABLE15.15REL_14_STABLE14.20REL_13_STABLE13.23
LLM analysis, 99% suremodified before commitmoderate changesfrom patchset #51 of 2 reviewers saw the final version

This backpatch carries the environ patch from #5 with the same revised guards as 7bc9a8bdd2, adapted to older source context. Compared with the attachment, all three guards change from #ifndef WIN32 to #if !defined(WIN32) || defined(_MSC_VER).

  • Tom Lanesaw an earlier versionLLM analysis, 99% sureTom questioned suppressing environ declarations for every Windows toolchain in #6, prompting the narrower guards subsequently backpatched.
  • Andres Freundsaw the final versioncommittercommitted the patch

Dec 2024

2 commits
Fix warnings about declaration of environ on MinGW.
14 Dec 2024Thomas Munromaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #50 of 1 reviewer saw the final version

The second patch in #5 supplies all three environ declaration guards in postmaster.c, ps_status.c and regress.c. The commit narrows each guard to preserve declarations under _MSC_VER and removes an extra blank line, implementing the concern in #6.

  • Tom Lanesaw an earlier versiontrailerTom requested a tighter platform condition in #6, and the commit explicitly credits his review of the earlier version.
Fix printf format string warning on MinGW.
5 Dec 2024Thomas Munromaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1REL_17_STABLE17.8REL_16_STABLE16.12REL_15_STABLE15.16REL_14_STABLE14.21
LLM analysis, 100% surelanded as postedfrom patchset #51 of 1 reviewer saw the final version

The commit has the same stable patch ID as the first patch in #5, restoring %lld in src/interfaces/ecpg/test/sql/sqlda.pgc and updating both generated expectation files.

  • Tom Lanesaw the final versiontrailerTom endorsed the format-string reversal in #6, and that patch landed unchanged.

Oct 2019

1 commit
Fix compiler warnings in ecpg tests
29 Oct 2019Peter Eisentrautmaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 100% surelanded as postedfrom patchset #11 of 1 reviewer saw the final version

The commit and #1 have identical stable patch IDs across src/interfaces/ecpg/test/sql/sqlda.pgc and its two generated expectation files; Peter confirmed committing it in #3.

  • Michael Meskessaw the final versiontrailerMichael approved the conditional-format approach in #2, judging broader portability work unnecessary for a single test.

Credits across 4 commits

Author
Thomas Munro2 LLM3
Peter EisentrautLLM1
Reviewer
Tom Lane2
Andres Freundcommitter1
Michael Meskes1
Reported by
Hayato Kuroda (Fujitsu)1
Committer
Thomas Munro2
Andres Freund1
Peter Eisentraut1

N LLM means N of the credits come from LLM analysis, not from commit trailers.