Re: BUG #15857: Parallel Hash Join makes join instead of exists
Thomas Munro <thomas.munro@gmail.com>
From: Thomas Munro <thomas.munro@gmail.com>
To: krujkov@gmail.com, PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Date: 2019-06-18T11:17:07Z
Lists: pgsql-bugs
Attachments
- 0001-Prevent-Parallel-Hash-Join-for-JOIN_UNIQUE_INNER.patch (application/octet-stream) patch 0001
On Tue, Jun 18, 2019 at 9:24 PM Thomas Munro <thomas.munro@gmail.com> wrote: > That points to the problem: for JOIN_UNIQUE_INNER we plan a Parallel > Hash Join, but that's nonsense, there is no code to unique-ify the > partial inner side (because that's not possible). There may be > something better we can do here (like understanding that this should > really be a semi-join), but this works for me to prevent the bad plan: Here's a tidier version with a comment and commit message. -- Thomas Munro https://enterprisedb.com
Commits
-
Prevent Parallel Hash Join for JOIN_UNIQUE_INNER.
- 14d8b539d3bd 11.5 landed
- aca127c105aa 12.0 landed