Hashed LEFT JOIN would miss outer tuples with no inner match if the join
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 17 Sep 2004 18:29:10 +0000 (18:29 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 17 Sep 2004 18:29:10 +0000 (18:29 +0000)
commit50ff8067003ff637d6de566759a8be077a28b2d4
tree5c9510bd1333e6d09748b59d826cdb73d570e158
parent9a22b6fb59ad40baa0a36b887168b8ced104b0a2
Hashed LEFT JOIN would miss outer tuples with no inner match if the join
was large enough to be batched and the tuples fell into a batch where
there were no inner tuples at all.  Thanks to Xiaoyu Wang for finding a
test case that exposed this long-standing bug.
src/backend/executor/nodeHashjoin.c