On Tue, Jul 26, 2022 at 3:31 PM Richard Guo <guofengli...@gmail.com> wrote: > > > On Tue, Jul 26, 2022 at 3:44 PM Yugo NAGATA <nag...@sraoss.co.jp> wrote: >> >> If such two transactions run concurrently, a write skew anomaly occurs, >> and the result of order_summary refreshed in T1 will not contain the >> record inserted in T2.
Yes we do have write skew anomaly. I think the patch looks fine to me. -- Regards, Dilip Kumar EnterpriseDB: http://www.enterprisedb.com