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

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix an oversight in the function-default-arguments patch: after
Date: 2009-01-06 01:23:22
Message-ID: 20090106012322.33FED754A17@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2009-01-06 02:01:27 pgsql: Add some comments about why function parameter default
Previous Message Alvaro Herrera 2009-01-05 17:14:28 pgsql: Change the reloptions machinery to use a table-based parser, and