- Notifications
You must be signed in to change notification settings - Fork5
Commit07e6f93
committed
Fix oversight in 8.0 modification of RestrictInfo data structures.
A RestrictInfo representing an OR clause now contains two versions ofthe contained expression, one with sub-RestrictInfos and one without.clause_selectivity() should descend to the version with sub-RestrictInfosso that it has a chance of caching its results for the OR's sub-clauses.Failing to do so resulted in redundant planner effort.1 parentc6b9924 commit07e6f93
1 file changed
+10
-3
lines changedLines changed: 10 additions & 3 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 |
| |
| |||
461 | 461 |
| |
462 | 462 |
| |
463 | 463 |
| |
464 |
| - | |
465 |
| - | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
466 | 473 |
| |
467 | 474 |
| |
468 | 475 |
| |
|
0 commit comments
Comments
(0)