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

Commit8610c97

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 parent6286efb commit8610c97

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
@@ -15246,7 +15246,7 @@ WHERE EXISTS (SELECT 1 FROM tab2 WHERE col2 = tab1.col2);
1524615246
The result is <quote>false</quote> if the comparison returns false for every
1524715247
subquery row (including the case where the subquery returns no
1524815248
rows).
15249-
The result is NULL ifthe comparisondoes not return true for any row,
15249+
The result is NULL ifno comparisonwith a subquery row returns true,
1525015250
and it returns NULL for at least one row.
1525115251
</para>
1525215252

@@ -15272,7 +15272,7 @@ WHERE EXISTS (SELECT 1 FROM tab2 WHERE col2 = tab1.col2);
1527215272
The result of <token>ALL</token> is <quote>true</quote> if all rows yield true
1527315273
(including the case where the subquery returns no rows).
1527415274
The result is <quote>false</quote> if any false result is found.
15275-
The result is NULL ifthe comparisondoes not return false for any row,
15275+
The result is NULL ifno comparisonwith a subquery row returns false,
1527615276
and it returns NULL for at least one row.
1527715277
</para>
1527815278

@@ -15302,8 +15302,8 @@ WHERE EXISTS (SELECT 1 FROM tab2 WHERE col2 = tab1.col2);
1530215302
case where the subquery returns no rows).
1530315303
The result is <quote>false</quote> if the comparison returns false for any
1530415304
subquery row.
15305-
The result is NULL ifthe comparisondoes not return false for any
15306-
subquery row,and it returns NULL for at least one row.
15305+
The result is NULL ifno comparisonwith a subquery row returns false,
15306+
and it returns NULL for at least one row.
1530715307
</para>
1530815308

1530915309
<para>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp