forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita784859

Etsuro Fujita
Prevent asynchronous execution of direct foreign-table modifications.
Commits27e1f14 and86dc900, which were independently discussed,cause a crash when executing an inherited foreign UPDATE/DELETE querywith asynchronous execution enabled, where children of an Append nodethat is the direct/indirect child of the ModifyTable node are rewrittenso as to modify foreign tables directly by postgresPlanDirectModify();as in that case the direct modifications are executed asynchronously,which is not currently supported by asynchronous execution. Fix bydisabling asynchronous execution of the direct modifications in thatfunction.Author: Etsuro FujitaReviewed-by: Amit LangoteDiscussion:https://postgr.es/m/CAPmGK158e9sJOfuWxfn%2B0ynrspXQU3JhNjSCbaoeSzMvnga%2Bbw%40mail.gmail.com1 parent5a73a9e commita784859
File tree
3 files changed
+70
-0
lines changed- contrib/postgres_fdw
- expected
- sql
3 files changed
+70
-0
lines changedLines changed: 55 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10154 | 10154 |
| |
10155 | 10155 |
| |
10156 | 10156 |
| |
| 10157 | + | |
| 10158 | + | |
| 10159 | + | |
| 10160 | + | |
| 10161 | + | |
| 10162 | + | |
| 10163 | + | |
| 10164 | + | |
| 10165 | + | |
| 10166 | + | |
| 10167 | + | |
| 10168 | + | |
| 10169 | + | |
| 10170 | + | |
| 10171 | + | |
| 10172 | + | |
| 10173 | + | |
| 10174 | + | |
| 10175 | + | |
| 10176 | + | |
| 10177 | + | |
| 10178 | + | |
| 10179 | + | |
| 10180 | + | |
| 10181 | + | |
| 10182 | + | |
| 10183 | + | |
| 10184 | + | |
| 10185 | + | |
| 10186 | + | |
| 10187 | + | |
| 10188 | + | |
| 10189 | + | |
| 10190 | + | |
| 10191 | + | |
| 10192 | + | |
| 10193 | + | |
| 10194 | + | |
| 10195 | + | |
| 10196 | + | |
| 10197 | + | |
| 10198 | + | |
| 10199 | + | |
| 10200 | + | |
| 10201 | + | |
| 10202 | + | |
| 10203 | + | |
| 10204 | + | |
| 10205 | + | |
| 10206 | + | |
| 10207 | + | |
| 10208 | + | |
| 10209 | + | |
| 10210 | + | |
| 10211 | + | |
10157 | 10212 |
| |
10158 | 10213 |
| |
10159 | 10214 |
| |
|
Lines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2530 | 2530 |
| |
2531 | 2531 |
| |
2532 | 2532 |
| |
| 2533 | + | |
| 2534 | + | |
| 2535 | + | |
| 2536 | + | |
| 2537 | + | |
| 2538 | + | |
| 2539 | + | |
2533 | 2540 |
| |
2534 | 2541 |
| |
2535 | 2542 |
| |
|
Lines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3237 | 3237 |
| |
3238 | 3238 |
| |
3239 | 3239 |
| |
| 3240 | + | |
| 3241 | + | |
| 3242 | + | |
| 3243 | + | |
| 3244 | + | |
| 3245 | + | |
| 3246 | + | |
| 3247 | + | |
3240 | 3248 |
| |
3241 | 3249 |
| |
3242 | 3250 |
| |
|
0 commit comments
Comments
(0)