Functions returning multiple rowsets

From: Thom Brown <thombrown(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Functions returning multiple rowsets
Date: 2009-09-28 16:49:33
Message-ID: bddc86150909280949s6f9b88d0nbf380716afc3f5dd@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

Is it possible to create a function using 'SQL' as language which could
return multiple rowsets, such as "SELECT * FROM TABLE1; SELECT * FROM
TABLE2;" where both results are returned in the output? I know this can be
done in stored procedures in other RBDMS but can this be done in a function?

Thanks

Thom

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Steve Atkins 2009-09-28 16:55:51 Re: sync structures
Previous Message Merlin Moncure 2009-09-28 16:42:13 Re: computed values in plpgsql