OSDN Git Service

Disable the recently-added use_physical_tlist optimization in cases
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 11 May 2003 15:03:52 +0000 (15:03 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 11 May 2003 15:03:52 +0000 (15:03 +0000)
commit8f2e53bc1063f6c43d09356ecb6095be0cd907ea
treeb227976bd91d2efae2e91136400d6bf9b20e0a72
parenta4e775a263317a23607eb1a6ea8205a185385a4b
Disable the recently-added use_physical_tlist optimization in cases
where the table contains dropped columns.  If the columns are dropped,
then their types may be gone as well, which causes ExecTypeFromTL() to
fail if the dropped columns appear in a plan node's tlist.  This could
be worked around but I don't think the optimization is valuable enough
to be worth the trouble.
src/backend/optimizer/plan/createplan.c
src/backend/optimizer/util/plancat.c