• Robert Haas's avatar
    Avoid repeated CLOG access from heap_hot_search_buffer. · 00381104
    Robert Haas authored
    At the time we check whether the tuple is dead to all running
    transactions, we've already verified that it isn't visible to our
    scan, setting hint bits if appropriate.  So there's no need to
    recheck CLOG for the all-dead test we do just a moment later.
    So, add HeapTupleIsSurelyDead() to test the appropriate condition
    under the assumption that all relevant hit bits are already set.
    
    Review by Tom Lane.
    00381104
heapam.c 164 KB