From: Andrew Gierth <andrew@tao11.riddles.org.uk>
To: pgsql-bugs@lists.postgresql.org
Cc: sergey@romanovsky.org, Zhijiang Li <zl256@cornell.edu>
Subject: Re: BUG #15604: NOT IN condition incorrectly returns False
Date: Wed, 23 Jan 2019 06:59:36 +0000
Message-ID: <87bm473ln6.fsf@news-spur.riddles.org.uk> (raw)
In-Reply-To: <87fttj3m43.fsf@news-spur.riddles.org.uk>
References: <15604-22de62eff9d98199@postgresql.org>
<87fttj3m43.fsf@news-spur.riddles.org.uk>
>>>>> "Andrew" == Andrew Gierth <andrew@tao11.riddles.org.uk> writes:
Andrew> The condition 1 NOT IN (2,NULL) is equivalent to (1=2) OR
Andrew> (1=NULL),
I mean NOT ((1=2) OR (1=NULL)) of course, but NOT (NULL) is still NULL.
--
Andrew (irc:RhodiumToad)
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: andrew@tao11.riddles.org.uk, zl256@cornell.edu
Subject: Re: BUG #15604: NOT IN condition incorrectly returns False
In-Reply-To: <87bm473ln6.fsf@news-spur.riddles.org.uk>
References: <15604-22de62eff9d98199@postgresql.org> <87fttj3m43.fsf@news-spur.riddles.org.uk> <87bm473ln6.fsf@news-spur.riddles.org.uk>
* 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