May 2026

3 commits
Fix procLatch ownership race in ProcKill()
27 May 2026Michael Paquiermaster19beta1REL_19_STABLE19beta1REL_18_STABLE18.6REL_17_STABLE17.11REL_16_STABLE16.15REL_15_STABLE15.19REL_14_STABLE14.24
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #112 of 2 reviewers saw the final version

Takes the latch-ownership component of #11: src/backend/storage/lmgr/proc.c moves SwitchBackToLocalLatch() and DisownLatch() before lock-group teardown while retaining the later wait-event reset. Executable changes match that component; the committer rewrote comments and the commit message, as reported in #12.

  • Andrey Borodinsaw the final versiontrailerConfirmed the race and reported a passing test in #3, then examined the early-disown invariant in #5; subsequent splitting and comment edits preserved the committed logic.
  • Michael Paquiersaw the final versiontrailerReviewed the latch ordering and requested a separate fix in #8, then verified, edited, committed, and backpatched the final component as reported in #12.
Fix race conditions in ProcKill()'s lock-group freelist handling
27 May 2026Michael Paquiermaster19beta1REL_19_STABLE19beta1REL_18_STABLE18.6REL_17_STABLE17.11REL_16_STABLE16.15REL_15_STABLE15.19REL_14_STABLE14.24
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #112 of 2 reviewers saw the final version

Takes the freelist component of #11, preserving push_leader/push_self decisions under leader_lwlock, clearing the last follower's lockGroupLeader, and consolidating pushes under freeProcsLock in src/backend/storage/lmgr/proc.c. Differences within that component are comment and commit-message edits; the test and latch fix are separate.

  • Andrey Borodinsaw the final versiontrailerTested the combined fix in #3 and examined its locked decisions, deferred pushes, and leader self-push suppression in #5, which survived the later split.
  • Michael Paquiersaw the final versiontrailerAnalyzed the freelist logic and requested its separation in #8, then reviewed and committed the final fix with simplified explanations in #12.
injection_points: Move some structs to new header injection_points.h
18 May 2026Michael Paquiermaster19beta1REL_19_STABLE19beta1REL_18_STABLE18.6REL_17_STABLE17.11
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #91 of 1 reviewer saw the final version

Takes only the header-extraction component of #9, moving InjectionPointConditionType and InjectionPointCondition out of injection_points.c. The committer renamed the header to injection_points.h, adjusted guards, comments, copyright, and include placement, and credited both Vlad Lesin and Andrey Borodin as authors.

  • Michael Paquiersaw the final versioncommittercommitted the patch

Credits across 3 commits

Author
Vlad Lesin3
Andrey Borodin1
Reviewer
Michael Paquiercommitter3
Andrey Borodin2
Committer
Michael Paquier3