diff options
author | Amit Kapila <akapila@postgresql.org> | 2019-06-07 05:35:31 +0530 |
---|---|---|
committer | Amit Kapila <akapila@postgresql.org> | 2019-06-07 05:35:31 +0530 |
commit | fac1ed2742938080112e5e394fb281f7ca361d59 (patch) | |
tree | 5324177093da34484344d8ca9fe3ecafe15875bb /src/backend/executor/execParallel.c | |
parent | 974a2867ea5da8d5a8cc31bb9c8897e118fb1a89 (diff) | |
download | postgresql-fac1ed2742938080112e5e394fb281f7ca361d59.tar.gz postgresql-fac1ed2742938080112e5e394fb281f7ca361d59.zip |
Fix inconsistency in comments atop ExecParallelEstimate.
When this code was initially introduced in commit d1b7c1ff, the structure
used was SharedPlanStateInstrumentation, but later when it got changed to
Instrumentation structure in commit b287df70, we forgot to update the
comment.
Reported-by: Wu Fei
Author: Wu Fei
Reviewed-by: Amit Kapila
Backpatch-through: 9.6
Discussion: https://postgr.es/m/52E6E0843B9D774C8C73D6CF64402F0562215EB2@G08CNEXMBPEKD02.g08.fujitsu.local
Diffstat (limited to 'src/backend/executor/execParallel.c')
-rw-r--r-- | src/backend/executor/execParallel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/executor/execParallel.c b/src/backend/executor/execParallel.c index cabe9fd0bef..e65826560e7 100644 --- a/src/backend/executor/execParallel.c +++ b/src/backend/executor/execParallel.c @@ -201,7 +201,7 @@ ExecSerializePlan(Plan *plan, EState *estate) * shm_toc_estimate_keys on &pcxt->estimator. * * While we're at it, count the number of PlanState nodes in the tree, so - * we know how many SharedPlanStateInstrumentation structures we need. + * we know how many Instrumentation structures we need. */ static bool ExecParallelEstimate(PlanState *planstate, ExecParallelEstimateContext *e) |