]> granicus.if.org Git - postgresql/commit
Revise hash join code so that we can increase the number of batches
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 6 Mar 2005 22:15:05 +0000 (22:15 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 6 Mar 2005 22:15:05 +0000 (22:15 +0000)
commit849074f9ae422c64501bb1d53ef840de870bf65c
tree9ac33ca6df68410da184659a4b0ca67f7bdf8bef
parent31b6d840f6fdbf3d272e7bf8ec0461742edcdd46
Revise hash join code so that we can increase the number of batches
on-the-fly, and thereby avoid blowing out memory when the planner has
underestimated the hash table size.  Hash join will now obey the
work_mem limit with some faithfulness.  Per my recent proposal
(hash aggregate part isn't done yet though).
src/backend/executor/nodeHash.c
src/backend/executor/nodeHashjoin.c
src/backend/optimizer/path/costsize.c
src/backend/utils/adt/selfuncs.c
src/include/executor/hashjoin.h
src/include/executor/nodeHash.h
src/include/executor/nodeHashjoin.h
src/include/nodes/execnodes.h
src/include/utils/selfuncs.h