Sep 2026

2 commits
Turn "check" into assertion
28 Sep 2026Álvaro HerreramasterunreleasedREL_19_STABLE19rc1
LLM analysis, 100% surewritten from the discussion, no matching patch2 of 3 reviewers saw the final version

Wraps the unused CheckRelationOidLockedByMe() result in Assert() in src/backend/commands/repack.c, correcting the committer edit described in #29. No attached patch contains this follow-up delta; its review trailers explicitly credit the preceding fix.

  • Manuel Reyes Bravosaw the final versiontrailerPosting as Manu, he tested successive implementations and reported final-submission regression, isolation, and repeated timing checks in #28, which is the last submission used for this source-less verdict.
  • Antonin Houskasaw an earlier versiontrailerHe advocated early locking in #8 and #17 and proposed relocating the lock and asserting ownership in #20, before subsequent lock-placement changes.
  • Masahiko Sawadasaw the final versiontrailerHe approved #24 and supplied the worker-lock comment in #26, after which only light changes led to the final submitted implementation tested in #28.
Lock the TOAST table early in REPACK (CONCURRENTLY)
28 Sep 2026Álvaro HerreramasterunreleasedREL_19_STABLE19rc1
LLM analysis, 99% surepart of a posted patchsetmoderate changesfrom patchset #271 of 6 reviewers saw the final version

Takes the combined lock fix and isolation test from #27, omitting its separate decoding_ctx comment cleanup. Besides comment and test edits, it changes copy_table_data() to acquire the lock only outside concurrent mode and call CheckRelationOidLockedByMe() otherwise, as explained in #29.

  • Thom Brownsaw an earlier versionLLM analysis, 99% sureHe verified the initial fix and negative control in #4 and proposed the weaker startup lock in #22, before the final locking decisions and committer edits.
  • Manusaw an earlier versionLLM analysis, 96% sureHe stress-tested successive versions and verified #27 on development and stable branches in #28, before the committer changed copy_table_data() lock handling.
  • Antonin Houskasaw an earlier versionLLM analysis, 98% sureHis early-locking argument in #17 and lock-placement/assertion proposal in #20 shaped the implementation, but further local locking changes followed.
  • Masahiko Sawadasaw an earlier versionLLM analysis, 95% sureHe challenged unlimited retries in #11 and approved the full-lock version with a comment improvement in #26, before the committer's copy_table_data() change.
  • Robert Treatsaw an earlier versionLLM analysis, 96% sureHe objected to voluntarily canceling REPACK in #14, and the author explicitly identified the early-lock rewrite in #18 as addressing that concern.
  • Álvaro Herrerasaw the final versioncommittercommitted the patch

Credits across 2 commits

Author
shihao zhong1
Reviewer
Alvaro Herreracommitter1
Antonin Houska1
Manu1
Masahiko Sawada1
Reported by
Thom Brown1
Committer
Alvaro Herrera2