Re: Tuple visibility within a single XID

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: Tuple visibility within a single XID
Дата
Msg-id CAM3SWZQWicnawYc-4Hbjwo+Agm5mr8336xxvGO9pB4xwethrYQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Tuple visibility within a single XID  (Qingqing Zhou <zhouqq.postgres@gmail.com>)
Список pgsql-hackers
On Tue, Apr 7, 2015 at 7:16 PM, Qingqing Zhou <zhouqq.postgres@gmail.com> wrote:
> If another transaction T2 coming later than T1, and if we prune early,
> then T1 can suddenly hang on insertion waiting for T2 to complete. But
> does this violate any isolation rule?

Well, it means that you don't lock a row that you delete (and values
that appeared in that row if they're constrained by a unique index)
just because you happened to also insert that row. That would probably
break client code.

-- 
Peter Geoghegan



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

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: pg_rewind and log messages
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Parallel Seq Scan