Re: what's the exact command definition in read committed isolation level?

From: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "'Jinhua Luo *EXTERN*'" <luajit(dot)io(at)gmail(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: what's the exact command definition in read committed isolation level?
Date: 2016-04-18 08:10:52
Message-ID: A737B7A37273E048B164557ADEF4A58B53840CB9@ntex2010i.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Konstantin Knizhnik 2016-04-18 08:28:02 Re: Multimaster
Previous Message Albe Laurenz 2016-04-18 08:05:09 Re: How to detoast a column of type BYTEAOID