Re: Novice questions about HeapTupleSatisfies

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Novice questions about HeapTupleSatisfies
Дата
Msg-id 1838.1066252635@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Novice questions about HeapTupleSatisfies  ("murphy pope" <pope_murphy@hotmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: Database Kernels and O_DIRECT
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: postgres --help-config