Teach heapam code to know the difference between a real seqscan and the

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 85d72f05167b87bc44464b2eabea8538f1fd1e45
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2007-06-09T18:49:55Z
Releases: 8.3.0
Teach heapam code to know the difference between a real seqscan and the
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.

Files