Feb 2022

2 commits
Add WL_SOCKET_CLOSED for socket shutdown events.
14 Feb 2022Thomas Munromaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #532 of 2 reviewers saw the final version

Exactly matches the first patch of #53, with an identical stable patch ID: latch.c and latch.h gain WL_SOCKET_CLOSED and WaitEventSetCanReportClosed(). The client-connection integration is the separately committed second patch.

  • Zhihong Yusaw the final versiontrailerReviewed the assertion and POLLRDHUP mask handling in #39 and accepted the existing expression in #41; this infrastructure remained unchanged through the final submission.
  • Maksim Milyutinsaw the final versiontrailerTested client killing, simulated network loss, and asynchronous disconnects on Linux and FreeBSD in #42, covering the unchanged socket-event infrastructure.
Use WL_SOCKET_CLOSED for client_connection_check_interval.
14 Feb 2022Thomas Munromaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #530 of 3 reviewers saw the final version

Exactly matches the second patch of the two-patch series #53, including pq_check_connection()'s reset-and-retry loop, GUC capability checking, and documentation; its stable patch ID also matches. The WL_SOCKET_CLOSED infrastructure lands separately.

  • Zhihong Yusaw an earlier versiontrailerReviewed the series' supporting socket-event checks in #39 and accepted the existing expression in #41, before the integration's latch handling was reworked.
  • Maksim Milyutinsaw an earlier versiontrailerReported successful Linux and FreeBSD disconnection tests and questioned the event-array constant and socket-filter side effects in #42, before subsequent latch-handling changes.
  • Andres Freundsaw an earlier versiontrailerChallenged latch suppression and extra syscalls in #44 and #48, then explained safe latch resetting in #52, prompting the final local polling-loop rewrite.

Apr 2021

1 commit
Detect POLLHUP/POLLRDHUP while running queries.
2 Apr 2021Thomas Munromaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #332 of 8 reviewers saw the final version

Matches #33 across all eleven changed paths except a shortened pq_check_connection() comment in src/backend/libpq/pqcomm.c and commit-message wording. Explicit Author trailers credit Sergey Cherkashin and sender/co-author Thomas Munro.

  • Thomas Munrosaw the final versiontrailerTested and reviewed the early patch in #5 and #12, then co-authored and committed the final version announced in #36.
  • Tatsuo Ishiisaw an earlier versiontrailerIdentified inconsistent GUC documentation and defaults and measured roughly five percent pgbench degradation in #13, before timer and connection-detection rework.
  • Konstantin Knizhniksaw an earlier versiontrailerInvestigated timer-related overhead and suggested polling for hangup events in #18, before the substantial later implementation changes.
  • Zhihong Yusaw an earlier versiontrailerRequested consistent interval checks in #21 and corrected documentation in #25, before protocol peeking was replaced with shutdown-event polling.
  • Andres Freundsaw an earlier versiontrailerSuggested POLLRDHUP during the discussion reported in #26 and raised pipelining and portability concerns in #27, before platform gating and cleanup.
  • Maksim Milyutinsaw an earlier versiontrailerSupplied documentation and include cleanup while flagging obsolete receive-buffer code, missing tests, portability, and benchmarking in #28, before platform-gating changes.
  • Tsunakawa, Takayuki/綱川 貴之saw the final versiontrailerRequested socket-error reporting and include guards in #31, then resolved the walsender concern and declared the revised patch committable in #35.
  • Tom Lanesaw an earlier versiontrailerIdentified portability, unread-data, timeout, and default-enablement problems in #2 and explained timer overhead in #16, well before the final design.

Credits across 3 commits

Author
Thomas Munro2 LLM3
Sergey Cherkashin1
Reviewer
Maksim Milyutin3
Zhihong Yu3
Andres Freund2
Konstantin Knizhnik1
Tatsuo Ishii1
Thomas Munro1
Tom Lane1
Tsunakawa, Takayuki1
Committer
Thomas Munro3

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