diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2016-11-28 15:56:00 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2016-11-28 15:56:00 -0300 |
commit | d43ff47eabda68a8d37bf795ffb96809919b09b7 (patch) | |
tree | 669e9759d669d67429debe743a8e29439a6c6a2d | |
parent | 28735cc72d992ed52df0c3d90140d914ef722639 (diff) | |
download | postgresql-d43ff47eabda68a8d37bf795ffb96809919b09b7.tar.gz postgresql-d43ff47eabda68a8d37bf795ffb96809919b09b7.zip |
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
-rw-r--r-- | src/backend/optimizer/util/plancat.c | 1 | ||||
-rw-r--r-- | src/backend/optimizer/util/relnode.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/optimizer/util/plancat.c b/src/backend/optimizer/util/plancat.c index ad07baa60c9..bb16c59028d 100644 --- a/src/backend/optimizer/util/plancat.c +++ b/src/backend/optimizer/util/plancat.c @@ -78,6 +78,7 @@ static List *build_index_tlist(PlannerInfo *root, IndexOptInfo *index, * fdwroutine if it's a foreign table, the FDW function pointers * pages number of pages * tuples number of tuples + * rel_parallel_workers user-defined number of parallel workers * * Also, add information about the relation's foreign keys to root->fkey_list. * diff --git a/src/backend/optimizer/util/relnode.c b/src/backend/optimizer/util/relnode.c index 806600ed107..23615f22e30 100644 --- a/src/backend/optimizer/util/relnode.c +++ b/src/backend/optimizer/util/relnode.c @@ -126,7 +126,7 @@ build_simple_rel(PlannerInfo *root, int relid, RelOptKind reloptkind) rel->allvisfrac = 0; rel->subroot = NULL; rel->subplan_params = NIL; - rel->rel_parallel_workers = -1; /* set up in GetRelationInfo */ + rel->rel_parallel_workers = -1; /* set up in get_relation_info */ rel->serverid = InvalidOid; rel->userid = rte->checkAsUser; rel->useridiscurrent = false; |