Re: Transaction wraparound and read committed isolation level

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: Transaction wraparound and read committed isolation level
Дата
Msg-id CAH2-WzmyWqbJvwdKchjsuAd86kYdwA-yGBMPbMnsr_C4m9xGWw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Transaction wraparound and read committed isolation level  (Peter Geoghegan <pg@bowt.ie>)
Список pgsql-docs
On Tue, Feb 21, 2023 at 9:46 AM Peter Geoghegan <pg@bowt.ie> wrote:
> All that you need is two statements within the same READ COMMITTED
> transaction, combined with a second concurrently executing
> transaction. The second transaction need only start after the first
> one (giving it a later XID), and then commit before the first
> transaction's second statement begins. Each RC statement gets its own
> snapshot, so the second statement in the first transaction can see any
> effects from the first transaction.

Correction: Each RC statement gets its own snapshot, so the second
statement in the first transaction can see any effects from the
*second* (now committed) transaction.

-- 
Peter Geoghegan



В списке pgsql-docs по дате отправления:

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: Transaction wraparound and read committed isolation level
Следующее
От: PG Doc comments form
Дата:
Сообщение: Row Level Security Execution within the SQL Evaluation Pipeline