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

Commit01ae881

Browse files
committed
Fix bogus comment.
Commit4212cb7 rendered a commentin execMain.c incorrect. Per complaint from Tom Lane, repair.Patch from Amit Kapila, per wording suggested by Tom Lane and me.
1 parentab4575d commit01ae881

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

‎src/backend/executor/execMain.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1550,9 +1550,10 @@ ExecutePlan(EState *estate,
15501550
estate->es_direction=direction;
15511551

15521552
/*
1553-
* If a tuple count was supplied or data is being written to relation, we
1554-
* must force the plan to run without parallelism, because we might exit
1555-
* early.
1553+
* If a tuple count was supplied, we must force the plan to run without
1554+
* parallelism, because we might exit early. Also disable parallelism
1555+
* when writing into a relation, because no database changes are allowed
1556+
* in parallel mode.
15561557
*/
15571558
if (numberTuples||dest->mydest==DestIntoRel)
15581559
use_parallel_mode= false;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp