]> granicus.if.org Git - postgresql/commit
Fix NULL handling in multi-batch Parallel Hash Left Join.
authorThomas Munro <tmunro@postgresql.org>
Fri, 2 Nov 2018 22:08:03 +0000 (11:08 +1300)
committerThomas Munro <tmunro@postgresql.org>
Fri, 2 Nov 2018 22:08:03 +0000 (11:08 +1300)
commitfd6449aa38759cc35c32c1d5bf87c516ba6385c8
tree4e2cbd5ae8c12249cad29be1962b663c255e1a6a
parentca49b5ca5af35bc1ee199105cec94fb86ad9a59b
Fix NULL handling in multi-batch Parallel Hash Left Join.

NULL keys in left joins were skipped when building batch files.
Repair, by making the keep_nulls argument to ExecHashGetHashValue()
depend on whether this is a left outer join, as we do in other
paths.

Bug #15475.  Thinko in 1804284042e.  Back-patch to 11.

Reported-by: Paul Schaap
Diagnosed-by: Andrew Gierth
Dicussion: https://postgr.es/m/15475-11a7a783fed72a36%40postgresql.org
src/backend/executor/nodeHashjoin.c