forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd57929a
committed
Avoid unnecessary single-child Append nodes.
Before commitd3cc37f, an inheritance parentwhose only children were temp tables of other sessions would end upas a simple scan of the parent; but with that commit, we end up withan Append node, per a report from Ashutosh Bapat. Tweak the logicso that we go back to the old way, and update the function headercomment for partitioning while we're at it.Ashutosh Bapat, reviewed by Amit Langote and adjusted by me.Discussion:http://postgr.es/m/CAFjFpReWJr1yTkHU=OqiMBmcYCMoSW3VPR39RBuQ_ovwDFBT5Q@mail.gmail.com1 parent1295a77 commitd57929a
1 file changed
+13
-6
lines changedLines changed: 13 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1360 | 1360 |
| |
1361 | 1361 |
| |
1362 | 1362 |
| |
1363 |
| - | |
1364 |
| - | |
| 1363 | + | |
| 1364 | + | |
| 1365 | + | |
| 1366 | + | |
| 1367 | + | |
| 1368 | + | |
1365 | 1369 |
| |
1366 | 1370 |
| |
1367 | 1371 |
| |
| |||
1374 | 1378 |
| |
1375 | 1379 |
| |
1376 | 1380 |
| |
1377 |
| - | |
| 1381 | + | |
1378 | 1382 |
| |
1379 | 1383 |
| |
1380 | 1384 |
| |
| |||
1448 | 1452 |
| |
1449 | 1453 |
| |
1450 | 1454 |
| |
1451 |
| - | |
| 1455 | + | |
1452 | 1456 |
| |
1453 | 1457 |
| |
1454 | 1458 |
| |
| |||
1502 | 1506 |
| |
1503 | 1507 |
| |
1504 | 1508 |
| |
1505 |
| - | |
| 1509 | + | |
| 1510 | + | |
| 1511 | + | |
| 1512 | + | |
1506 | 1513 |
| |
1507 | 1514 |
| |
1508 | 1515 |
| |
| |||
1582 | 1589 |
| |
1583 | 1590 |
| |
1584 | 1591 |
| |
1585 |
| - | |
| 1592 | + | |
1586 | 1593 |
| |
1587 | 1594 |
| |
1588 | 1595 |
| |
|
0 commit comments
Comments
(0)