From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Prevent Parallel Hash Join for JOIN_UNIQUE_INNER.
Date: Tue, 18 Jun 2019 14:20:26 +0000
Message-ID: <E1hdEyI-0008Oe-7K@gemulon.postgresql.org> (raw)
Prevent Parallel Hash Join for JOIN_UNIQUE_INNER.
WHERE EXISTS (...) queries cannot be executed by Parallel Hash Join
with jointype JOIN_UNIQUE_INNER, because there is no way to make a
partial plan totally unique. The consequence of allowing such plans
was duplicate results from some EXISTS queries.
Back-patch to 11. Bug #15857.
Author: Thomas Munro
Reviewed-by: Tom Lane
Reported-by: Vladimir Kriukov
Discussion: https://postgr.es/m/15857-d1ba2a64bce0795e%40postgresql.org
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/aca127c105aae551620d607e88d76930e6b9a2cf
Modified Files
--------------
src/backend/optimizer/path/joinpath.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
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: Prevent Parallel Hash Join for JOIN_UNIQUE_INNER.
In-Reply-To: <E1hdEyI-0008Oe-7K@gemulon.postgresql.org>
References: <E1hdEyI-0008Oe-7K@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