可以从Postgres函数返回多个结果集,如MSsql:
CREATE PROCEDURE test AS SELECT * FROM first_table SELECT * FROM second_table
CREATE PROCEDURE test AS SELECT * FROM first_table SELECT * FROM second_table