OSDN Git Service

Fix oversight in optimization that avoids an unnecessary projection step
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 22 Jan 2004 02:23:21 +0000 (02:23 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 22 Jan 2004 02:23:21 +0000 (02:23 +0000)
commita376a4673ae9c331700f19f1bae999e3eadfaf10
treeb2600f41af8e95543b479eec09053a0c8301db7a
parentbb9f66351ab3fed583d93200dc68dd60f8615d30
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