On Wed, Mar 17, 2010 at 12:00 AM, Osvaldo Kussama <osvaldo.kussama@xxxxxxxxx> 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. -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general