Re: HeapTupleSatisfiesToast not setting XMIN_COMMITTED? - Mailing list pgsql-hackers

From Merlin Moncure
Subject Re: HeapTupleSatisfiesToast not setting XMIN_COMMITTED?
Date
Msg-id CAHyXU0ya=SqRBVS8TGN8aV4-NO+8OEhdLkBnWFJSs3P=L+gMRg@mail.gmail.com
Whole thread Raw
In response to HeapTupleSatisfiesToast not setting XMIN_COMMITTED?  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Responses Re: HeapTupleSatisfiesToast not setting XMIN_COMMITTED?
List pgsql-hackers
On Wed, Sep 21, 2011 at 1:03 PM, Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:
>
> Hi,
>
> I notice that HeapTupleSatisfiesToast is not setting the
> HEAP_XMIN_COMMITTED bit, though it is reading it.  Is there a reason for
> this?  It seems to me that it'd make sense to have it set ... unless
> it's set by some other routine, somehow?

I think it's implied from the untoasted row.  Notice that it's not
checking visibility either except in binary upgrade cases.

merlin


pgsql-hackers by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: memory barriers (was: Yes, WaitLatch is vulnerable to weak-memory-ordering bugs)
Next
From: Robert Haas
Date:
Subject: Re: memory barriers (was: Yes, WaitLatch is vulnerable to weak-memory-ordering bugs)