Re: COALESCE documentation - Mailing list pgsql-docs

From Laurenz Albe
Subject Re: COALESCE documentation
Date
Msg-id 68d8e8a5f83e51eb0feb7627bb19360956d1c684.camel@cybertec.at
Whole thread Raw
In response to COALESCE documentation  (Navrátil, Ondřej <onavratil@monetplus.cz>)
List pgsql-docs
On Tue, 2024-07-02 at 12:45 +0200, Navrátil, Ondřej wrote:
> as per documentation 
> >  The COALESCE function returns the first of its arguments that is not null. Null is returned only if all arguments
arenull. 
>
> This is not exactly true. In fact:
> The COALESCE function returns the first of its arguments that is distinct from null. Null is returned only if all
argumentsare not distinct from null. 

+1

Do you want to write a documentation patch?

Yours,
Laurenz Albe



pgsql-docs by date:

Previous
From: PG Doc comments form
Date:
Subject: tutorial not accurate
Next
From: Peter Eisentraut
Date:
Subject: Re: COALESCE documentation