Re: WIP: default values for function parameters

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, 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>, 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:29:32
Message-ID: 200812131629.mBDGTWb07517@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Grzegorz Jaskiewicz 2008-12-13 16:31:43 Re: WIP: default values for function parameters
Previous Message Tom Lane 2008-12-13 16:27:53 Re: WIP: default values for function parameters