Commit a4634b96 authored by Bruce Momjian's avatar Bruce Momjian

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

Adjustment to commit 8610c973.

Reported-by: Tom Lane

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

Backpatch-through: 9.3
parent 3e0f1a47
...@@ -15247,7 +15247,7 @@ WHERE EXISTS (SELECT 1 FROM tab2 WHERE col2 = tab1.col2); ...@@ -15247,7 +15247,7 @@ WHERE EXISTS (SELECT 1 FROM tab2 WHERE col2 = tab1.col2);
subquery row (including the case where the subquery returns no subquery row (including the case where the subquery returns no
rows). rows).
The result is NULL if no comparison with a subquery row returns true, 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>
<para> <para>
...@@ -15273,7 +15273,7 @@ WHERE EXISTS (SELECT 1 FROM tab2 WHERE col2 = tab1.col2); ...@@ -15273,7 +15273,7 @@ WHERE EXISTS (SELECT 1 FROM tab2 WHERE col2 = tab1.col2);
(including the case where the subquery returns no rows). (including the case where the subquery returns no rows).
The result is <quote>false</quote> if any false result is found. The result is <quote>false</quote> if any false result is found.
The result is NULL if no comparison with a subquery row returns false, 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>
<para> <para>
...@@ -15303,7 +15303,7 @@ WHERE EXISTS (SELECT 1 FROM tab2 WHERE col2 = tab1.col2); ...@@ -15303,7 +15303,7 @@ WHERE EXISTS (SELECT 1 FROM tab2 WHERE col2 = tab1.col2);
The result is <quote>false</quote> if the comparison returns false for any The result is <quote>false</quote> if the comparison returns false for any
subquery row. subquery row.
The result is NULL if no comparison with a subquery row returns false, 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>
<para> <para>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment