model-writtenrun 1173 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Chao Li proposed rejecting ALTER TABLE CLUSTER ON and SET WITHOUT CLUSTER on partitioned tables during preparation through ATSimplePermissions(), giving these unsupported operations consistent errors in #1.
- Chao extended the same approach to INHERIT and NO INHERIT in #2, sharing their preparation checks; after accidentally resending unchanged patches in #3, he supplied the intended helper rename and comment relocation in #4.
- Zsolt Parragi requested missing NO INHERIT coverage, comment cleanup, documentation clarification, and investigation of redundant execution checks in #5; Chao explained that documentation changes belonged to a separate thread in #6.
- Chao added the requested test and cleanup in #7, then corrected a test annotation and added leaf-partition cases in #9 following Zsolt's review in #8, while initially retaining the disputed execution checks.
- Michael Paquier requested closer analysis of mark_index_clustered() callers in #10, while Zsolt explained the CLUSTER/VACUUM paths in #11 and demonstrated that the new partition tests did not reach the redundant inheritance execution check in #12.
- Chao traced the callers and concluded that partitioned tables could no longer reach mark_index_clustered() in #13; he replaced its error with an assertion and removed the duplicate ATExecDropInherit() check in #14.
- After the January work, Chao rebased the series in March in #15; Michael committed its CLUSTER component as c336133c65, dropping only an assertion comment, and confirmed in #16 that the inheritance component still awaited his review.
- Reviewing the remaining inheritance change, Michael identified the untested change in typed-table NO INHERIT errors, requested a separate baseline regression test, and suggested an execution-phase assertion in #18; he also considered the cleanup unsuitable for backpatching.
- Chao submitted the remainder in #19, separating the typed-table test from the refactor and adding assertions for partitioned tables, typed tables, and partitions to both inheritance execution functions.
- Michael committed the standalone typed-table test unchanged as cbf9a72993, then committed the inheritance refactor as 1a7ccd2b33, both from #19.
- Michael explained in #20 that he removed the new inheritance assertions after checking surrounding conventions and moved the column/constraint comment to CreateInheritance(); Chao acknowledged the completed work in #21, leaving no patches pending in this thread.