aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeIndexonlyscan.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:42 +0300
commit45fcd758a07fef44a8773202b13f469c9636dffc (patch)
treefacd69454e0c797717822c44db082f09608cdafd /src/backend/executor/nodeIndexonlyscan.c
parentbc62aef53d686b282f164277da0f2405a4fd0ac3 (diff)
downloadpostgresql-45fcd758a07fef44a8773202b13f469c9636dffc.tar.gz
postgresql-45fcd758a07fef44a8773202b13f469c9636dffc.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/nodeIndexonlyscan.c')
-rw-r--r--src/backend/executor/nodeIndexonlyscan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/executor/nodeIndexonlyscan.c b/src/backend/executor/nodeIndexonlyscan.c
index 3a02a996214..8c32a74d39e 100644
--- a/src/backend/executor/nodeIndexonlyscan.c
+++ b/src/backend/executor/nodeIndexonlyscan.c
@@ -84,8 +84,8 @@ IndexOnlyNext(IndexOnlyScanState *node)
{
/*
* We reach here if the index only scan is not parallel, or if we're
- * executing a index only scan that was intended to be parallel
- * serially.
+ * serially executing an index only scan that was planned to be
+ * parallel.
*/
scandesc = index_beginscan(node->ss.ss_currentRelation,
node->ioss_RelationDesc,