diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-10-19 17:31:20 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-10-19 17:31:20 +0000 |
commit | 32fcfcdbd66368c51c5561329d2a003eaff1fd64 (patch) | |
tree | 1ef12dc3fdd56e8e4c45b66312a51068f158b9a5 /src/backend/tcop/postgres.c | |
parent | b33a73226487ac1ea045c6e52b4a22d1451d0895 (diff) | |
download | postgresql-32fcfcdbd66368c51c5561329d2a003eaff1fd64.tar.gz postgresql-32fcfcdbd66368c51c5561329d2a003eaff1fd64.zip |
Fix oversight in recent changes to enable the 'physical tlist'
optimization for subquery and function scan nodes: we can't just do it
unconditionally, we still have to check whether there is any need for
a whole-row Var. I had been thinking that these node types couldn't
have any system columns, which is true, but that loop is also checking
for attno zero, ie, whole-row Var. Fix comment to not be so misleading.
Per test case from Richard Huxton.
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions