aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeIndexscan.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2017-10-28 11:50:22 +0200
committerRobert Haas <rhaas@postgresql.org>2017-10-28 11:50:22 +0200
commit11c1d555cebe8045a45bc0ee10d0673fad8d4895 (patch)
tree9ee3821e92c396eb9aead80ff6ca464d74771cf8 /src/backend/executor/nodeIndexscan.c
parent9f295c08f8776213ccb592de0c4f094738d6d841 (diff)
downloadpostgresql-11c1d555cebe8045a45bc0ee10d0673fad8d4895.tar.gz
postgresql-11c1d555cebe8045a45bc0ee10d0673fad8d4895.zip
Improve comments for parallel executor estimation functions.
The previous comment (which was copied as boilerplate from one file to the next) implied that it was the executor node itself which was being serialized, but that's not right. We're not serializing the executor nodes; we're just allowing them to store some additional information in DSM. Adjusts the comment to reflect this. Discussion: http://postgr.es/m/CA+TgmoaHVinxG=3h6qBAsyV8xaDyQwbzK7YZnYfE8nJFMK1=FA@mail.gmail.com
Diffstat (limited to 'src/backend/executor/nodeIndexscan.c')
-rw-r--r--src/backend/executor/nodeIndexscan.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/executor/nodeIndexscan.c b/src/backend/executor/nodeIndexscan.c
index 638b17b07cb..262008240db 100644
--- a/src/backend/executor/nodeIndexscan.c
+++ b/src/backend/executor/nodeIndexscan.c
@@ -1644,7 +1644,8 @@ ExecIndexBuildScanKeys(PlanState *planstate, Relation index,
/* ----------------------------------------------------------------
* ExecIndexScanEstimate
*
- * estimates the space required to serialize indexscan node.
+ * Compute the amount of space we'll need in the parallel
+ * query DSM, and inform pcxt->estimator about our needs.
* ----------------------------------------------------------------
*/
void