Re: locks within select - Mailing list pgsql-general

From David G. Johnston
Subject Re: locks within select
Date
Msg-id CAKFQuwbPCNFALoj5vsR5ONYfMEUwzgP8OTjT1Ud=bvZZQLDWag@mail.gmail.com
Whole thread Raw
In response to locks within select  (Marc Millas <marc.millas@mokadb.com>)
Responses Re: locks within select  (Marc Millas <marc.millas@mokadb.com>)
List pgsql-general
On Monday, December 13, 2021, Marc Millas <marc.millas@mokadb.com> wrote:
I was wondering if for example, within a join, some kind of lock may be acquired so that the dataset concerned is not changed during execution ? (for example a delete then autovacuum ??)

Read this primer on MVCC from the docs:


David J.

pgsql-general by date:

Previous
From: Dilip Kumar
Date:
Subject: Re: log shipping with pg_receivewal
Next
From: Klaudie Willis
Date:
Subject: Re: When Update balloons memory