- Notifications
You must be signed in to change notification settings - Fork4.9k
Commitf455e11
committed
Pass eflags down to parallel workers.
Currently, there are no known consequences of this oversight, so noback-patch. Several of the EXEC_FLAG_* constants aren't usable inparallel mode anyway, and potential problems related to the presenceor absence of OIDs (see EXEC_FLAG_WITH_OIDS, EXEC_FLAG_WITHOUT_OIDS)seem at present to be masked by the unconditional projection stepperformed by Gather and Gather Merge. In general, however, it seemsimportant that all participants agree on the values of these flags,which modify executor behavior globally, and a pending patch to skipprojection in Gather (Merge) would be outright broken in certain caseswithout this fix.Patch by me, based on investigation of a test case provided by AmitKapila. This patch was also reviewed by Amit Kapila.Discussion:http://postgr.es/m/CA+TgmoZ0ZL=cesZFq8c9NnfK6bqy-wwUd3_74iYGodYrSoQ7Fw@mail.gmail.com1 parent56f3468 commitf455e11
1 file changed
+3
-1
lines changedLines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
69 | 69 |
| |
70 | 70 |
| |
71 | 71 |
| |
| 72 | + | |
72 | 73 |
| |
73 | 74 |
| |
74 | 75 |
| |
| |||
647 | 648 |
| |
648 | 649 |
| |
649 | 650 |
| |
| 651 | + | |
650 | 652 |
| |
651 | 653 |
| |
652 | 654 |
| |
| |||
1224 | 1226 |
| |
1225 | 1227 |
| |
1226 | 1228 |
| |
1227 |
| - | |
| 1229 | + | |
1228 | 1230 |
| |
1229 | 1231 |
| |
1230 | 1232 |
| |
|
0 commit comments
Comments
(0)