Nov 2023

2 commits
Use ResourceOwner to track WaitEventSets.
23 Nov 2023Heikki Linnakangasmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #42 of 2 reviewers saw the final version

Relative to #4, src/backend/storage/ipc/latch.c gains Alexander's convenience-wrapper comment and moves the Windows loop variable declaration into the for initializer as Thomas suggested #6 #5. The remaining implementation and tests match.

  • Alexander Lakhinsaw the final versiontrailerAlexander tested both implementations, confirmed that they eliminated leakage, and requested the wrapper comment included in the commit #6.
  • Thomas Munrosaw the final versiontrailerThomas approved the rationale and code and proposed the Windows declaration fix included in the commit #5.
Fix resource leak when a FDW's ForeignAsyncRequest function fails
23 Nov 2023Heikki LinnakangasREL_16_STABLE16.2REL_15_STABLE15.6REL_14_STABLE14.11Also in: BUG #17828: postgres_fdw leaks file descriptors on error and aborts aborted transaction in lack of fds (not this thread)
LLM analysis, 100% surelanded as postedfrom patchset #21 of 1 reviewer saw the final version

The committed diff exactly matches #2 after normalizing index metadata and hunk locations, including nodeAppend.c cleanup and both postgres_fdw test files. The only attachment in thread #71766 postdates the commit; that thread's verdict likewise attributes the committed patch to this thread.

  • Alexander Lakhinsaw the final versionLLM analysis, 100% sureAlexander explicitly confirmed before the commit that testing both the master and stable-branch patches eliminated WaitEventSet leakage #6.

Credits across 2 commits

Author
Heikki LinnakangasLLM2
Reviewer
Alexander Lakhin1
Thomas Munro1
Committer
Heikki Linnakangas2

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