]> granicus.if.org Git - postgresql/commit
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)
commit9f82f9e45902d05e221798e82c22ac95d7a5c3e1
treee40e427f1dbca3f21c15528077f854d6edf6db8b
parent5d5cf912bc28e8aea13d2e6689bb9e67f166a40e
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