From: Tom Lane <tgl@sss.pgh.pa.us>
To: kevin.perais@trivia-marketing.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #12556: Clause IN and NOT IN buggy
Date: Thu, 15 Jan 2015 12:05:26 -0500
Message-ID: <6445.1421341526@sss.pgh.pa.us> (raw)
In-Reply-To: <20150115112720.2502.55131@wrigleys.postgresql.org>
References: <20150115112720.2502.55131@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
kevin.perais@trivia-marketing.com writes:
> I've been noticing several times that clauses IN and NOT IN are often buggy.
None of your examples demonstrate any such thing. What's much more likely
is that you've forgotten about NOT IN's weird (but spec-mandated) behavior
with NULLs, and/or misspelled a field name so that the output of the
sub-SELECT is actually an outer reference.
> I'll show you 2 concrete cases to illustrate that.
My idea of a "concrete case" would be something that someone else could
reproduce from the given information, which would certainly require test
data.
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
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, kevin.perais@trivia-marketing.com
Subject: Re: BUG #12556: Clause IN and NOT IN buggy
In-Reply-To: <6445.1421341526@sss.pgh.pa.us>
References: <20150115112720.2502.55131@wrigleys.postgresql.org> <6445.1421341526@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