Apr 2024

4 commits
Remove reachable call to pg_unreachable().
4 Apr 2024Robert Haasmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surelanded as postedfrom patchset #412 of 2 reviewers saw the final version

The complete diff exactly matches the first attached patch in #41: two deleted lines remove the reachable pg_unreachable() after wait_until_connected()'s loop in src/bin/psql/command.c.

  • Tristan Partinsaw the final versionLLM analysis, 96% sureApproved the fix in #34 and #39, before redundant break-to-return edits were dropped, and is credited in 12b964d781.
  • Robert Haassaw the final versioncommittercommitted the patch
Fix old, misleading comment for PGRES_POLLING_ACTIVE.
4 Apr 2024Robert Haasmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surelanded as postedfrom patchset #412 of 3 reviewers saw the final version

The complete diff exactly matches the second attached patch in #41, changing only the PGRES_POLLING_ACTIVE compatibility comment in src/interfaces/libpq/libpq-fe.h.

  • Tristan Partinsaw the final versionLLM analysis, 100% sureApproved the comment change and opposed weakening switch diagnostics in #39, and is explicitly credited in e57fe3824e.
  • Tom Lanesaw an earlier versionLLM analysis, 97% sureIdentified compatibility objections to deleting the enum and challenged its misleading comment in #35, after which the deletion proposal became a comment-only change.
  • Robert Haassaw the final versioncommittercommitted the patch
Allow SIGINT to cancel psql database reconnections.
2 Apr 2024Robert Haasmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surelanded as postedfrom patchset #302 of 5 reviewers saw the final version

The complete src/bin/psql/command.c diff exactly matches the second attached patch in #30, including wait_until_connected(), the one-second polling deadline, and both pg_unreachable() calls.

  • Gurjeet Singhsaw an earlier versionLLM analysis, 100% sureQuestioned silently ignoring sigaction() failure in #2, before the signal-handler approach was replaced, and is credited in cafe105655.
  • Tom Lanesaw an earlier versionLLM analysis, 98% sureRejected terminating psql on Ctrl-C and proposed the adopted PQconnectPoll() loop in #6, with substantial polling and API revisions following.
  • Heikki Linnakangassaw an earlier versionLLM analysis, 100% sureFound the busy loop and cancellation-state issues in #10 and the missed-signal race in #14, before the polling implementation was simplified.
  • Jelte Fennema-Niosaw the final versionLLM analysis, 95% sureExplicitly credited in cafe105655, although his visible pre-commit feedback in #22 and #24 concerns the companion libpq API patch.
  • Robert Haassaw the final versioncommittercommitted the patch
Expose PQsocketPoll via libpq
2 Apr 2024Robert Haasmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surelanded as postedfrom patchset #303 of 4 reviewers saw the final version

The complete diff exactly matches the first attached patch in #30, including PQsocketPoll's export, declaration, implementation rename, and doc/src/sgml/libpq.sgml documentation.

  • Gurjeet Singhsaw the final versionLLM analysis, 95% sureExplicitly credited in f5e4dedfa8, although his visible review in #2 addresses the original psql signal-handler patch rather than this API.
  • Heikki Linnakangassaw an earlier versionLLM analysis, 90% sureReviewed the copied socket-polling helper's signal interaction in #14 before it was replaced by a public libpq API, and is credited in f5e4dedfa8.
  • Jelte Fennema-Niosaw the final versionLLM analysis, 99% sureRequested proper export placement and standalone argument and return-value documentation in #22 and #24, followed by documentation and packaging changes without API logic changes.
  • Robert Haassaw the final versioncommittercommitted the patch

Credits across 4 commits

Author
Jelte Fennema-NioLLM2
Tristan PartinLLM2
Reviewer
Robert Haascommitter4
Committer
Robert Haas4

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