Skip to content

Commit fac1ed2

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 974a286 commit fac1ed2

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
@@ -201,7 +201,7 @@ ExecSerializePlan(Plan *plan, EState *estate)
201201
* shm_toc_estimate_keys on &pcxt->estimator.
202202
*
203203
* While we're at it, count the number of PlanState nodes in the tree, so
204-
* we know how many SharedPlanStateInstrumentation structures we need.
204+
* we know how many Instrumentation structures we need.
205205
*/
206206
static bool
207207
ExecParallelEstimate(PlanState *planstate, ExecParallelEstimateContext *e)

0 commit comments

Comments
 (0)