Re: WIP: default values for function parameters

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: Greg Stark <stark(at)enterprisedb(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Dimitri Fontaine <dfontaine(at)hi-media(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org, Michael Meskes <meskes(at)postgresql(dot)org>, "David E(dot) Wheeler" <david(at)kineticode(dot)com>, Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>, Bruce Momjian <bruce(at)momjian(dot)us>, Grzegorz Jaskiewicz <gj(at)pointblue(dot)com(dot)pl>
Subject: Re: WIP: default values for function parameters
Date: 2008-12-15 10:07:47
Message-ID: 49462C73.1090009@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Pavel Stehule wrote:
> Because AS is signal for collecting column (or label) names.
>
> I thing so we should use "AS" as Tom's proposal, together with SQL/XML
> functionality.

Yes, please implement that.

> It's only idea: default behave is using as for param name specification,
>
> seconf with flag maybe labeled allows using AS in SQL/XML behave
>
> But this syntax don't allow use this feature together (it is maybe enought).\
>
> create function json(variadic labeled values int[]) ...

I didn't get that ... :-(

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2008-12-15 10:27:07 Re: WIP: default values for function parameters
Previous Message Peter Eisentraut 2008-12-15 10:05:55 Re: WIP: default values for function parameters