Re: Bug #638: Buggy select statment with numeric - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Bug #638: Buggy select statment with numeric
Date
Msg-id 14990.1019487649@sss.pgh.pa.us
Whole thread Raw
In response to Bug #638: Buggy select statment with numeric  (pgsql-bugs@postgresql.org)
List pgsql-bugs
pgsql-bugs@postgresql.org writes:
>> select * from t where n ISNULL;
>  n |      s
> ---+--------------
>    | asdasdasd
>    | qqqqqqqqqqqq
> (2 rows)

>> select * from t where n=NULL;
>  n | s
> ---+---
> (0 rows)

This is not a bug.

However, you can make 7.2 work in that braindead Microsoft-compatible
style if you wish to.  See the transform_null_equals parameter.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: 7.2.1: pg_dump of UNIONed VIEWs broken
Next
From: Ian Morgan
Date:
Subject: Re: 7.2.1: pg_dump of UNIONed VIEWs broken