model-writtenrun 8792 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Jehan-Guillaume de Rorthais reported that foreign keys were not cloned to deeper partitions and supplied a fix that collects candidate constraints before skipping those whose parents will also be cloned, with a cascading-delete regression test #1.
- Michael Paquier gave a preliminary favorable assessment and requested Alvaro Herrera's attention #2; Alvaro committed the fix with comment and formatting adjustments as 55173d2e66 and announced it in #4.
- After the fix landed, Tom Lane explained that a future planner optimization could turn the regression test's left join into an inner join and conceal the violation, recommending direct table scans instead #6.
- Jehan-Guillaume supplied a follow-up delta replacing the join with separate SELECT queries on both tables #7.
- Alvaro committed that delta unchanged as b2304a7174 and confirmed completion #8; the thread ended with Jehan-Guillaume thanking Alvaro and Tom, with both patches landed and no outstanding work stated #9.