- Notifications
You must be signed in to change notification settings - Fork5
Commitf38fbf3
committed
If we expect a hash join to be performed in multiple batches, suppress
"physical tlist" optimization on the outer relation (ie, force a projectionstep to occur in its scan). This avoids storing useless column values whenthe outer relation's tuples are written to temporary batch files.Modified version of a patch by Michael Henderson and Ramon Lawrence.1 parentee4c187 commitf38fbf3
File tree
5 files changed
+25
-6
lines changed- src
- backend
- nodes
- optimizer
- path
- plan
- util
- include/nodes
5 files changed
+25
-6
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
1448 | 1448 |
| |
1449 | 1449 |
| |
1450 | 1450 |
| |
| 1451 | + | |
1451 | 1452 |
| |
1452 | 1453 |
| |
1453 | 1454 |
| |
|
Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
54 | 54 |
| |
55 | 55 |
| |
56 | 56 |
| |
57 |
| - | |
| 57 | + | |
58 | 58 |
| |
59 | 59 |
| |
60 | 60 |
| |
| |||
1880 | 1880 |
| |
1881 | 1881 |
| |
1882 | 1882 |
| |
| 1883 | + | |
| 1884 | + | |
1883 | 1885 |
| |
1884 | 1886 |
| |
1885 | 1887 |
| |
|
Lines changed: 5 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
| 13 | + | |
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| |||
1910 | 1910 |
| |
1911 | 1911 |
| |
1912 | 1912 |
| |
| 1913 | + | |
| 1914 | + | |
| 1915 | + | |
| 1916 | + | |
1913 | 1917 |
| |
1914 | 1918 |
| |
1915 | 1919 |
| |
|
Lines changed: 13 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
1480 | 1480 |
| |
1481 | 1481 |
| |
1482 | 1482 |
| |
1483 |
| - | |
| 1483 | + | |
| 1484 | + | |
| 1485 | + | |
| 1486 | + | |
| 1487 | + | |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
| 1493 | + | |
1484 | 1494 |
| |
1485 | 1495 |
| |
| 1496 | + | |
1486 | 1497 |
| |
1487 | 1498 |
| |
1488 | 1499 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
845 | 845 |
| |
846 | 846 |
| |
847 | 847 |
| |
| 848 | + | |
848 | 849 |
| |
849 | 850 |
| |
850 | 851 |
| |
|
0 commit comments
Comments
(0)