]> granicus.if.org Git - postgresql/commitdiff
Add documentation mention that 7 != NULL also returns NULL.
authorBruce Momjian <bruce@momjian.us>
Thu, 1 Dec 2011 14:17:51 +0000 (09:17 -0500)
committerBruce Momjian <bruce@momjian.us>
Thu, 1 Dec 2011 14:17:51 +0000 (09:17 -0500)
doc/src/sgml/func.sgml

index be92e6acb32e5a484ab4112fb270a05906036d62..ddfb29a433813684c60c545dfb124d50020df72a 100644 (file)
     </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>