forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf24cf96
committed
Fix test for subplans in force-parallel mode.
We mustn't force parallel mode if the query has any subplans, sinceExecSerializePlan doesn't transmit them to workers. Testingtop_plan->initPlan is inadequate because (1) there might be initPlansattached to lower plan nodes, and (2) non-initPlan subplans don'twork either. There's certainly room for improvement in thoserestrictions, but for the moment that's what we've got.Amit Kapila, per report from Andreas SeltenreichDiscussion: <8737im6pmh.fsf@credativ.de>1 parentc5f365f commitf24cf96
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
342 | 342 |
| |
343 | 343 |
| |
344 | 344 |
| |
345 |
| - | |
| 345 | + | |
346 | 346 |
| |
347 | 347 |
| |
348 | 348 |
| |
349 |
| - | |
| 349 | + | |
350 | 350 |
| |
351 | 351 |
| |
352 | 352 |
| |
|
0 commit comments
Comments
(0)