Skip site navigation (1) Skip section navigation (2)

Re: WIP: Allow SQL-language functions to reference parameters by parameter name

From: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Matthew Draper <matthew(at)trebex(dot)net>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: WIP: Allow SQL-language functions to reference parameters by parameter name
Date: 2011-03-26 06:06:21
Message-ID: BDF350C1-A57D-436A-80F2-A876E47F971A@kineticode.com (view raw or flat)
Thread:
Lists: pgsql-hackers
On Mar 25, 2011, at 11:23 PM, Tom Lane wrote:

> If this were PL/perl, or PL/almost-anything-except-SQL, I could get
> behind such a proposal.  But it's not, it's SQL; and SQL doesn't do
> things that way.  SQL's idea of disambiguation is qualified names.
> 
> And even more to the point: to the extent you think that weird syntax
> might be a suitable solution, you have to keep in mind that the SQL
> committee could take over any such syntax at the drop of a hat.
> See the recent unpleasantness concerning => ...

Perhaps we could use `=>varname`. ;-P

David


In response to

pgsql-hackers by date

Next:From: Alexander KorotkovDate: 2011-03-26 06:33:08
Subject: Re: Proposal: q-gram GIN and GiST indexes
Previous:From: Tom LaneDate: 2011-03-26 04:36:43
Subject: Open issues for collations

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group