Commit 3919ad86 authored by Bruce Momjian's avatar Bruce Momjian

Change wording for COALESCE docs to use "otherwise".

Per Tom
parent 9d23d7cd
...@@ -10015,8 +10015,8 @@ SELECT ... WHERE CASE WHEN x <> 0 THEN y/x > 1.5 ELSE false END; ...@@ -10015,8 +10015,8 @@ SELECT ... WHERE CASE WHEN x <> 0 THEN y/x > 1.5 ELSE false END;
<programlisting> <programlisting>
SELECT COALESCE(description, short_description, '(none)') ... SELECT COALESCE(description, short_description, '(none)') ...
</programlisting> </programlisting>
This returns <varname>description</> if it is not null, or This returns <varname>description</> if it is not null, otherwise
<varname>short_description</> if it is not null, or <literal>(none)</>. <varname>short_description</> if it is not null, otherwise <literal>(none)</>.
</para> </para>
<para> <para>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment