forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1555566
committed
Set partitioned_rels appropriately when UNION ALL is used.
In most cases, this omission won't matter, because the appropriatelocks 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 parent1ab973a commit1555566
2 files changed
+40
-8
lines changedLines changed: 38 additions & 4 deletions
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 |
| |
|
Lines changed: 2 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6076 | 6076 |
| |
6077 | 6077 |
| |
6078 | 6078 |
| |
6079 |
| - | |
| 6079 | + | |
| 6080 | + | |
6080 | 6081 |
| |
6081 | 6082 |
| |
6082 | 6083 |
| |
| |||
6095 | 6096 |
| |
6096 | 6097 |
| |
6097 | 6098 |
| |
6098 |
| - | |
6099 |
| - | |
6100 |
| - | |
6101 | 6099 |
| |
6102 | 6100 |
|
0 commit comments
Comments
(0)