forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite8be8ff
committed
Further tweaking of logic that decides when to materialize an uncorrelated
subplan: do it if subplan has subplans itself, and always do it if thesubplan is an indexscan. (I originally set it to materialize an indexscanonly if the indexqual is fairly selective, but I dunno what I wasthinking ... an unselective indexscan is still expensive ...)1 parentbbe1ff7 commite8be8ff
1 file changed
+15
-24
lines changedLines changed: 15 additions & 24 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 |
| |
| |||
302 | 302 |
| |
303 | 303 |
| |
304 | 304 |
| |
305 |
| - | |
306 |
| - | |
| 305 | + | |
| 306 | + | |
307 | 307 |
| |
308 | 308 |
| |
309 | 309 |
| |
| |||
312 | 312 |
| |
313 | 313 |
| |
314 | 314 |
| |
315 |
| - | |
316 |
| - | |
317 |
| - | |
318 |
| - | |
319 |
| - | |
320 |
| - | |
321 |
| - | |
322 |
| - | |
323 |
| - | |
324 |
| - | |
325 |
| - | |
326 |
| - | |
327 |
| - | |
328 |
| - | |
329 |
| - | |
330 |
| - | |
331 |
| - | |
332 |
| - | |
333 |
| - | |
334 |
| - | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
335 | 327 |
| |
336 |
| - | |
337 | 328 |
| |
338 | 329 |
| |
339 | 330 |
| |
|
0 commit comments
Comments
(0)