Skip to content

Commit d826159

Browse files
author
Amit Kapila
committed
Fix inconsistency in comments atop ExecParallelEstimate.
When this code was initially introduced in commit d1b7c1f, the structure used was SharedPlanStateInstrumentation, but later when it got changed to Instrumentation structure in commit b287df7, 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
1 parent e8bdea5 commit d826159

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/executor/execParallel.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ ExecSerializePlan(Plan *plan, EState *estate)
219219
* &pcxt->estimator.
220220
*
221221
* While we're at it, count the number of PlanState nodes in the tree, so
222-
* we know how many SharedPlanStateInstrumentation structures we need.
222+
* we know how many Instrumentation structures we need.
223223
*/
224224
static bool
225225
ExecParallelEstimate(PlanState *planstate, ExecParallelEstimateContext *e)

0 commit comments

Comments
 (0)