Re: WIP: default values for function parameters - Mailing list pgsql-hackers

From Tom Lane
Subject Re: WIP: default values for function parameters
Date
Msg-id 26702.1229185148@sss.pgh.pa.us
Whole thread Raw
In response to Re: WIP: default values for function parameters  ("David E. Wheeler" <david@kineticode.com>)
Responses Re: WIP: default values for function parameters  ("David E. Wheeler" <david@kineticode.com>)
Re: WIP: default values for function parameters  (Grzegorz Jaskiewicz <gj@pointblue.com.pl>)
List pgsql-hackers
"David E. Wheeler" <david@kineticode.com> writes:
> 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?

I'm sure it's technically possible, but I see no redeeming social value
in it ... we should pick one and quit repainting the bike shed.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "David E. Wheeler"
Date:
Subject: Re: WIP: default values for function parameters
Next
From: "David E. Wheeler"
Date:
Subject: Re: WIP: default values for function parameters