Skip to content

Commit ebbcba7

Browse files
committed
Add documentation mention that 7 != NULL also returns NULL.
1 parent bc9306f commit ebbcba7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/src/sgml/func.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,8 +364,8 @@
364364
</indexterm>
365365
Ordinary comparison operators yield null (signifying <quote>unknown</>),
366366
not true or false, when either input is null. For example,
367-
<literal>7 = NULL</> yields null. When this behavior is not suitable,
368-
use the
367+
<literal>7 = NULL</> yields null, as does <literal>7 &lt;&gt; NULL</>. When
368+
this behavior is not suitable, use the
369369
<literal>IS <optional> NOT </> DISTINCT FROM</literal> constructs:
370370
<synopsis>
371371
<replaceable>expression</replaceable> IS DISTINCT FROM <replaceable>expression</replaceable>

0 commit comments

Comments
 (0)