Re: proposal: plpgsql return execute ...

Merlin Moncure <mmoncure@gmail.com>

From: "Merlin Moncure" <mmoncure@gmail.com>
To: "Neil Conway" <neilc@samurai.com>
Cc: "Pavel Stehule" <pavel.stehule@gmail.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2008-02-27T20:01:21Z
Lists: pgsql-hackers
On Wed, Feb 27, 2008 at 1:58 PM, Neil Conway <neilc@samurai.com> wrote:
> On Wed, 2008-02-27 at 15:24 +0100, Pavel Stehule wrote:
>  > I thing RETURN QUERY is successful idea. It should be completed with
>  > support  of dynamic SQL.
>
>  Yeah, I can see that being useful.
>
>  > RETURN EXECUTE sqlstring [USING];
>
>  What is the USING clause for?

parameter binding.

see: http://archives.postgresql.org/pgsql-patches/2006-08/msg00267.php

merlin