OSDN Git Service

Back off previous patch to skip projection step in scan plan nodes,
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 16 Feb 2003 06:06:32 +0000 (06:06 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 16 Feb 2003 06:06:32 +0000 (06:06 +0000)
commit72933a92c7cb3757ef71c57a2cb82b3ac3e3b929
treec83011b7c91702d6320f9d279f85adf0a5df7b33
parent51972a9d5d068dd34b24ff4923981ffb90e5cc2d
Back off previous patch to skip projection step in scan plan nodes,
in the case where the node immediately above the scan is a Hash, Sort,
or Material node.  In these cases it's better to do the projection
so that we don't store unneeded columns in the hash/sort/materialize
table.  Per discussion a few days ago with Anagh Lal.
src/backend/optimizer/plan/createplan.c