Thread: pgsql-server: Hashed LEFT JOIN would miss outer tuples with no inner

pgsql-server: Hashed LEFT JOIN would miss outer tuples with no inner

From
tgl@svr1.postgresql.org (Tom Lane)
Date:
Log Message:
-----------
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.

Tags:
----
REL7_2_STABLE

Modified Files:
--------------
    pgsql-server/src/backend/executor:
        nodeHashjoin.c (r1.39 -> r1.39.2.1)

(http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/executor/nodeHashjoin.c.diff?r1=1.39&r2=1.39.2.1)