Juan,
> Hi, I know this is not a plpgsql mail list, but i cant find one, so if
> any of you know of one please tell me, or if you ca answer me this
> question:
>
> How do i return multiple rows in a plpgsql function? (with example)
http://techdocs.postgresql.org/guides/SetReturningFunctions
--
-Josh Berkus
Aglio Database Solutions
San Francisco