Обсуждение: 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/01/12 19:29:26

Modified files:
    src/backend/optimizer/plan: createplan.c planner.c subselect.c

Log message:
    Cause planner to account for evaluation costs in targetlists and
    HAVING quals.  Normally this is an insignificant effect --- but it
    will not be insignificant when these clauses contain sub-selects.
    The added costs cannot affect the planning of the query containing
    them, but they might have an impact when the query is a sub-query
    of a larger one.