model-writtenrun 5281 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Brad Nicholson reported in #1 that PostgreSQL 13 and later rejected no-op updates against published partitioned tables without replica identity, whereas earlier releases returned UPDATE 0.
- Zhijie Hou proposed skipping replica-identity checks on partitioned parents because modifications occur on leaf partitions in #2; Amit Kapila endorsed the fix in #3, and Hou added a regression test in #4.
- Peter Smith accepted the logic but requested clearer wording, broader tests, and clearer test-table names in #5; Hou revised the comments and commit description in #6, retained the precise term 'leaf', explained that existing tests covered the additional cases, and deferred renaming to separate work.
- Peter approved the revised patch in #7, while retaining a preference for grouping related tests; Amit approved it and requested backpatches in #8, and Hou supplied variants for HEAD through PostgreSQL 13 with successful testing reported in #9.
- Amit committed 0d5bd3a6cc with the same code and tests as #6, apparently using the HEAD variant in #9, and backpatched through PostgreSQL 13; he left test regrouping to separate proposals in #10 and announced the push in #11.
- After the commit, Amit Langote confirmed the fix in #12 and explained that pruning every leaf partition makes the planner retain the partitioned parent as the result relation, exposing the inappropriate check; Amit Kapila acknowledged that explanation in #13, leaving the bug fixed with no further revision pending.