summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Kapila2019-06-07 00:15:06 +0000
committerAmit Kapila2019-06-07 00:15:06 +0000
commit5afb57038f338adefb282afb7976c3ab86a92085 (patch)
tree6402b0a88d81bbd0ebb2a665df787a08be8695ff
parentf46eae4fc140ae7e86825095ea7e029cbecddfc7 (diff)
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
-rw-r--r--src/backend/executor/execParallel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/executor/execParallel.c b/src/backend/executor/execParallel.c
index b1a3d91a196..47724080c9e 100644
--- a/src/backend/executor/execParallel.c
+++ b/src/backend/executor/execParallel.c
@@ -172,7 +172,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)