On Wed, Mar 17, 2010 at 12:00 AM, Osvaldo Kussama
<osvaldo(dot)kussama(at)gmail(dot)com> wrote:
>
> For a RETURN SETOF function use:
>
> SELECT * FROM aplpgsqlfunction('%u');
>
> http://www.postgresql.org/docs/current/interactive/plpgsql-control-structures.html#PLPGSQL-STATEMENTS-RETURNING
>
> Osvaldo
>
I didn't know about RETURN SETOF. I will look into it though it seems
just from that example that you have define a separate table just for
that function.