Sep 2026

2 commits
Fail REPACK in presence of invalid indexes, take 2
15 Sep 2026Álvaro HerreramasterunreleasedREL_19_STABLE19beta4
LLM analysis, 100% suremodified before commitlight changesfrom patchset #192 of 2 reviewers saw the final version

Preserves the predicate change and assertion removal from #19 in src/backend/commands/repack.c, rewrites the explanatory comment, omits its test additions, and adds doc/src/sgml/ref/repack.sgml documentation. Alvaro explicitly confirms the test omission and documentation addition in #21.

  • Robert Treatsaw the final versionLLM analysis, 100% sureRobert said the patch looked right, discussed its broader rejection policy, and questioned the catalog-manipulating test in #20; only light changes followed.
  • Álvaro Herrerasaw the final versioncommittercommitted the patch
Fail REPACK in presence of !indisready indexes
13 Sep 2026Álvaro HerreramasterunreleasedREL_19_STABLE19beta4
LLM analysis, 100% suremodified before commitlight changesfrom patchset #160 of 3 reviewers saw the final version

Retains the pg_index scan, error reporting, and tests from #16, while renaming the helper, passing RepackCommand for the error text, and replacing the combined predicate with !indisready plus an assertion of !indisvalid. Comments and test descriptions were adjusted, matching the minor-tweaks report in #18.

  • Kyotaro Horiguchisaw an earlier versionLLM analysis, 99% sureKyotaro reviewed the skipping design in #8 and proposed requiring DROP or REINDEX before REPACK, which drove the subsequent major rework.
  • Ewan Youngsaw an earlier versionLLM analysis, 97% sureEwan reported testing regressions involving heap rewrites, TRUNCATE, and TOAST indexes in #10 and endorsed the initial patch before the rejection approach replaced both versions.
  • Christophe Pettussaw an earlier versionLLM analysis, 90% sureChristophe argued in #11 and #13 for rejecting invalid indexes in both REPACK modes while preserving older commands' behavior, a design adopted in the subsequent rework.

Credits across 2 commits

Author
Alvaro Herrera1
shihao zhongLLM1
Reviewer
Alvaro Herreracommitter1
Reported by
shihao zhong1
Zsolt Parragi1
Committer
Alvaro Herrera2

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