Add a note pointing out that some other databases make GREATEST and
authorTom Lane
Tue, 30 Oct 2007 19:06:56 +0000 (19:06 +0000)
committerTom Lane
Tue, 30 Oct 2007 19:06:56 +0000 (19:06 +0000)
LEAST handle NULL arguments differently than we do.  Per a discussion
on 30-Jun that somehow didn't get done.

doc/src/sgml/func.sgml

index 5feb572de2d9b3f9c7b1ff65135fa6f35f56902b..34e9d56e65955b8fc3c544943d3bdbdc95fdc8ae 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
  
   Functions and Operators
@@ -9016,7 +9016,9 @@ SELECT NULLIF(value, '(none)') ...
 
    
     Note that GREATEST and LEAST are not in
-    the SQL standard, but are a common extension.
+    the SQL standard, but are a common extension.  Some other databases
+    make them return NULL if any argument is NULL, rather than only when
+    all are NULL.