Revise hash join code so that we can increase the number of batches

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

Commit: 849074f9ae422c64501bb1d53ef840de870bf65c
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-03-06T22:15:05Z
Releases: 8.1.0
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).

Files