model-writtenrun 9543 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tom Lane reported that a fully pruned partition-key UPDATE triggered an assertion in PostgreSQL 11 and a relation-cache reference leak in PostgreSQL 10, while succeeding on the development branch #1.
- Amit Langote traced both failures to dummy ModifyTable plans containing the root partitioned table where executor code expected leaf partitions, and supplied fixes disabling unused tuple routing in PostgreSQL 11 and reusing the existing root relation descriptor in PostgreSQL 10, together with regression tests #2.
- Tom Lane confirmed that he pushed the fixes and also applied the PostgreSQL 11 safeguard and regression test to the development branch as 159970bcad, shortening its explanatory comment because the failure did not currently manifest there #3.
- Etsuro Fujita acknowledged responsibility and ongoing work concerning the separately mentioned issue, without supplying or reviewing a further patch for the fixes already committed here #4.
- Amit Langote thanked Tom Lane and agreed with extending the protection to the development branch; the submitted fixes were landed, with no further revision requested in this thread #5.