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

From Bruce Momjian
Subject Re: WIP: default values for function parameters
Date
Msg-id 200812131629.mBDGTWb07517@momjian.us
Whole thread Raw
In response to Re: WIP: default values for function parameters  ("David E. Wheeler" <david@kineticode.com>)
List pgsql-hackers
David E. Wheeler wrote:
> On Dec 13, 2008, at 5:19 PM, Tom Lane wrote:
> 
> > 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.
> 
> Well, as I've said, I'm okay with AS, though it's not my favorite. I  
> can see the argument that it's more likely to eventually make it into  
> the SQL standard. I don't suppose that the position of the label and  
> the value on either side of "AS" could be reversible, could it?
> 
>    SELECT foo( bar AS 'ick', 6 AS baz );
> 
> Probably not, I'm thinking?

Yea, probably not.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: WIP: default values for function parameters
Next
From: Grzegorz Jaskiewicz
Date:
Subject: Re: WIP: default values for function parameters