Fix some nasty coredump bugs in hashjoin. This code was just
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 6 May 1999 00:30:47 +0000 (00:30 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 6 May 1999 00:30:47 +0000 (00:30 +0000)
commitcb0b2bda7f59c02de19cb500cb2515fa6555e4ea
treeadee24b4fd0e535b8f6c74877ea664e06c941679
parent4d4f245b75775e97d78ec34ba202638bfa11c3bd
Fix some nasty coredump bugs in hashjoin.  This code was just
about certain to fail anytime it decided the relation to be hashed was
too big to fit in memory --- the code for 'batching' a series of hashjoins
had multiple errors.  I've fixed the easier problems.  A remaining big
problem is that you can get 'hashtable out of memory' if the code's
guesstimate about how much overflow space it will need turns out wrong.
That will require much more extensive revisions to fix, so I'm committing
these fixes now before I start on that problem.
src/backend/executor/nodeHash.c
src/backend/executor/nodeHashjoin.c
src/include/executor/hashjoin.h