Re: WIP: Allow SQL-language functions to reference parameters by parameter name - Mailing list pgsql-hackers

From David E. Wheeler
Subject Re: WIP: Allow SQL-language functions to reference parameters by parameter name
Date
Msg-id BDF350C1-A57D-436A-80F2-A876E47F971A@kineticode.com
Whole thread Raw
In response to Re: WIP: Allow SQL-language functions to reference parameters by parameter name  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Open issues for collations
Next
From: Alexander Korotkov
Date:
Subject: Re: Proposal: q-gram GIN and GiST indexes