From: Bruce Momjian Date: Wed, 5 Oct 2011 01:47:07 +0000 (-0400) Subject: Explain COALESCE example in the docs. X-Git-Tag: REL9_2_BETA1~1032 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9d23d7cdafb3540aa2de9310c7f1afee87dfc2f2;p=postgresql Explain COALESCE example in the docs. --- diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 0b6a109432..2f307c2b12 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -10015,6 +10015,8 @@ SELECT ... WHERE CASE WHEN x <> 0 THEN y/x > 1.5 ELSE false END; SELECT COALESCE(description, short_description, '(none)') ... + This returns description if it is not null, or + short_description if it is not null, or (none).