Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf5382cf

Browse files
committed
doc: use simpler language for NULL return from ANY/ALL
Previously the combination of "does not return" and "any row" causedambiguity.Reported-by: KES <kes-kes@yandex.ru>Discussion:https://postgr.es/m/153701242703.22334.1476830122267077397@wrigleys.postgresql.orgReviewed-by: David G. JohnstonBackpatch-through: 9.3
1 parent87f76f1 commitf5382cf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎doc/src/sgml/func.sgml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14620,7 +14620,7 @@ WHERE EXISTS (SELECT 1 FROM tab2 WHERE col2 = tab1.col2);
1462014620
The result is <quote>false</> if the comparison returns false for every
1462114621
subquery row (including the case where the subquery returns no
1462214622
rows).
14623-
The result is NULL ifthe comparisondoes not return true for any row,
14623+
The result is NULL ifno comparisonwith a subquery row returns true,
1462414624
and it returns NULL for at least one row.
1462514625
</para>
1462614626

@@ -14646,7 +14646,7 @@ WHERE EXISTS (SELECT 1 FROM tab2 WHERE col2 = tab1.col2);
1464614646
The result of <token>ALL</token> is <quote>true</> if all rows yield true
1464714647
(including the case where the subquery returns no rows).
1464814648
The result is <quote>false</> if any false result is found.
14649-
The result is NULL ifthe comparisondoes not return false for any row,
14649+
The result is NULL ifno comparisonwith a subquery row returns false,
1465014650
and it returns NULL for at least one row.
1465114651
</para>
1465214652

@@ -14676,8 +14676,8 @@ WHERE EXISTS (SELECT 1 FROM tab2 WHERE col2 = tab1.col2);
1467614676
case where the subquery returns no rows).
1467714677
The result is <quote>false</> if the comparison returns false for any
1467814678
subquery row.
14679-
The result is NULL ifthe comparisondoes not return false for any
14680-
subquery row,and it returns NULL for at least one row.
14679+
The result is NULL ifno comparisonwith a subquery row returns false,
14680+
and it returns NULL for at least one row.
1468114681
</para>
1468214682

1468314683
<para>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp