forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit11073be
committed
allpaths.c:find_join_paths(): compute_rel_size() shouldn't be called
for join-relations. Sizes already computed byprune_rel_paths():compute_joinrel_size().joinrels.c:< if ( _use_right_sided_plans_ )---> if ( _use_right_sided_plans_ &&> length (outer_rel->relids) > 1 ) - r_plans are useful when outer_rel is join-relation... Itdecreases the size of search space...1 parent39c73ef commit11073be
2 files changed
+6
-3
lines changedLines changed: 3 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 |
| |
| |||
216 | 216 |
| |
217 | 217 |
| |
218 | 218 |
| |
| 219 | + | |
219 | 220 |
| |
| 221 | + | |
220 | 222 |
| |
221 | 223 |
| |
222 | 224 |
| |
|
Lines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
110 | 110 |
| |
111 | 111 |
| |
112 | 112 |
| |
113 |
| - | |
| 113 | + | |
| 114 | + | |
114 | 115 |
| |
115 | 116 |
| |
116 | 117 |
| |
|
0 commit comments
Comments
(0)