postgres.git / summary / log / commit / refs

commit    ebbcba75b46699fe11e347e1250898ce7d01b6f2
Author:   Bruce Momjian <bruce@momjian.us>
Date:     Thu Dec 01 14:17:51 2011 +0000

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


doc/src/sgml/func.sgml | 4 ++-- 1 file 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> [parent: bc9306f4c5e5]