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

Commit86c6aaf

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 parent1ed3c6f commit86c6aaf

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
@@ -1540,9 +1540,10 @@ ExecutePlan(EState *estate,
15401540
estate->es_direction=direction;
15411541

15421542
/*
1543-
* If a tuple count was supplied or data is being written to relation, we
1544-
* must force the plan to run without parallelism, because we might exit
1545-
* early.
1543+
* If a tuple count was supplied, we must force the plan to run without
1544+
* parallelism, because we might exit early. Also disable parallelism
1545+
* when writing into a relation, because no database changes are allowed
1546+
* in parallel mode.
15461547
*/
15471548
if (numberTuples||dest->mydest==DestIntoRel)
15481549
use_parallel_mode= false;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp