model-writtenrun 2246 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Keith Paskett reported that PostgreSQL 17.4 could not restore a partitioned table with an exclusion constraint because attaching its partition index failed with mismatching definitions #1.
- Japin Li reproduced the problem and proposed replacing CompareIndexInfo()'s unconditional rejection of exclusion indexes with comparison of exclusion operator OIDs #2.
- Alvaro Herrera questioned whether partitioned exclusion constraints had been enabled without sufficient supporting work #5; Japin confirmed PostgreSQL 16 rejected them #4, while Keith explained that PostgreSQL 17 supported his workload and asked to preserve that support #6.
- Alvaro requested broader regression coverage and dump/restore verification #8, then explained how objects retained by regression tests participate in pg_upgrade round-trip testing #10; Japin added a persistent table and partition in create_index.sql #11.
- Alvaro challenged the missing procedure and strategy comparisons and the absence of negative tests #12; Japin added those comparisons, corrected the loop bound to count key attributes, and moved expanded tests into indexing.sql #13.
- After a gap of more than a year, Alvaro committed the final patch with comment and test cleanup as 1d6c654c81, reporting that it had been pushed to branches from PostgreSQL 17 onward #14.
- The thread ended with Japin thanking Alvaro for committing the fix, with no further work raised #15.