aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2011-12-01 09:17:51 -0500
committerBruce Momjian <bruce@momjian.us>2011-12-01 09:17:51 -0500
commitebbcba75b46699fe11e347e1250898ce7d01b6f2 (patch)
treea30d2544ec65cfcc4576fe4ec1d3818056a02b5c /doc/src
parentbc9306f4c5e55042e20c8d8b308e573478f26e34 (diff)
downloadpostgresql-ebbcba75b46699fe11e347e1250898ce7d01b6f2.tar.gz
postgresql-ebbcba75b46699fe11e347e1250898ce7d01b6f2.zip
Add documentation mention that 7 != NULL also returns NULL.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/func.sgml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index be92e6acb32..ddfb29a4338 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -364,8 +364,8 @@
</indexterm>
Ordinary comparison operators yield null (signifying <quote>unknown</>),
not true or false, when either input is null. For example,
- <literal>7 = NULL</> yields null. When this behavior is not suitable,
- use the
+ <literal>7 = NULL</> yields null, as does <literal>7 &lt;&gt; NULL</>. When
+ this behavior is not suitable, use the
<literal>IS <optional> NOT </> DISTINCT FROM</literal> constructs:
<synopsis>
<replaceable>expression</replaceable> IS DISTINCT FROM <replaceable>expression</replaceable>