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

Andres Freund <andres@anarazel.de>

From: Andres Freund <andres@anarazel.de>
To: pgsql-hackers@postgresql.org
Cc: Pavel Stehule <pavel.stehule@gmail.com>, Andrew Dunstan <andrew@dunslane.net>, Tom Lane <tgl@sss.pgh.pa.us>, Robert Haas <robertmhaas@gmail.com>, Merlin Moncure <mmoncure@gmail.com>, Peter Eisentraut <peter_e@gmx.net>, "David E. Wheeler" <david@kineticode.com>, Matthew Draper <matthew@trebex.net>
Date: 2011-04-08T15:09:50Z
Lists: pgsql-hackers
On Friday, April 08, 2011 04:53:27 PM Pavel Stehule wrote:
> same mechanism works well in plpgsql and nobody requested a some
> special shortcut.
Well, for one it sucks there as well. For another it has been introduced for 
quite some time and most people have introduced naming like p_param or v_param 
for parameternames.

That has not been the case for sql functions. So I find it way much more 
painfull there...

Andres