Tweak processing of multiple-index-scan plans to reduce overhead when
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 22 Aug 2003 20:26:43 +0000 (20:26 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 22 Aug 2003 20:26:43 +0000 (20:26 +0000)
commitda432c8016391a9d15e6bd591136c287ff2cf9f8
treec530e27a65642d8ae492f38198969cf40f93062b
parentbc3bb54123f43baa3c3ab03b2df1db957992833b
Tweak processing of multiple-index-scan plans to reduce overhead when
handling many-way scans: instead of re-evaluating all prior indexscan
quals to see if a tuple has been fetched more than once, use a hash table
indexed by tuple CTID.  But fall back to the old way if the hash table
grows to exceed SortMem.
src/backend/executor/nodeIndexscan.c
src/include/nodes/execnodes.h