public inbox for [email protected]
help / color / mirror / Atom feedFrom: Krishnakant Mane <[email protected]>
To: [email protected]
Subject: Re: confused about material view locks please explain
Date: Sat, 6 Jul 2024 11:09:23 +0530
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
<[email protected]>
On 7/5/24 21:10, Peter J. Holzer wrote:
> If I understand https://github.com/sraoss/pg_ivm correctly, the
> materialized view will be updated within the same transaction. So it's
> just the same as any other change in the database:
>
> Neither client will wait for the other. The first client will see either
> the old or the new state depending on whether the second client manages
> to commit soon enough.
Thank you Peter.
So does that mean both the processes work concurrently?
I had understood that while an update is happening to an IVM (material
view ) the view is locked till the update is complete.
If so then how would both the clients have simultaneous access?
Regards.
>
>
view thread (2+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: confused about material view locks please explain
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox