model-writtenrun 8750 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Alexander Lakhin reported that using ALTER TABLE ATTACH PARTITION against a partitioned index caused an assertion failure, reproducible from PostgreSQL 11 through the development branch #1.
- Michael Paquier proposed removing the assertion because subsequent checks reject a table used as an index partition; he also demonstrated that attaching an actual index works while ignoring the supplied bounds, raising compatibility concerns about rejecting that usage #2 #3.
- Amit Langote proposed an inline patch that rejects supplied partition bounds for partitioned indexes in newer versions, arguing that silently ignoring them is misleading, while accepting assertion removal for stable branches #4.
- After initially preferring assertion removal everywhere, Michael Paquier agreed to reject the operation on the development branch and preserve compatibility on stable branches; Amit supplied the requested regression test with the sole attached patchset #5 #6 #7.
- Michael Paquier committed #7 as 0b48f1335d, revising the comment, removing the error hint, and expanding regression coverage; he explained that transformation-time checking warranted a simpler error and reported applying the branch-specific fixes through PostgreSQL 11 #8.
- Amit Langote acknowledged the completed work, and the thread ended with no outstanding changes identified #9.