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

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Fix an oversight in the function-default-arguments patch: after
Date
Msg-id 20090106012322.33FED754A17@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
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)

pgsql-committers by date:

Previous
From: alvherre@postgresql.org (Alvaro Herrera)
Date:
Subject: pgsql: Change the reloptions machinery to use a table-based parser, and
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Add some comments about why function parameter default