Re: nested xacts and phantom Xids - Mailing list pgsql-patches

From Tom Lane
Subject Re: nested xacts and phantom Xids
Date
Msg-id 10281.1087767828@sss.pgh.pa.us
Whole thread Raw
In response to Re: nested xacts and phantom Xids  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: nested xacts and phantom Xids  (Bruce Momjian <pgman@candle.pha.pa.us>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Tablespaces
Next
From: Simon Riggs
Date:
Subject: Re: Tablespaces