proposal: plpgsql return execute ...

From: "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com>
To: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: proposal: plpgsql return execute ...
Date: 2008-02-27 14:24:55
Message-ID: 162867790802270624td2146bcn41a89413cbbce016@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox
Thread:
Lists: pgsql-hackers

Hello

I thing RETURN QUERY is successful idea. It should be completed with
support of dynamic SQL.

Syntax:

RETURN EXECUTE sqlstring [USING];

This is shortcut for
FOR r IN EXECUTE sqlstring USING LOOP
RETURN NEXT r;
END LOOP;

Regards
Pavel Stehule

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2008-02-27 14:29:05 Re: OSSP can be used in the windows environment now!
Previous Message Pavel Stehule 2008-02-27 14:20:10 Re: idea: simple variadic functions in SQL and PL/pgSQL