model-writtenrun 9746 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Amit Langote reported that detaching a partition left its primary key constraint marked as inherited, preventing its removal, and supplied a patch to detach the constraint alongside its index #1.
- Alvaro Herrera identified that UNIQUE constraints suffered the same problem and requested extending the primary-key-only check #2.
- Amit Langote revised the patch to handle both PRIMARY KEY and UNIQUE constraints, added tests for both, and explained that EXCLUSION constraints did not need handling because their inheritance was unsupported #3.
- Alvaro Herrera committed the revised patch with small comment, declaration-order, and diagnostic edits as ae366aa577, then confirmed it was pushed #4.
- Amit Langote acknowledged the completed fix, leaving no outstanding work identified in the thread #5.