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

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

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