HeapTupleData.t_self garbage values

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема HeapTupleData.t_self garbage values
Дата
Msg-id 4B98FA79020000250002FC99@gw.wicourts.gov
обсуждение исходный текст
Ответы Re: HeapTupleData.t_self garbage values  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
According to htup.h:* t_self and t_tableOid should be valid if the HeapTupleData points* to a disk buffer, or if it
representsa copy of a tuple on disk.* They should be explicitly set invalid in manufactured tuples.
 
In the heap_hot_search_buffer function of heapam.c this is not true.
I can't find a clear explanation of why that is.  I'm assuming "it
just doesn't matter" here, but at a minimum it seems worth a
comment.  It's not immediately obvious to me what the random garbage
from the stack would be replaced with if we were to try to make the
above comment true.
Quick brain dump on the topic, anyone?
-Kevin


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [patch] build issues on Win32
Следующее
От: Tom Lane
Дата:
Сообщение: Re: HeapTupleData.t_self garbage values