Search Postgresql Archives

Re: Shouldn't "WHEN (OLD.* IS DISTINCT FROM NEW.*)" clause be independent from data type?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Adrian Klaver <adrian.klaver@xxxxxxxxxxx> writes:
> On 09/17/2015 07:34 AM, Tom Lane wrote:
>> Ah, sorry, actually what IS [NOT] DISTINCT FROM looks up is the "="
>> operator.

> So the docs should be changed?
> As they stand now:
> http://www.postgresql.org/docs/9.4/interactive/functions-comparison.html
> "For non-null inputs, IS DISTINCT FROM is the same as the <> operator. "

Well, it's an oversimplification to begin with.  Do we want to try to
cram all of these implementation details in there?

			regards, tom lane


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux