Re: Novice questions about HeapTupleSatisfies

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "murphy pope" <pope_murphy(at)hotmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Novice questions about HeapTupleSatisfies
Date: 2003-10-15 21:17:15
Message-ID: 1838.1066252635@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"murphy pope" <pope_murphy(at)hotmail(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2003-10-15 22:31:59 Re: postgres --help-config
Previous Message Hannu Krosing 2003-10-15 21:12:48 Re: Database Kernels and O_DIRECT