]> granicus.if.org Git - postgresql/commit
Better solution to integer overflow problem in hash batch-number
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 30 Dec 2002 15:21:23 +0000 (15:21 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 30 Dec 2002 15:21:23 +0000 (15:21 +0000)
commita0fa0117a5ad728b6f85a39cc52006736f54f90e
tree80e4e43aea88ace1e0668ea9f63c9767bb64b63f
parente533e7dcf53e7df2d8241b9db33ef33ac0b96d21
Better solution to integer overflow problem in hash batch-number
computation: reduce the bucket number mod nbatch.  This changes the
association between original bucket numbers and batches, but that
doesn't matter.  Minor other cleanups in hashjoin code to help
centralize decisions.
src/backend/executor/nodeHash.c
src/backend/executor/nodeHashjoin.c
src/backend/optimizer/path/costsize.c
src/include/executor/nodeHash.h