Jul 2026

1 commit
Protect PGPROC lookup when terminating background workers
29 Jul 2026Michael PaquiermasterunreleasedREL_19_STABLE19beta3
LLM analysis, 100% surelanded as postedfrom patchset #51 of 3 reviewers saw the final version

The committed diff in src/backend/postmaster/bgworker.c is identical to the patch in #5. The commit explanation incorporates Michael Paquier's analysis of the narrow static-worker restart race #6 33b392eaab.

  • Aya Iwatasaw an earlier versiontrailerAya confirmed the race was possible and said the initial fix looked good #2, before the revision changed the critical-section boundaries and logging control flow #5.
  • Haibo Yansaw an earlier versiontrailerHaibo validated the locking fix and requested copying the PID before acquiring ProcArrayLock #3, after which the revision also moved logging under the lock and removed the temporary flag #5.
  • Michael Paquiersaw the final versioncommittercommitted the patch

Credits across 1 commit

Author
Chao Li1
Reviewer
Haibo Yan1
Iwata, Aya1
Michael Paquiercommitter1
Committer
Michael Paquier1