guillermo arias wrote: > Hello, people, i have a question for you: > is it possible to recover more than one recordset or cursor from a function? > I use to do it in ms sql server, but it is a mistery for me in postgre. Start here: http://www.postgresql.org/docs/8.2/static/xfunc-sql.html#AEN36437 Cheers, Steve