]> granicus.if.org Git - postgresql/commit
Fix an oversight in the function-default-arguments patch: after adding some
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 6 Jan 2009 01:23:21 +0000 (01:23 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 6 Jan 2009 01:23:21 +0000 (01:23 +0000)
commit10374a34c685db5b40b9a53313564b8934ef9ec8
tree86e2e0b5ce88b6e6e45fe36b72bf031b5fef5b0f
parentba748f7a11ef884277b61d1708a17a44acfd1736
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.
src/backend/optimizer/util/clauses.c