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

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

Commit: 44ed69c8f3b3e21153af60cc22287fd0258878fe
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2004-09-17T18:29:40Z
Releases: 7.2.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