May 2026

4 commits
Cover additional errors and corner conditions in repack.c
29 May 2026Álvaro Herreramaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #61 of 1 reviewer saw the final version

The commit preserves all 61 added lines from #6 in src/test/regress/sql/cluster.sql and its expected output. It additionally relocates existing concurrent-mode tests to contrib/test_decoding and removes a duplicate catalog check, addressing the wal_level=minimal failures explained in #9.

  • Baji Shaiksaw the final versiontrailerBaji approved #6 and identified two additional uncovered error paths in #7; subsequent changes were confined to test relocation and cleanup.
Improve REPACK (CONCURRENTLY) error messages some more
28 May 2026Álvaro Herreramaster19beta1REL_19_STABLE19beta1Also in: Re: Adding REPACK [concurrently] (not this thread)
LLM analysis, 99% surepart of a posted patchsetmoderate changesfrom patchset #11 of 2 reviewers saw the final version

The commit takes the identity-diagnostic component of #1 in src/backend/commands/repack.c and src/test/regress/expected/cluster.out, combining FULL with NOTHING checks and revising the deferrable-key error code and hint, as confirmed by #5. Its translation-friendly wording comes from thread #52405; that thread's from_discussion verdict accounts for the wording contribution but does not establish exclusive provenance, because this thread supplies the later matching implementation patch.

  • Chao Lisaw an earlier versionLLM analysis, 99% sureBefore the commit, Chao reviewed the identity-error patch in #2 and objected to adding branches without sufficient evidence of user confusion; the committed checks were subsequently reworked.
  • Álvaro Herrerasaw the final versioncommittercommitted the patch
Fix some minor issues in repack ereport()s
28 May 2026Álvaro Herreramaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #12 of 2 reviewers saw the final version

This takes the missing-error-code component of #1, retaining all four proposed errcode additions in src/backend/commands/repack.c and repack_worker.c. Committer edits change 'failed to' to 'could not', parameterize UPDATE/DELETE for translation, and adjust three nearby messages, as described in #4.

  • Chao Lisaw the final versiontrailerChao gave the error-code patch an LGTM in #2, and only editorial changes followed.
  • Álvaro Herrerasaw the final versiontrailerÁlvaro committed the patch and explained his error-message wording edits in #4.
Improve REPACK (CONCURRENTLY) error when wal_level < replica
28 May 2026Álvaro Herreramaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #12 of 2 reviewers saw the final version

This takes the WAL-level prerequisite component of #1, retaining the access/xlog.h include and upfront wal_level check in src/backend/commands/repack.c. It removes the explanatory comment, uses INVALID_PARAMETER_VALUE, and makes the message configuration-wide rather than relation-specific, as explained in #4.

  • Chao Lisaw the final versiontrailerChao gave the WAL-level patch an LGTM in #2, before limited error-reporting edits that preserved the prerequisite check.
  • Álvaro Herrerasaw the final versioncommittercommitted the patch

Credits across 4 commits

Author
Baji Shaik3
Alvaro Herrera1
Reviewer
Alvaro Herreracommitter3
Chao Li2
Baji Shaik1
Committer
Alvaro Herrera4