Обсуждение: pgsql-server/src/backend/optimizer plan/create ...

Поиск
Список
Период
Сортировка

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

От
tgl@postgresql.org (Tom Lane)
Дата:
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.