diff options
author | Peter Eisentraut | 2009-07-22 18:07:26 +0000 |
---|---|---|
committer | Peter Eisentraut | 2009-07-22 18:07:26 +0000 |
commit | c0379a52fa2c997c6fdab81c003c3536ab75df84 (patch) | |
tree | f83bbf821b0f7603cc90ffb17248209425d6b3bd | |
parent | 17de3216ca55ccb140cfc210d83698590f95e5df (diff) |
Clarify NULLIF example
found by "Vesa-Matti J Kari" <[email protected]>
-rw-r--r-- | doc/src/sgml/func.sgml | 5 |
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> |