model-writtenrun 1912 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Zhijie Hou reported that MERGE bypassed replica identity restrictions on published tables and proposed checking every conditional action, with regression tests, in #1.
- Ashutosh Bapat supported operation-specific error messages while questioning publication semantics in #2; Dean Rasheed agreed that replication should remain based on individual row operations and raised the analogous INSERT ON CONFLICT problem in #3.
- Dean demonstrated that INSERT ON CONFLICT DO UPDATE could succeed on the publisher but fail on the subscriber in #4, then questioned backpatching because extending CheckValidResultRel() would change its interface in #5.
- Hou supplied a two-patch series in #6, retaining the MERGE fix and adding INSERT ON CONFLICT validation, including partition handling; he also explained that the failure did not require later table-definition changes and discussed back-branch alternatives.
- Chao Li reported successful local testing in #7, and Dean judged the patches reasonable in #8, arguing that both fixes needed backpatching because they could silently interrupt subsequent replication and recommending a compatibility wrapper.
- Hou supplied versions for all affected branches in #9, incorporating the requested back-branch function; extraction failed because the submission contained multiple branch-specific series with duplicate patch numbers.
- Dean committed INSERT ON CONFLICT as 5386bfb9c1 and MERGE as fc6600fc1c from the final submission #9, with light edits; the commits backpatch through PostgreSQL 13 and 15 respectively.
- Dean confirmed completion in #10, explaining that he placed INSERT ON CONFLICT first in both commit order and function arguments because it predates MERGE; both fixes were landed with no remaining work identified.