Commit ebbcba75 authored by Bruce Momjian's avatar Bruce Momjian

Add documentation mention that 7 != NULL also returns NULL.

parent bc9306f4
...@@ -364,8 +364,8 @@ ...@@ -364,8 +364,8 @@
</indexterm> </indexterm>
Ordinary comparison operators yield null (signifying <quote>unknown</>), Ordinary comparison operators yield null (signifying <quote>unknown</>),
not true or false, when either input is null. For example, not true or false, when either input is null. For example,
<literal>7 = NULL</> yields null. When this behavior is not suitable, <literal>7 = NULL</> yields null, as does <literal>7 &lt;&gt; NULL</>. When
use the this behavior is not suitable, use the
<literal>IS <optional> NOT </> DISTINCT FROM</literal> constructs: <literal>IS <optional> NOT </> DISTINCT FROM</literal> constructs:
<synopsis> <synopsis>
<replaceable>expression</replaceable> IS DISTINCT FROM <replaceable>expression</replaceable> <replaceable>expression</replaceable> IS DISTINCT FROM <replaceable>expression</replaceable>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment