Re: WIP: default values for function parameters

From: "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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 21:43:03
Message-ID: 162867790812101343g42272532tdc5525628950b714@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2008/12/10 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>:
> "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.

me too

regards
Pavel Stehule

But => isn't acceptable.
>
> regards, tom lane
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Aidan Van Dyk 2008-12-10 21:54:47 Re: cvs head initdb hangs on unixware
Previous Message Andrew Dunstan 2008-12-10 21:40:47 Re: cvs head initdb hangs on unixware