• Tom Lane's avatar
    Teach heapam code to know the difference between a real seqscan and the · 85d72f05
    Tom Lane authored
    pseudo HeapScanDesc created for a bitmap heap scan.  This avoids some useless
    overhead during a bitmap scan startup, in particular invoking the syncscan
    code.  (We might someday want to do that, but right now it's merely useless
    contention for shared memory, to say nothing of possibly pushing useful
    entries out of syncscan's small LRU list.)  This also allows elimination of
    ugly pgstat_discount_heap_scan() kluge.
    85d72f05
relscan.h 3.5 KB