Is there a tutorial on how to get back results from PL/pgSQL functions in PHP? I've several doubt about memory usage, getting back cursors or recordsets or single rows or just a value. What will happen if I have several SELECT in the same PL/pgSQL function? Will they give back several recordset and how? thx