Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit99fdeba

Browse files
committed
Rephrase a few comments for clarity.
I was confused by what "intended to be parallel serially" meant, untilRobert Haas and David G. Johnston explained it. Rephrase the comment tomake it more clear, using David's suggested wording.Discussion:https://www.postgresql.org/message-id/1fec9022-41e8-e484-70ce-2179b08c2092%40iki.fi
1 parent405cb35 commit99fdeba

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

‎src/backend/executor/nodeIndexonlyscan.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ IndexOnlyNext(IndexOnlyScanState *node)
8484
{
8585
/*
8686
* We reach here if the index only scan is not parallel, or if we're
87-
* executinga index only scan that wasintended to be parallel
88-
*serially.
87+
*seriallyexecutingan index only scan that wasplanned to be
88+
*parallel.
8989
*/
9090
scandesc=index_beginscan(node->ss.ss_currentRelation,
9191
node->ioss_RelationDesc,

‎src/backend/executor/nodeIndexscan.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ IndexNext(IndexScanState *node)
108108
{
109109
/*
110110
* We reach here if the index scan is not parallel, or if we're
111-
* executinga index scan that wasintended to be parallel serially.
111+
*seriallyexecutingan index scan that wasplanned to be parallel.
112112
*/
113113
scandesc=index_beginscan(node->ss.ss_currentRelation,
114114
node->iss_RelationDesc,
@@ -214,7 +214,7 @@ IndexNextWithReorder(IndexScanState *node)
214214
{
215215
/*
216216
* We reach here if the index scan is not parallel, or if we're
217-
* executinga index scan that wasintended to be parallel serially.
217+
*seriallyexecutingan index scan that wasplanned to be parallel.
218218
*/
219219
scandesc=index_beginscan(node->ss.ss_currentRelation,
220220
node->iss_RelationDesc,

‎src/backend/executor/nodeSeqscan.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ SeqNext(SeqScanState *node)
6565
if (scandesc==NULL)
6666
{
6767
/*
68-
* We reach here if the scan is not parallel, or if we'reexecuting a
69-
* scan that wasintended to be parallel serially.
68+
* We reach here if the scan is not parallel, or if we'reserially
69+
*executing ascan that wasplanned to be parallel.
7070
*/
7171
scandesc=heap_beginscan(node->ss.ss_currentRelation,
7272
estate->es_snapshot,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp