Jul 2026

4 commits
libpq: Make error checks in the new buffer draining code more robust
9 Jul 2026Heikki LinnakangasmasterunreleasedREL_19_STABLE19beta2REL_18_STABLE18.6REL_17_STABLE17.11REL_16_STABLE16.15REL_15_STABLE15.19REL_14_STABLE14.24
LLM analysis, 100% surelanded as postedfrom patchset #320 of 1 reviewer saw the final version

The commit diff exactly matches #32 in src/interfaces/libpq/fe-misc.c and src/interfaces/libpq/fe-secure.c, including the negative-read check, signed diagnostic format, and clarified contract.

  • Peter Eisentrautsaw an earlier versionLLM analysis, 94% sureIn #31, Peter identified the unsafe buffer-end update and unsigned diagnostic in the landed #29, prompting the local error-handling changes in #32, with no subsequent review of that attachment shown.
ssl: Include limits.h to get INT_MAX when using LibreSSL
9 Jul 2026Heikki LinnakangasmasterunreleasedREL_19_STABLE19beta2REL_18_STABLE18.6REL_17_STABLE17.11REL_16_STABLE16.15REL_15_STABLE15.19REL_14_STABLE14.24
LLM analysis, 100% surelanded as postedfrom patchset #331 of 1 reviewer saw the final version

The commit exactly matches the one-line limits.h inclusion in src/interfaces/libpq/fe-secure-openssl.c attached by Daniel Gustafsson in #33.

  • Heikki Linnakangassaw the final versioncommittercommitted the patch
libpq: Drain all pending bytes from SSL/GSS during pqReadData()
7 Jul 2026Heikki LinnakangasmasterunreleasedREL_19_STABLE19beta2REL_18_STABLE18.6REL_17_STABLE17.11REL_16_STABLE16.15REL_15_STABLE15.19REL_14_STABLE14.24
LLM analysis, 100% surelanded as postedfrom patchset #292 of 3 reviewers saw the final version

The commit exactly matches the second patch in #29, introducing pqDrainPending() and wrapping pqReadData() in src/interfaces/libpq/fe-misc.c. Its Author trailer credits Jacob Champion, who submitted the originating implementation in #19, although Heikki sent the final revision.

  • Mark Dilgersaw an earlier versiontrailerMark identified the missing conn->inEnd update in #26 while reviewing #25, after which #27 changed the draining logic to preserve the newly read bytes.
  • solai vsaw the final versiontrailerIn #28, solai reported successful repeated async and large SSL COPY tests of #27, followed only by comments, commit-message changes, and repartitioning in #29.
  • Heikki Linnakangassaw the final versioncommittercommitted the patch
libpq: Extend "read pending" check from SSL to GSS
7 Jul 2026Heikki LinnakangasmasterunreleasedREL_19_STABLE19beta2REL_18_STABLE18.6REL_17_STABLE17.11REL_16_STABLE16.15REL_15_STABLE15.19REL_14_STABLE14.24
LLM analysis, 100% surelanded as postedfrom patchset #292 of 2 reviewers saw the final version

The commit exactly matches the first patch in #29, extending pqSocketCheck() to GSS and introducing pending-byte-count APIs across the secure transports. Its Author trailer credits Jacob Champion, whose initial two-patch implementation appears in #19.

  • solai vsaw the final versionLLM analysis, 90% sureIn #28, solai reported building and testing the complete #27 series with SSL, covering the shared pending-byte API later repartitioned into #29, although no GSS-specific testing was reported.
  • Heikki Linnakangassaw the final versioncommittercommitted the patch

Credits across 4 commits

Author
Jacob Champion2
Daniel Gustafsson1
Heikki LinnakangasLLM1
Reviewer
Heikki Linnakangascommitter3
Mark Dilger1
solai v1
Reported by
Lars Kanis1
Peter Eisentraut1
Committer
Heikki Linnakangas4

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