Content-Length: 255127 | pFad | http://github.com/postgrespro/postgres/commit/9d23d7cdafb3540aa2de9310c7f1afee87dfc2f2

B8 Explain COALESCE example in the docs. · postgrespro/postgres@9d23d7c · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/9d23d7cdafb3540aa2de9310c7f1afee87dfc2f2

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy