From: Havasvölgyi Ottó <h.otto@freemail.hu>
To: pgsql-sql@postgresql.org
Subject: NULL in IN clause
Date: Wed, 19 Oct 2005 22:17:34 +0200
Message-ID: <001a01c5d4ea$243a1830$6400a8c0@OTTO> (raw)
References: <00cc01c5d00b$3a67dc70$1102a8c0@dream>
<1129681803.15546.21.camel@state.g2switchworks.com>
Hi,
I have just run this command on 8.0.4 :
SELECT 'foo' WHERE 0 NOT IN (NULL, 1);
And it resulted is zero rows.
Without NULL it is OK.
Is this a bug, or the standard has such a rule?
Best Regards,
Otto
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: h.otto@freemail.hu
Subject: Re: NULL in IN clause
In-Reply-To: <001a01c5d4ea$243a1830$6400a8c0@OTTO>
* 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