model-writtenrun 5785 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Alexander Lakhin reported crashes and EvalPlanQual errors during concurrent modifications of a table with local and foreign partitions in #1, and clarified that async_capable did not affect the failure in #3.
- Etsuro Fujita reduced both failures to two-session examples and proposed skipping direct-modify ForeignScan nodes during EvalPlanQual in ExecForeignScan() and ExecReScanForeignScan() in #5.
- Alexander supplied an isolation test that reproduced the crash without the fix and passed with it, including RETURNING cases, in #6; Etsuro explained why RETURNING did not require local rechecking in #7, and Alexander resolved a separate apparent hang as a limitation of detecting remote blocking in #8.
- Etsuro prepared the fix for commit with comment edits in #9, excluding the isolation test; Alexander accepted that version and explained that his test was only a demonstration in #10.
- Amit Langote questioned the historical diagnosis and suggested replacing an unreachable error check with an assertion in #11; Etsuro explained how the inherited UPDATE/DELETE rework exposed direct-modify nodes to EvalPlanQual and incorporated the assertion in #13, which Amit accepted in #14.
- Alvaro Herrera argued that omitting isolation tests would leave future executor regressions undetected and described how postgres_fdw could support them in #15.
- Etsuro committed #13 as f862d57057 with only an additional word in a comment, credited Alexander and Amit for review and testing, and backpatched to PostgreSQL 14; he announced the commit in #16 and proposed broader EvalPlanQual tests as separate work in #17.
- Marina Polyakova reported that the assertion conversion caused an unused-variable build failure without assertions and supplied a tested PG_USED_FOR_ASSERTS_ONLY fix in #18; Etsuro replied that Andres had independently fixed the issue in #19.
- After Alvaro asked who would implement the broader tests in #20, Etsuro said he lacked time for PostgreSQL 15 and planned to work on them for PostgreSQL 16 in #21, leaving the bug fix landed and additional isolation coverage deferred.