May 2026

2 commits
Restructure repack worker teardown
26 May 2026Álvaro Herreramaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #51 of 1 reviewer saw the final version

Implements the initialization and teardown restructuring from #5 in src/backend/commands/repack.c. The committed version stores the queue handle immediately, restores guarded shm_mq_detach() following #6, and frees decoding_worker after detaching shared memory rather than before.

  • Antonin Houskasaw the final versiontrailerReviewed the source patchset in #6, identified the missing explicit queue detach, and requested the restoration incorporated into the commit.
Fix REPACK decoding worker not cleaned up on FATAL exit
19 May 2026Álvaro Herreramaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #41 of 2 reviewers saw the final version

Preserves the PG_ENSURE_ERROR_CLEANUP implementation from #4 in src/backend/commands/repack.c, with callback renaming and relocation, rewritten comments, and cosmetic simplifications. The committer explicitly confirms these cosmetic edits in #5.

  • Sami Imseihsaw an earlier versiontrailerReported an assertion-build crash and diagnosed the freed worker handle in #2, supplying a callback revision subsequently replaced by the scoped cleanup design in #4.
  • Álvaro Herrerasaw the final versiontrailerIdentified callback-slot exhaustion and proposed PG_ENSURE_ERROR_CLEANUP in #3, then approved and committed the revised patch with cosmetic edits in #5.

Credits across 2 commits

Author
Alvaro Herrera1
Baji Shaik1
Reviewer
Alvaro Herrera1
Antonin Houska1
Sami Imseih1
Committer
Alvaro Herrera2