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

Commiteb68141

Browse files
committed
Fix get_relation_info name typo'ed in a comment
Plus add a missing comment about this in get_relation_info itself.Author: Amit LangoteDiscussion:https://postgr.es/m/e46c0569-0449-afa0-e2fe-f3776e4b3fd5@lab.ntt.co.jp
1 parent404e667 commiteb68141

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

‎src/backend/optimizer/util/plancat.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ static List *build_index_tlist(PlannerInfo *root, IndexOptInfo *index,
7878
*fdwroutineif it's a foreign table, the FDW function pointers
7979
*pagesnumber of pages
8080
*tuplesnumber of tuples
81+
*rel_parallel_workers user-defined number of parallel workers
8182
*
8283
* Also, add information about the relation's foreign keys to root->fkey_list.
8384
*

‎src/backend/optimizer/util/relnode.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ build_simple_rel(PlannerInfo *root, int relid, RelOptKind reloptkind)
126126
rel->allvisfrac=0;
127127
rel->subroot=NULL;
128128
rel->subplan_params=NIL;
129-
rel->rel_parallel_workers=-1;/* set up inGetRelationInfo */
129+
rel->rel_parallel_workers=-1;/* set up inget_relation_info */
130130
rel->serverid=InvalidOid;
131131
rel->userid=rte->checkAsUser;
132132
rel->useridiscurrent= false;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp