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

Commit7b71e5b

Browse files
committed
Fix some grammatical errors in some comments
Introduced by9f13376.Author: James Coleman <jtc331@gmail.com>Discussion:https://postgr.es/m/CAAaqYe9ZQ_1+QiF_Nv7b37opicBu+35ZQK1CetQ54r5UdrF1eg@mail.gmail.com
1 parentb631d01 commit7b71e5b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎src/backend/optimizer/plan/subselect.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1271,15 +1271,15 @@ convert_ANY_sublink_to_join(PlannerInfo *root, SubLink *sublink,
12711271
Assert(sublink->subLinkType==ANY_SUBLINK);
12721272

12731273
/*
1274-
* If the sub-selectrefers toany Vars of the parent query, weso let's
1275-
*considering it asLATERAL. (Varsof higher levels don't matter here.)
1274+
* If the sub-selectcontainsany Vars of the parent query, wetreat it as
1275+
* LATERAL. (Varsfrom higher levels don't matter here.)
12761276
*/
12771277
sub_ref_outer_relids=pull_varnos_of_level(NULL, (Node*)subselect,1);
12781278
use_lateral= !bms_is_empty(sub_ref_outer_relids);
12791279

12801280
/*
1281-
*Check thatsub-selectrefers nothing outside ofavailable_rels of the
1282-
*parent query.
1281+
*Can't convert if thesub-selectcontains parent-level Vars ofrelations
1282+
*not in available_rels.
12831283
*/
12841284
if (!bms_is_subset(sub_ref_outer_relids,available_rels))
12851285
returnNULL;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp