Re: Novice questions about HeapTupleSatisfies - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Novice questions about HeapTupleSatisfies
Date
Msg-id 1838.1066252635@sss.pgh.pa.us
Whole thread Raw
In response to Novice questions about HeapTupleSatisfies  ("murphy pope" <pope_murphy@hotmail.com>)
List pgsql-hackers
"murphy pope" <pope_murphy@hotmail.com> writes:
> Did I get (most or any of) this right?

Mostly.  A couple of comments: HeapTupleSatisfies can do scankey testing
(that is, see whether columns satisfy "col op constant" conditions) in
addition to the time-qual checking you are thinking about.  Also, the
time qual is defined by reference to a "snapshot" --- there is not
necessarily a unique notion of which tuples are good, even within a
single transaction.  It all depends on the snapshot you use.

You can learn more about time qual testing by reading the comments in
src/backend/utils/time/tqual.c.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: Database Kernels and O_DIRECT
Next
From: Peter Eisentraut
Date:
Subject: Re: postgres --help-config