- Notifications
You must be signed in to change notification settings - Fork5
Commit6cb1c02
committed
Rewrite OR indexscan processing to be more flexible. We can now for the
first time generate an OR indexscan for a two-column index when the WHEREcondition is like 'col1 = foo AND (col2 = bar OR col2 = baz)' --- before,the OR had to be on the first column of the index or we'd not notice thepossibility of using it. Some progress towards extracting OR indexscansfrom subclauses of an OR that references multiple relations, too, althoughthis code is #ifdef'd out because it needs more work.1 parent037e2fc commit6cb1c02
File tree
11 files changed
+448
-503
lines changed- src
- backend
- nodes
- optimizer
- path
- plan
- prep
- util
- include
- nodes
- optimizer
11 files changed
+448
-503
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
| 18 | + | |
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
| |||
1172 | 1172 |
| |
1173 | 1173 |
| |
1174 | 1174 |
| |
1175 |
| - | |
| 1175 | + | |
1176 | 1176 |
| |
1177 | 1177 |
| |
1178 | 1178 |
| |
|
Lines changed: 2 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 |
| |
| |||
1077 | 1077 |
| |
1078 | 1078 |
| |
1079 | 1079 |
| |
1080 |
| - | |
| 1080 | + | |
1081 | 1081 |
| |
1082 | 1082 |
| |
1083 | 1083 |
| |
|
0 commit comments
Comments
(0)