From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix NULL handling in multi-batch Parallel Hash Left Join.
Date: Fri, 02 Nov 2018 22:07:50 +0000
Message-ID: <E1gIhba-0006jN-AI@gemulon.postgresql.org> (raw)
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
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/1ce4a807e25bcd726e34b8d3ba0338e9299f9a87
Modified Files
--------------
src/backend/executor/nodeHashjoin.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tmunro@postgresql.org
Subject: Re: pgsql: Fix NULL handling in multi-batch Parallel Hash Left Join.
In-Reply-To: <E1gIhba-0006jN-AI@gemulon.postgresql.org>
References: <E1gIhba-0006jN-AI@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox