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

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: what's the exact command definition in read committed isolation level?
Дата
Msg-id A737B7A37273E048B164557ADEF4A58B53840CB9@ntex2010i.host.magwien.gv.at
обсуждение исходный текст
Ответ на what's the exact command definition in read committed isolation level?  (Jinhua Luo <luajit.io@gmail.com>)
Ответы Re: what's the exact command definition in read committed isolation level?  (Jinhua Luo <luajit.io@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Albe Laurenz
Дата:
Сообщение: Re: How to detoast a column of type BYTEAOID
Следующее
От: Konstantin Knizhnik
Дата:
Сообщение: Re: Multimaster