Re: Does Type Have = Operator? - Mailing list pgsql-hackers

From David G. Johnston
Subject Re: Does Type Have = Operator?
Date
Msg-id CAKFQuwbCKYNVkxQwiN_onMggyqThUzX4ZjO-O2-EyXrcsU3p+Q@mail.gmail.com
Whole thread Raw
In response to Re: Does Type Have = Operator?  (Euler Taveira <euler@timbira.com.br>)
Responses Re: Does Type Have = Operator?
List pgsql-hackers
On Tuesday, May 10, 2016, Euler Taveira <euler@timbira.com.br> wrote:
Also, IS DISTINCT FROM is an alias for = operator per standard IIRC.

Technically "is not distinct from" would be more correct.   Alias implies exact while in the presence of nulls the two behave differently.

"is distinct from" ~ "<>" which is the canonical form (alias) for "!="

http://www.postgresql.org/docs/9.5/interactive/functions-comparison.html

David J.


pgsql-hackers by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Accurate list of Keywords / Datatypes?
Next
From: Bruce Momjian
Date:
Subject: Re: release management team statement on patch reverts