docs: adjust simpler language for NULL return from ANY/ALL
authorBruce Momjian <[email protected]>
Fri, 2 Nov 2018 17:05:30 +0000 (13:05 -0400)
committerBruce Momjian <[email protected]>
Fri, 2 Nov 2018 17:05:30 +0000 (13:05 -0400)
Adjustment to commit 8610c973ddf1cbf0befc1369d2cf0d56c0efcd0a.

Reported-by: Tom Lane
Discussion: https://postgr.es/m/17406.1541168421@sss.pgh.pa.us

Backpatch-through: 9.3

doc/src/sgml/func.sgml

index 31b855cbeeceb727d14e09f6821cf7179bb1e38b..377cf62cb69ecfe50c660f6897e35f24008e8260 100644 (file)
@@ -13734,7 +13734,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>
@@ -13760,7 +13760,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>
@@ -13790,7 +13790,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>