model-writtenrun 8027 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Amul Sul reported an assertion failure when an overlapping CREATE TABLE PARTITION followed ATTACH PARTITION, providing SQL and a backtrace in #1.
- Amul Sul established that ATTACH PARTITION was unnecessary to reproduce the failure and identified the assumption that cmpval must be nonnegative as incorrect in #2.
- The patch in #2 removed the invalid assertion and its explanation, used Abs(cmpval) to select the problematic datum, and added a regression test expecting an overlap error.
- Justin Pryzby drew Tom Lane's attention to the patch in #3, without providing a technical review.
- Tom Lane committed the patch with light additional cleanup as 970c050575 and confirmed it was pushed in #4, leaving no outstanding work stated in the thread.