Обсуждение: pgsql: Fix an oversight in the function-default-arguments patch: after

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

pgsql: Fix an oversight in the function-default-arguments patch: after

От
tgl@postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
Fix an oversight in the function-default-arguments patch: after adding some
default expressions to a function call, eval_const_expressions must recurse on
those expressions.  Else they don't get simplified, and in particular we fail
to insert additional default arguments if any functions needing defaults are
in there.  Per report from Rushabh Lathia.

Modified Files:
--------------
    pgsql/src/backend/optimizer/util:
        clauses.c (r1.273 -> r1.274)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/util/clauses.c?r1=1.273&r2=1.274)