Thread: pgsql-server/src/backend/optimizer plan/create ...

pgsql-server/src/backend/optimizer plan/create ...

From
tgl@postgresql.org (Tom Lane)
Date:
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    tgl@postgresql.org    03/05/11 11:03:52

Modified files:
    src/backend/optimizer/plan: createplan.c
    src/backend/optimizer/util: plancat.c

Log message:
    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.