docs: adjust simpler language for NULL return from ANY/ALL

Adjustment to commit 8610c973dd.

Reported-by: Tom Lane

Discussion: https://postgr.es/m/17406.1541168421@sss.pgh.pa.us

Backpatch-through: 9.3
REL_10_STABLE
Bruce Momjian 7 years ago
parent 5463deb15f
commit beceb87259
  1. 6
      doc/src/sgml/func.sgml

@ -15050,7 +15050,7 @@ WHERE EXISTS (SELECT 1 FROM tab2 WHERE col2 = tab1.col2);
subquery row (including the case where the subquery returns no
rows).
The result is NULL if no comparison with a subquery row returns true,
and it returns NULL for at least one row.
and at least one comparison returns NULL.
</para>
<para>
@ -15076,7 +15076,7 @@ WHERE EXISTS (SELECT 1 FROM tab2 WHERE col2 = tab1.col2);
(including the case where the subquery returns no rows).
The result is <quote>false</> if any false result is found.
The result is NULL if no comparison with a subquery row returns false,
and it returns NULL for at least one row.
and at least one comparison returns NULL.
</para>
<para>
@ -15106,7 +15106,7 @@ WHERE EXISTS (SELECT 1 FROM tab2 WHERE col2 = tab1.col2);
The result is <quote>false</> if the comparison returns false for any
subquery row.
The result is NULL if no comparison with a subquery row returns false,
and it returns NULL for at least one row.
and at least one comparison returns NULL.
</para>
<para>

Loading…
Cancel
Save