Re: missing SSI check in heapgettup_pagemode() ? - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: missing SSI check in heapgettup_pagemode() ?
Date
Msg-id 5228C34A.5010807@vmware.com
Whole thread Raw
In response to missing SSI check in heapgettup_pagemode() ?  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
On 05.09.2013 20:30, Alvaro Herrera wrote:
> I was scrolling heapgettup() and heapgettup_pagemode() in parallel, and
> noticed that the former calls CheckForSerializableConflictOut() for
> tuples read, and the latter doesn't.  Is there a reason for this
> discrepancy?  If so, I think it warrants a comment about the missing
> check.

In page-at-a-time mode, the CheckForSerializableConflictOut() is done in 
heapgetpage(). Same with the visibility checks.

- Heikki



pgsql-hackers by date:

Previous
From: Jeff Janes
Date:
Subject: Re: [HACKERS] Is it necessary to rewrite table while increasing the scale of datatype numeric?
Next
From: Kevin Grittner
Date:
Subject: Re: missing SSI check in heapgettup_pagemode() ?