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:25:33
Message-ID: AAC9E6C9-438E-4F54-8F8F-3B7DE0B9235B@kineticode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-12-13 16:27:53 Re: WIP: default values for function parameters
Previous Message Tom Lane 2008-12-13 16:19:08 Re: WIP: default values for function parameters