model-writtenrun 8593 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Rajkumar Raghuwanshi reported that creating a partition of a table with a self-referencing foreign key crashed on the numfks == attmap->maplen assertion in CloneFkReferenced #1.
- Amul Sul proposed relaxing the assertion to an inequality #2, but David Rowley explained that the check served no purpose and should be removed entirely #3.
- Amul Sul posted the assertion removal with regression-test adjustments #4, then corrected the tests and supplied matching expected output in #5.
- David Rowley committed only the assertion removal as 9f2c4edec2, explaining that he considered the proposed regression-test changes unnecessary because the assertion was clearly misplaced #6.
- After the commit, Ahsan Hadi reported that the fix eliminated the assertion failure and that regression tests passed #7, and Rajkumar Raghuwanshi thanked the participants #8.
- Michael Paquier suggested testing self-referencing foreign keys on partitioned tables #9; David Rowley closed the thread by explaining why Amul's test changes were omitted and directing discussion of broader test coverage to another thread, leaving the crash fix landed without those tests #10.