Re: Tuple visibility within a single XID

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Tuple visibility within a single XID
Дата
Msg-id 4903.1428501755@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Tuple visibility within a single XID  (Qingqing Zhou <zhouqq.postgres@gmail.com>)
Список pgsql-hackers
Qingqing Zhou <zhouqq.postgres@gmail.com> writes:
> Not sure if I understand correctly: in uniqueness check, we see all
> possible tuples with a dirty snapshot.  For a tuple version inserted
> and updated by myself, it is surely dead no matter how the transaction
> ends. So I interpret that we can safely pruning the version.

It may be dead in the future, but unless you can prove that your session
does not still contain a snapshot that could "see" the row, you can't
prune it.  Considering only the current query is a fundamental error.
        regards, tom lane



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

Предыдущее
От: Sawada Masahiko
Дата:
Сообщение: Re: Proposal : REINDEX xxx VERBOSE
Следующее
От: Kevin Grittner
Дата:
Сообщение: Re: Row security violation error is misleading