summaryrefslogtreecommitdiff
path: root/src/backend/executor
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:09:41 +0300
commit8b1d2685b82fd0ab09c2ba36081e53248c3b09cb (patch)
treeb07059c1c1b56ff69a2dae68e51ca4f868e6ead4 /src/backend/executor
parent164ed1532f78574a904b4bd080c28105a45e2765 (diff)
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')
-rw-r--r--src/backend/executor/nodeSeqscan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/executor/nodeSeqscan.c b/src/backend/executor/nodeSeqscan.c
index 00bf3a58b1a..a8d3194611f 100644
--- a/src/backend/executor/nodeSeqscan.c
+++ b/src/backend/executor/nodeSeqscan.c
@@ -65,8 +65,8 @@ SeqNext(SeqScanState *node)
if (scandesc == NULL)
{
/*
- * We reach here if the scan is not parallel, or if we're executing a
- * scan that was intended to be parallel serially.
+ * We reach here if the scan is not parallel, or if we're serially
+ * executing a scan that was planned to be parallel.
*/
scandesc = heap_beginscan(node->ss.ss_currentRelation,
estate->es_snapshot,