Dec 2021

1 commit
On Windows, close the client socket explicitly during backend shutdown.
2 Dec 2021Tom Lanemaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1REL_14_STABLE14.2REL_13_STABLE13.6+3 moreAlso in: BUG #16678: The ecpg connect/test5 test sometimes fails on Windows (not this thread)
LLM analysis, 100% suremodified before commitlight changesfrom patchset #12 of 2 reviewers saw the final version

The commit preserves the Windows-only closesocket(MyProcPort->sock) addition from #1 in src/backend/libpq/pqcomm.c; Tom Lane rewrote the surrounding comments to explain graceful shutdown and synchronous-close guarantees. The commit credits Lars Kanis and Alexander Lakhin as independent submitters, with comments by the committer.

  • Thomas Munrosaw the final versionLLM analysis, 90% sureThomas assessed the patch as addressing server-side resets while identifying the remaining client-side race that could discard buffered errors #11, and only comment changes followed before commitment.
  • Tom Lanesaw the final versioncommittercommitted the patch

Credits across 1 commit

Author
Lars KanisLLM1
Reviewer
Tom Lanecommitter1
Committer
Tom Lane1

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