projects
/
users
/
simon
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17de321
)
Clarify NULLIF example
author
Peter Eisentraut
<peter_e@gmx.net>
Wed, 22 Jul 2009 18:07:26 +0000
(18:07 +0000)
committer
Peter Eisentraut
<peter_e@gmx.net>
Wed, 22 Jul 2009 18:07:26 +0000
(18:07 +0000)
found by "Vesa-Matti J Kari" <vmkari@cc.helsinki.fi>
doc/src/sgml/func.sgml
patch
|
blob
|
blame
|
history
diff --git
a/doc/src/sgml/func.sgml
b/doc/src/sgml/func.sgml
index 3f2fe80f5a4f00d7d0644880f8b7fbc377d6046d..df6dbf379fa108f662aa8206c75c96396afd3946 100644
(file)
--- 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>