forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc594f1a
committed
Track scan reversals in MergeJoin
The MergeJoin struct was tracking "mergeStrategies", which were anarray of btree strategy numbers, purely for the purpose of comparingit later against btree strategies to determine if the scan directionwas forward or reverse. Change that. Instead, track"mergeReversals", an array of bool, to indicate the same without anunfortunate assumption that a strategy number refers specifically to abtree strategy.Author: Mark Dilger <mark.dilger@enterprisedb.com>Discussion:https://www.postgresql.org/message-id/flat/E72EAA49-354D-4C2E-8EB9-255197F55330@enterprisedb.com1 parent0d2aa4d commitc594f1a
File tree
3 files changed
+12
-17
lines changed- src
- backend
- executor
- optimizer/plan
- include/nodes
3 files changed
+12
-17
lines changedLines changed: 4 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
175 | 175 |
| |
176 | 176 |
| |
177 | 177 |
| |
178 |
| - | |
| 178 | + | |
179 | 179 |
| |
180 | 180 |
| |
181 | 181 |
| |
| |||
193 | 193 |
| |
194 | 194 |
| |
195 | 195 |
| |
196 |
| - | |
| 196 | + | |
197 | 197 |
| |
198 | 198 |
| |
199 | 199 |
| |
| |||
212 | 212 |
| |
213 | 213 |
| |
214 | 214 |
| |
215 |
| - | |
216 |
| - | |
217 |
| - | |
218 |
| - | |
219 |
| - | |
220 |
| - | |
| 215 | + | |
221 | 216 |
| |
222 | 217 |
| |
223 | 218 |
| |
| |||
1608 | 1603 |
| |
1609 | 1604 |
| |
1610 | 1605 |
| |
1611 |
| - | |
| 1606 | + | |
1612 | 1607 |
| |
1613 | 1608 |
| |
1614 | 1609 |
| |
|
Lines changed: 7 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
252 | 252 |
| |
253 | 253 |
| |
254 | 254 |
| |
255 |
| - | |
| 255 | + | |
256 | 256 |
| |
257 | 257 |
| |
258 | 258 |
| |
| |||
4451 | 4451 |
| |
4452 | 4452 |
| |
4453 | 4453 |
| |
4454 |
| - | |
| 4454 | + | |
4455 | 4455 |
| |
4456 | 4456 |
| |
4457 | 4457 |
| |
| |||
4625 | 4625 |
| |
4626 | 4626 |
| |
4627 | 4627 |
| |
4628 |
| - | |
| 4628 | + | |
4629 | 4629 |
| |
4630 | 4630 |
| |
4631 | 4631 |
| |
| |||
4752 | 4752 |
| |
4753 | 4753 |
| |
4754 | 4754 |
| |
4755 |
| - | |
| 4755 | + | |
4756 | 4756 |
| |
4757 | 4757 |
| |
4758 | 4758 |
| |
| |||
4772 | 4772 |
| |
4773 | 4773 |
| |
4774 | 4774 |
| |
4775 |
| - | |
| 4775 | + | |
4776 | 4776 |
| |
4777 | 4777 |
| |
4778 | 4778 |
| |
| |||
6104 | 6104 |
| |
6105 | 6105 |
| |
6106 | 6106 |
| |
6107 |
| - | |
| 6107 | + | |
6108 | 6108 |
| |
6109 | 6109 |
| |
6110 | 6110 |
| |
| |||
6123 | 6123 |
| |
6124 | 6124 |
| |
6125 | 6125 |
| |
6126 |
| - | |
| 6126 | + | |
6127 | 6127 |
| |
6128 | 6128 |
| |
6129 | 6129 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
850 | 850 |
| |
851 | 851 |
| |
852 | 852 |
| |
853 |
| - | |
| 853 | + | |
854 | 854 |
| |
855 | 855 |
| |
856 | 856 |
| |
|
0 commit comments
Comments
(0)