n Wed, Apr 22, 2009 at 2:54 PM, Merlin Moncure <mmoncure@xxxxxxxxx> wrote: > On Wed, Apr 22, 2009 at 12:29 PM, <rwade@xxxxxxx> wrote: >> If I have built a dynamic sql statement in a function, how do i return it >> as a ref cursor? > > CREATE FUNCTION reffunc(_ref) RETURNS refcursor AS oops CREATE FUNCTION reffunc(_ref refcursor) RETURNS refcursor AS merlin -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general