Hashed LEFT JOIN would miss outer tuples with no inner match if the join

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

Commit: 50ff8067003ff637d6de566759a8be077a28b2d4
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2004-09-17T18:29:10Z
Releases: 7.4.6
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.

Files

PathChange+/−
src/backend/executor/nodeHashjoin.c modified +7 −5