summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut2009-07-22 18:07:26 +0000
committerPeter Eisentraut2009-07-22 18:07:26 +0000
commitc0379a52fa2c997c6fdab81c003c3536ab75df84 (patch)
treef83bbf821b0f7603cc90ffb17248209425d6b3bd
parent17de3216ca55ccb140cfc210d83698590f95e5df (diff)
Clarify NULLIF example
found by "Vesa-Matti J Kari" <[email protected]>
-rw-r--r--doc/src/sgml/func.sgml5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index 3f2fe80f5a..df6dbf379f 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -9193,8 +9193,9 @@ SELECT NULLIF(value, '(none)') ...
</programlisting>
</para>
<para>
- If <replaceable>value1</replaceable> is <literal>(none)</>, return a null,
- otherwise return <replaceable>value1</replaceable>.
+ In this example, if <literal>value</literal> is <literal>(none)</>,
+ null is returned, otherwise the value of <literal>value</literal>
+ is returned.
</para>
</sect2>