- Notifications
You must be signed in to change notification settings - Fork5
Commit32fcfcd
committed
Fix oversight in recent changes to enable the 'physical tlist'
optimization for subquery and function scan nodes: we can't just do itunconditionally, we still have to check whether there is any need fora whole-row Var. I had been thinking that these node types couldn'thave any system columns, which is true, but that loop is also checkingfor attno zero, ie, whole-row Var. Fix comment to not be so misleading.Per test case from Richard Huxton.1 parentb33a732 commit32fcfcd
1 file changed
+10
-13
lines changedLines changed: 10 additions & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
| 13 | + | |
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| |||
308 | 308 |
| |
309 | 309 |
| |
310 | 310 |
| |
311 |
| - | |
312 |
| - | |
| 311 | + | |
| 312 | + | |
313 | 313 |
| |
314 |
| - | |
315 |
| - | |
316 |
| - | |
317 |
| - | |
318 |
| - | |
319 |
| - | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
320 | 317 |
| |
321 |
| - | |
322 | 318 |
| |
323 | 319 |
| |
324 | 320 |
| |
| |||
328 | 324 |
| |
329 | 325 |
| |
330 | 326 |
| |
331 |
| - | |
332 |
| - | |
333 |
| - | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
334 | 330 |
| |
335 | 331 |
| |
336 | 332 |
| |
337 | 333 |
| |
338 | 334 |
| |
339 | 335 |
| |
| 336 | + | |
340 | 337 |
| |
341 | 338 |
| |
342 | 339 |
| |
|
0 commit comments
Comments
(0)