Skip to content

Commit 9d23d7c

Browse files
committed
Explain COALESCE example in the docs.
1 parent 41e461d commit 9d23d7c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/src/sgml/func.sgml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10015,6 +10015,8 @@ SELECT ... WHERE CASE WHEN x <> 0 THEN y/x > 1.5 ELSE false END;
1001510015
<programlisting>
1001610016
SELECT COALESCE(description, short_description, '(none)') ...
1001710017
</programlisting>
10018+
This returns <varname>description</> if it is not null, or
10019+
<varname>short_description</> if it is not null, or <literal>(none)</>.
1001810020
</para>
1001910021

1002010022
<para>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy