Tom Lane <t...@sss.pgh.pa.us> wrote: > "Kevin Grittner" <kevin.gritt...@wicourts.gov> writes: >> According to htup.h: >> * t_self and t_tableOid should be valid if the HeapTupleData >> * points to a disk buffer, or if it represents a 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. > What that comment is recommending is > > ItemPointerSetInvalid(&(tuple.t_self)); Aren't those tuples pointing to a disk buffer? I know how to set an invalid pointer, but I thought that was only for manufactured tuples? -Kevin
-- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers