Re: SI-read predicate locks on materialized views - Mailing list pgsql-hackers

From Dilip Kumar
Subject Re: SI-read predicate locks on materialized views
Date
Msg-id CAFiTN-s1MnSGJFVUcC56SOdh1juC8NtfCLVA7vS-Yi9uuQ=b6Q@mail.gmail.com
Whole thread Raw
In response to Re: SI-read predicate locks on materialized views  (Richard Guo <guofenglinux@gmail.com>)
Responses Re: SI-read predicate locks on materialized views
List pgsql-hackers
On Tue, Jul 26, 2022 at 3:31 PM Richard Guo <guofenglinux@gmail.com> wrote:
>
>
> On Tue, Jul 26, 2022 at 3:44 PM Yugo NAGATA <nagata@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



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: [BUG] wrong FK constraint name when colliding name on ATTACH
Next
From: Yugo NAGATA
Date:
Subject: Re: Implementing Incremental View Maintenance