BUG #2178: NOT IN command don't work - Mailing list pgsql-bugs

From Daniel Afonso Heisler
Subject BUG #2178: NOT IN command don't work
Date
Msg-id 20060117220028.2DB9DF0B01@svr2.postgresql.org
Whole thread Raw
Responses Re: BUG #2178: NOT IN command don't work
Re: BUG #2178: NOT IN command don't work
Re: BUG #2178: NOT IN command don't work
List pgsql-bugs
The following bug has been logged online:

Bug reference:      2178
Logged by:          Daniel Afonso Heisler
Email address:      daniel@solis.coop.br
PostgreSQL version: 8.1.X
Operating system:   Linux
Description:        NOT IN command don't work
Details:

When i run the following query, postgreSQL return TRUE.
 # SELECT true WHERE 1 NOT IN (2,3);

But, when i run the next query, it don't return TRUE
 # SELECT true WHERE 1 NOT IN (2,NULL,3);

In theory, that is not correctly. The operator IN work with normally. See
the next example:

 # SELECT true WHERE 1 IN (1,2,NULL,3);

pgsql-bugs by date:

Previous
From: "Giles Morant"
Date:
Subject: BUG #2177: (minor:) pgsql: Trailing semicolon on \d treated as argument
Next
From: "stephanie"
Date:
Subject: BUG #2179: psql can't show chinese