Aug 2025

3 commits
Revert unnecessary check for NULL
22 Aug 2025Heikki Linnakangasmaster19beta1REL_19_STABLE19beta1REL_18_STABLE18rc1reverts 1 commit here
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

Removes the unnecessary svname NULL guard in src/interfaces/libpq/fe-protocol3.c exactly as requested in #46. The commit explains that Heikki forgot to remove it before pushing f6f0542266; no attached patch implements this cleanup.

  • Jelte Fennema-Niosaw the final versiontrailerIn #46, Jelte reviewed #45 and identified the redundant NULL guard that this commit removes.
libpq: Be strict about cancel key lengths
22 Aug 2025Heikki Linnakangasmaster19beta1REL_19_STABLE19beta1REL_18_STABLE18rc1
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #451 of 2 reviewers saw the final version

Takes only the third patch from #45, retaining its protocol documentation and all three getBackendKeyData() length checks while rewording their error messages. That attachment explicitly credits Jelte as author despite being sent by Heikki.

  • Jacob Championsaw an earlier versiontrailerJacob found the oversized-key hang and questioned zero-length keys in #23, then challenged the failure path in #29, before subsequent revisions changed connection cleanup and introduced handleFatalError().
  • Heikki Linnakangassaw the final versioncommittercommitted the patch
libpq: Handle OOM by disconnecting instead of hanging or skipping msgs
22 Aug 2025Heikki Linnakangasmaster19beta1REL_19_STABLE19beta1REL_18_STABLE18rc1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #451 of 2 reviewers saw the final version

Combines the first two patches of #45, leaving cancellation-key length validation for a separate commit. The resulting blobs for src/interfaces/libpq/fe-exec.c, fe-protocol3.c, and libpq-int.h exactly match those patches' final blobs; the commit message is rewritten for the combined change.

  • Jelte Fennema-Niosaw the final versiontrailerJelte said the code looked good in #46 and suggested removing a redundant NULL check and adjusting a comment.
  • Jacob Championsaw an earlier versiontrailerJacob identified the getBackendKeyData() hang in #23 and questioned its proposed failure handling in #29, before Heikki expanded the fix to other message types.

Aug 2025

1 commit
libpq: Complain about missing BackendKeyData later with PGgetCancel()
1 Aug 2025Heikki Linnakangasmaster19beta1REL_19_STABLE19beta1REL_18_STABLE18beta3
LLM analysis, 100% surepart of a posted patchsetmoderate changesfrom patchset #301 of 2 reviewers saw the final version

Commits the PQgetCancel()/PQcancel() portion of #30, omitting its PQcancelCreate()/PQcancelStart() changes and the separate length-validation patch. Heikki also expanded implementation comments and shortened protocol documentation, explicitly describing the selection in #34.

  • Jacob Championsaw an earlier versiontrailerJacob verified that #22 restored psycopg2 connections and criticized its documentation in #23, before the final patch dropped the modern cancellation API changes and narrowed the documentation.
  • Heikki Linnakangassaw the final versioncommittercommitted the patch

Credits across 4 commits

Author
Jelte Fennema-Nio2
Reviewer
Heikki Linnakangascommitter3
Jacob Champion3
Jelte Fennema-Nio2
Co author
Jelte Fennema-Nio1
Committer
Heikki Linnakangas4