Commit 448aa36
committed
Set partitioned_rels appropriately when UNION ALL is used.
In most cases, this omission won't matter, because the appropriate
locks will have been acquired during parse/plan or by AcquireExecutorLocks.
But it's a bug all the same.
Report by Ashutosh Bapat. Patch by me, reviewed by Amit Langote.
Discussion: http://postgr.es/m/CAFjFpRdHb_ZnoDTuBXqrudWXh3H1ibLkr6nHsCFT96fSK4DXtA@mail.gmail.com1 parent 253c8af commit 448aa36
2 files changed
+40
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1287 | 1287 | | |
1288 | 1288 | | |
1289 | 1289 | | |
| 1290 | + | |
1290 | 1291 | | |
| 1292 | + | |
| 1293 | + | |
| 1294 | + | |
| 1295 | + | |
| 1296 | + | |
| 1297 | + | |
| 1298 | + | |
| 1299 | + | |
| 1300 | + | |
| 1301 | + | |
1291 | 1302 | | |
1292 | | - | |
| 1303 | + | |
1293 | 1304 | | |
1294 | | - | |
1295 | | - | |
1296 | | - | |
| 1305 | + | |
| 1306 | + | |
| 1307 | + | |
| 1308 | + | |
| 1309 | + | |
| 1310 | + | |
| 1311 | + | |
| 1312 | + | |
| 1313 | + | |
| 1314 | + | |
| 1315 | + | |
| 1316 | + | |
| 1317 | + | |
1297 | 1318 | | |
1298 | 1319 | | |
1299 | 1320 | | |
| |||
1306 | 1327 | | |
1307 | 1328 | | |
1308 | 1329 | | |
| 1330 | + | |
| 1331 | + | |
| 1332 | + | |
| 1333 | + | |
| 1334 | + | |
| 1335 | + | |
| 1336 | + | |
| 1337 | + | |
| 1338 | + | |
| 1339 | + | |
| 1340 | + | |
| 1341 | + | |
| 1342 | + | |
1309 | 1343 | | |
1310 | 1344 | | |
1311 | 1345 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6068 | 6068 | | |
6069 | 6069 | | |
6070 | 6070 | | |
6071 | | - | |
| 6071 | + | |
| 6072 | + | |
6072 | 6073 | | |
6073 | 6074 | | |
6074 | 6075 | | |
| |||
6087 | 6088 | | |
6088 | 6089 | | |
6089 | 6090 | | |
6090 | | - | |
6091 | | - | |
6092 | | - | |
6093 | 6091 | | |
6094 | 6092 | | |
0 commit comments