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 87eg6lqjhn.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>)
Responses 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:
>> Prohibiting IS NOT NULL is not on the cards; it's very widely used.
David> ​Yet changing how it behaves, invisibly, is?

Did you mean prohibiting it only for composite-type args? It's obviously
widely used for non-composite args.

I would expect that >95% of cases where someone has written (x IS NOT
NULL) for x being a composite type, it's actually a bug and that NOT (x
IS NULL) was intended.

--
Andrew (irc:RhodiumToad)



pgsql-hackers by date:

Previous
From: "David G. Johnston"
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