aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeIndexscan.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2018-07-19 16:08:09 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2018-07-19 16:08:49 +0300
commita1dc4ea02044af557e4464029016507ea0940d8c (patch)
tree1b2bdc89694c234b8489b8bfe1ce2082377c3824 /src/backend/executor/nodeIndexscan.c
parent49d506dd2162c1798150bab18d7c332d29b4aa93 (diff)
downloadpostgresql-a1dc4ea02044af557e4464029016507ea0940d8c.tar.gz
postgresql-a1dc4ea02044af557e4464029016507ea0940d8c.zip
Rephrase a few comments for clarity.
I was confused by what "intended to be parallel serially" meant, until Robert Haas and David G. Johnston explained it. Rephrase the comment to make it more clear, using David's suggested wording. Discussion: https://www.postgresql.org/message-id/1fec9022-41e8-e484-70ce-2179b08c2092%40iki.fi
Diffstat (limited to 'src/backend/executor/nodeIndexscan.c')
-rw-r--r--src/backend/executor/nodeIndexscan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/executor/nodeIndexscan.c b/src/backend/executor/nodeIndexscan.c
index f46bc23ae85..700d7635f3c 100644
--- a/src/backend/executor/nodeIndexscan.c
+++ b/src/backend/executor/nodeIndexscan.c
@@ -108,7 +108,7 @@ IndexNext(IndexScanState *node)
{
/*
* We reach here if the index scan is not parallel, or if we're
- * executing a index scan that was intended to be parallel serially.
+ * serially executing an index scan that was planned to be parallel.
*/
scandesc = index_beginscan(node->ss.ss_currentRelation,
node->iss_RelationDesc,
@@ -215,7 +215,7 @@ IndexNextWithReorder(IndexScanState *node)
{
/*
* We reach here if the index scan is not parallel, or if we're
- * executing a index scan that was intended to be parallel serially.
+ * serially executing an index scan that was planned to be parallel.
*/
scandesc = index_beginscan(node->ss.ss_currentRelation,
node->iss_RelationDesc,