fix_comment_parallel_mode_v1.patch
application/octet-stream
Filename: fix_comment_parallel_mode_v1.patch
Type: application/octet-stream
Part: 0
Patch
Same data as JSON:
GET /api/v1/attachments/:id/patch
the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes.
API reference →
Format: unified
Series: patch v1
| File | + | − |
|---|---|---|
| src/backend/executor/execMain.c | 4 | 3 |
diff --git a/src/backend/executor/execMain.c b/src/backend/executor/execMain.c index 0f47c7e..d43a204 100644 --- a/src/backend/executor/execMain.c +++ b/src/backend/executor/execMain.c @@ -1550,9 +1550,10 @@ ExecutePlan(EState *estate, estate->es_direction = direction; /* - * If a tuple count was supplied or data is being written to relation, we - * must force the plan to run without parallelism, because we might exit - * early. + * If a tuple count was supplied, we must force the plan to run without + * parallelism, because we might exit early. Also disable parallelism + * when writing into a relation, because no database changes are allowed + * in parallel mode. */ if (numberTuples || dest->mydest == DestIntoRel) use_parallel_mode = false;