Re: WIP: default values for function parameters

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com>
Cc: "Bruce Momjian" <bruce(at)momjian(dot)us>, "Gregory Stark" <stark(at)enterprisedb(dot)com>, "Grzegorz Jaskiewicz" <gj(at)pointblue(dot)com(dot)pl>, "PostgreSQL Hackers" <pgsql-hackers(at)postgresql(dot)org>, "Peter Eisentraut" <peter_e(at)gmx(dot)net>
Subject: Re: WIP: default values for function parameters
Date: 2008-12-10 17:42:14
Message-ID: 3983.1228930934@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com> writes:
> next argument - if we accept AS for param names, then we introduce
> nonconsistent behave with SQL/XML functions.

> select xmlforest(c1, c2 as foo, c3) -- there foo isn't doesn't mean
> "use it as param foo",

It could be read as meaning that, I think.

In any case, I'm not wedded to using AS for this, and am happy to
consider other suggestions. But => isn't acceptable.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-12-10 17:52:32 Re: Regexps vs. locale
Previous Message Pavel Stehule 2008-12-10 17:37:39 Re: WIP: default values for function parameters