model-writtenrun 5053 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Yugo Nagata proposed enabling predicate locking on materialized views in #1, explaining how concurrent refresh and a transaction reading the view while inserting into its underlying table could otherwise produce a serializable write-skew anomaly.
- Richard Guo confirmed the anomaly and supported the approach in #2, and Dilip Kumar likewise confirmed the problem and approved the patch in #3.
- Michael Paquier requested an isolation test demonstrating the read/write conflict in #5; Yugo supplied it in #6 while preserving the original predicate-locking change.
- Michael committed #6 as 43351557d0, adjusting the tests to use explicit permutations and separate read, insert, and update steps; the commit explains that possible application behavior changes warranted avoiding backpatches.
- Michael announced the completed commit and test adjustments in #7, and Yugo acknowledged it in #8, leaving no outstanding work in the thread.