Re: nested xacts and phantom Xids

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: nested xacts and phantom Xids
Дата
Msg-id 10281.1087767828@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: nested xacts and phantom Xids  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: nested xacts and phantom Xids  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Let me add that outside transactions read those phantom xid only when
> they are doing dirty reads.  What I don't understand is when do outside
> transactions see tuples created inside a transaction?  INSERT into a
> table with a unique key?

> Once the main transaction commits, these phantom tuples should work just
> like ordinary tuples except they get their cmin overwritten when they
> are expired, I think.

You're not doing anything to increase my confidence level in this
concept.  You invented it, and even you aren't sure how it works.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Tablespaces
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Tablespaces