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

From David E. Wheeler
Subject Re: WIP: default values for function parameters
Date
Msg-id AAC9E6C9-438E-4F54-8F8F-3B7DE0B9235B@kineticode.com
Whole thread Raw
In response to Re: WIP: default values for function parameters  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: WIP: default values for function parameters  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: WIP: default values for function parameters  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
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…

Best,

David

pgsql-hackers by date:

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