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)
commit1443167f461600e5253592d69d19cd51b27c6280
tree141ec06bab2e651de7fdb87b278b71fb5e484ea3
parentbd5fdca08c62a56149664eb1ef9fb971cca7e51d
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