Skip to content
Snippets Groups Projects
Commit 17aa054a authored by Amit Kapila's avatar Amit Kapila
Browse files

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
parent a15e8ce7
No related branches found
Tags
No related merge requests found
...@@ -222,7 +222,7 @@ ExecSerializePlan(Plan *plan, EState *estate) ...@@ -222,7 +222,7 @@ ExecSerializePlan(Plan *plan, EState *estate)
* &pcxt->estimator. * &pcxt->estimator.
* *
* While we're at it, count the number of PlanState nodes in the tree, so * 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 static bool
ExecParallelEstimate(PlanState *planstate, ExecParallelEstimateContext *e) ExecParallelEstimate(PlanState *planstate, ExecParallelEstimateContext *e)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment