Skip to content

Commit eb68141

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 Langote Discussion: https://postgr.es/m/e46c0569-0449-afa0-e2fe-f3776e4b3fd5@lab.ntt.co.jp
1 parent 404e667 commit eb68141

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
* fdwroutine if it's a foreign table, the FDW function pointers
7979
* pages number of pages
8080
* tuples number 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 in GetRelationInfo */
129+
rel->rel_parallel_workers = -1; /* set up in get_relation_info */
130130
rel->serverid = InvalidOid;
131131
rel->userid = rte->checkAsUser;
132132
rel->useridiscurrent = false;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy