mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-11-27 07:21:09 +08:00
Add a note pointing out that some other databases make GREATEST and
LEAST handle NULL arguments differently than we do. Per a discussion on 30-Jun that somehow didn't get done.
This commit is contained in:
parent
b973530737
commit
897313e824
@ -1,4 +1,4 @@
|
||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.405 2007/10/25 18:54:03 tgl Exp $ -->
|
||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.406 2007/10/30 19:06:56 tgl Exp $ -->
|
||||
|
||||
<chapter id="functions">
|
||||
<title>Functions and Operators</title>
|
||||
@ -9016,7 +9016,9 @@ SELECT NULLIF(value, '(none)') ...
|
||||
|
||||
<para>
|
||||
Note that <function>GREATEST</> and <function>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.
|
||||
</para>
|
||||
</sect2>
|
||||
</sect1>
|
||||
|
Loading…
Reference in New Issue
Block a user