Oct 2020

2 commits
Handle EACCES errors from kevent() better.
15 Oct 2020Thomas Munromaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1REL_13_STABLE13.1
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

The commit adds EACCES alongside ESRCH in WaitEventAdjustKqueue(), implementing Tom Lane's recommendation in #10 and Thomas Munro's commitment in #11. This change is absent from the attached patchset #5, and Munro confirmed its completion in #12.

  • Tom Lanesaw the final versionLLM analysis, 98% sureThe commit explicitly credits Tom Lane's code review, which identified the EACCES handling issue in #10, in addition to its Reported-by trailer 70516a178a.
Make WL_POSTMASTER_DEATH level-triggered on kqueue builds.
14 Oct 2020Thomas Munromaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1REL_13_STABLE13.1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #51 of 1 reviewer saw the final version

Both code hunks in src/backend/storage/ipc/latch.c match #5 except for a minor comment rewording; the commit message also corrects WaitEventWait() to WaitEventSetWait(). The assignment preserving postmaster-death state is unchanged.

  • Tom Lanesaw the final versionLLM analysis, 100% sureTom Lane tested #5 before the commit and confirmed that the kqueue path behaved like the EPOLL and POLL paths in #6.

Credits across 2 commits

Author
Thomas MunroLLM1
Reported by
Tom Lane2
Committer
Thomas Munro2

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