From: Bruce Momjian Date: Wed, 5 Oct 2011 01:47:07 +0000 (-0400) Subject: Explain COALESCE example in the docs. X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=9d23d7cdafb3540aa2de9310c7f1afee87dfc2f2;p=users%2Fkgrittn%2Fpostgres.git 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).