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

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

Commit: a5713ec427f15f2c63eaed14f2a16a952b7ddf06
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2004-09-17T18:28:53Z
Releases: 8.0.0
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