Fix oversight in optimization that avoids an unnecessary projection step
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 22 Jan 2004 02:23:35 +0000 (02:23 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 22 Jan 2004 02:23:35 +0000 (02:23 +0000)
commit94db74f37071984c11ce5cc33a40285a5bfeec4c
tree0f99f0dcef84b8ee9f00b5ac5e9f06caf278fe4f
parent5a2a8b9e01e83e68c6cbcffc2259f5dad4f108be
Fix oversight in optimization that avoids an unnecessary projection step
when scanning a table that we need all the columns from.  In case of
SELECT INTO, we have to check that the hasoids flag matches the desired
output type, too.  Per report from Mike Mascari.
src/backend/executor/execMain.c
src/backend/executor/execScan.c
src/backend/executor/execUtils.c
src/backend/executor/nodeAppend.c
src/include/executor/executor.h
src/include/nodes/execnodes.h