Re: what's the exact command definition in read committed isolation level? - Mailing list pgsql-general

From Albe Laurenz
Subject Re: what's the exact command definition in read committed isolation level?
Date
Msg-id A737B7A37273E048B164557ADEF4A58B53840CB9@ntex2010i.host.magwien.gv.at
Whole thread Raw
In response to what's the exact command definition in read committed isolation level?  (Jinhua Luo <luajit.io@gmail.com>)
Responses Re: what's the exact command definition in read committed isolation level?
List pgsql-general
Jinhua Luo wrote:
> The document said, "Read Committed mode starts each command with a new
> snapshot that includes all transactions committed up to that instant".
> 
> But what about the embedded commands within the outer command itself?
> Do they share the same snapshot with the outer command?
> 
> a) trigger
> b) CTE
> c) other forms of sub-query

All these share the snapshot of the command to which they belong.

As you wrote, things would break if it were different.

Yours,
Laurenz Albe

pgsql-general by date:

Previous
From: Albe Laurenz
Date:
Subject: Re: How to detoast a column of type BYTEAOID
Next
From: Konstantin Knizhnik
Date:
Subject: Re: Multimaster