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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy