From ebbcba75b46699fe11e347e1250898ce7d01b6f2 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Thu, 1 Dec 2011 09:17:51 -0500 Subject: [PATCH] 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 be92e6acb3..ddfb29a433 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -364,8 +364,8 @@ Ordinary comparison operators yield null (signifying unknown), not true or false, when either input is null. For example, - 7 = NULL yields null. When this behavior is not suitable, - use the + 7 = NULL yields null, as does 7 <> NULL. When + this behavior is not suitable, use the IS NOT DISTINCT FROM constructs: expression IS DISTINCT FROM expression -- 2.40.0