Aug 2026

1 commit
Tighten ACL check in repack_is_permitted_for_relation()
19 Aug 2026Álvaro HerreramasterunreleasedREL_19_STABLE19beta4
LLM analysis, 99% suremodified before commitmoderate changesfrom patchset #61 of 1 reviewer saw the final version

The commit implements the caller distinction proposed in #6, replacing missing_ok with already_locked and adding lock assertions in src/backend/commands/repack.c. Unlike the attachment's conditional NULL argument to pg_class_aclcheck_ext(), it always requests missing-relation detection and asserts that a missing relation was unlocked; it also updates a comment in src/backend/commands/tablecmds.c.

  • Álvaro Herrerasaw the final versioncommittercommitted the patch

Jul 2026

2 commits
Move code to get_tables_to_repack_partitioned
20 Jul 2026Álvaro HerreramasterunreleasedREL_19_STABLE19beta3
LLM analysis, 100% suremodified before commitlight changesfrom patchset #52 of 2 reviewers saw the final version

The executable changes in src/backend/commands/repack.c match #5, including moving partition setup and allowing a missing index lookup. Differences are formatting and comments, including the explanation of multilevel partition locking requested in #7 and supported in #8.

  • Bharath Rupireddysaw the final versiontrailerIn #7, he explained why lower-level partitions can disappear despite the ancestor lock, approved the cleanup, and requested the explanatory comment that was committed.
  • ChangAo Chensaw the final versiontrailerIn #8, he agreed that the locking explanation deserved a comment and said the patch looked good.
Don't lock tables in get_tables_to_repack()
10 Jul 2026Álvaro HerreramasterunreleasedREL_19_STABLE19beta2
LLM analysis, 99% suremodified before commitmoderate changesfrom patchset #31 of 1 reviewer saw the final version

The commit combines the lock removal and permission-helper fixes in #3, whose primary patch header credits ChangAo Chen, while dropping tuple copying and deferring its partition-index lookup fix. It also adds try_relation_open() with relkind filtering in ExecRepack(), extracts catalog fields before releasing the syscache tuple, and adds a lock assertion in src/backend/commands/repack.c.

  • Álvaro Herrerasaw the final versioncommittercommitted the patch

Credits across 3 commits

Author
Alvaro Herrera1
Bharath Rupireddy1
cca55071
Reviewer
Alvaro Herreracommitter2
Bharath Rupireddy1
cca55071
Committer
Alvaro Herrera3