| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера