pgsql-server/src backend/executor/nodeIndexsca ...
pgsql-server/src backend/executor/nodeIndexsca ...
От:
tgl@svr1.postgresql.org (Tom Lane)
Дата:
CVSROOT: /cvsroot Module name: pgsql-server Changes by: tgl@svr1.postgresql.org 03/08/22 17:26:43 Modified files: src/backend/executor: nodeIndexscan.c src/include/nodes: execnodes.h Log message: 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.