Re: WIP: default values for function parameters

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

On Dec 13, 2008, at 5:05 PM, Tom Lane wrote:

> However, after looking at the precedent of XMLELEMENT, it's hard to
> deny
> that if the SQL committee ever chose to standardize named parameters,
> AS is what they would use. The chances that ":" would become the
> standard are negligible --- that's not the sort of syntax they like
> to standardize.

Any chance that both "AS" and ":" could be supported, so that it's at
the discretion of the user?

Best,

David

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-12-13 16:19:08 Re: WIP: default values for function parameters
Previous Message Bruce Momjian 2008-12-13 16:09:50 Re: WIP: default values for function parameters