pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Day <blake@rcmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: parallel sequential scan returns extraneous rows
Date: Tue, 29 Nov 2016 19:01:16 -0500
Message-ID: <14356.1480464076@sss.pgh.pa.us> (raw)
In-Reply-To: <6388A361-BE20-44B5-9F07-58ABDE24DFAD@rcmail.com>
References: <D0E8A029-D1AC-42E8-979A-5DE4A77E4413@rcmail.com>
	<22908.1480436353@sss.pgh.pa.us>
	<6388A361-BE20-44B5-9F07-58ABDE24DFAD@rcmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Michael Day <blake@rcmail.com> writes:
> I was able to reproduce with this set of data.

Ah, thanks for the test case!  Looks like the handling of
JOIN_UNIQUE_INNER cases for parallel plans is completely confused ---
it forgot about needing to unique-ify the inner rel, and I'm rather
surprised it didn't trip over some Asserts while at it.

Will fix, thanks.

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (4+ messages)

Message-ID: <14356.1480464076@sss.pgh.pa.us>
Permalink:  ../14356.1480464076@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/14356.1480464076@sss.pgh.pa.us

 · 

reply

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-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, blake@rcmail.com
  Subject: Re: parallel sequential scan returns extraneous rows
  In-Reply-To: <14356.1480464076@sss.pgh.pa.us>
  References: <D0E8A029-D1AC-42E8-979A-5DE4A77E4413@rcmail.com> <22908.1480436353@sss.pgh.pa.us> <6388A361-BE20-44B5-9F07-58ABDE24DFAD@rcmail.com> <14356.1480464076@sss.pgh.pa.us>

* 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