Re: Proposal: revert behavior of IS NULL on row types - Mailing list pgsql-hackers

From Andrew Gierth
Subject Re: Proposal: revert behavior of IS NULL on row types
Date
Msg-id 87invxqkfz.fsf@news-spur.riddles.org.uk
Whole thread Raw
In response to Re: Proposal: revert behavior of IS NULL on row types  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-hackers
>>>>> "David" == David G Johnston <david.g.johnston@gmail.com> writes:
>> 1. x IS NULL  is true if and only if x has the null value (isnull set).
David> ​I don't have a problem conforming to "ROW(NULL, NULL) IS NULL"David> being true...​if you somehow get a hold of
somethingin thatDavid> form, which your others points address. 

This seems harmless, but I think it's not worth the pain.

I'm informed that for example on Oracle:
 select case when foo_type(null, null) is null             then 'true' else 'false'         end from dual;

returns 'false'.

--
Andrew (irc:RhodiumToad)



pgsql-hackers by date:

Previous
From: Andrew Gierth
Date:
Subject: Re: Proposal: revert behavior of IS NULL on row types
Next
From: "David G. Johnston"
Date:
Subject: Re: Proposal: revert behavior of IS NULL on row types