forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit14661ba
committed
Replace has_multiple_baserels() with a bitmap test on all_baserels.
Since we added the PlannerInfo.all_baserels set, it's not reallynecessary to grovel over the rangetable to count baserels in thecurrent query. So let's drop has_multiple_baserels() in favorof a bms_membership() test. This might be microscopicallyfaster, but the main point is to remove some unnecessary code.Richard GuoDiscussion:https://postgr.es/m/CAMbWs4_8RcSbbfs1ASZLrMuL0c0EQgXWcoLTQD8swBRY_pQQiA@mail.gmail.com1 parent98e8974 commit14661ba
1 file changed
+1
-23
lines changedLines changed: 1 addition & 23 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2190 | 2190 |
| |
2191 | 2191 |
| |
2192 | 2192 |
| |
2193 |
| - | |
2194 |
| - | |
2195 |
| - | |
2196 |
| - | |
2197 |
| - | |
2198 |
| - | |
2199 |
| - | |
2200 |
| - | |
2201 |
| - | |
2202 |
| - | |
2203 |
| - | |
2204 |
| - | |
2205 |
| - | |
2206 |
| - | |
2207 |
| - | |
2208 |
| - | |
2209 |
| - | |
2210 |
| - | |
2211 |
| - | |
2212 |
| - | |
2213 |
| - | |
2214 |
| - | |
2215 | 2193 |
| |
2216 | 2194 |
| |
2217 | 2195 |
| |
| |||
2661 | 2639 |
| |
2662 | 2640 |
| |
2663 | 2641 |
| |
2664 |
| - | |
| 2642 | + | |
2665 | 2643 |
| |
2666 | 2644 |
| |
2667 | 2645 |
| |
|
0 commit comments
Comments
(0)