Returning multiple cursors from PL/PgSQL

From: David Fetter <david(at)fetter(dot)org>
To: PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Returning multiple cursors from PL/PgSQL
Date: 2005-01-13 05:33:30
Message-ID: 20050113053330.GC31542@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Folks,

Please find attached an example that allows people to return multiple
named refcursors from a function. Big kudos to Kris Jurka for
figuring this out and pasting to rafb :)

Cheers,
D
--
David Fetter david(at)fetter(dot)org http://fetter.org/
phone: +1 510 893 6100 mobile: +1 415 235 3778

Remember to vote!

Attachment Content-Type Size
multiple_cursor.diff text/plain 1.0 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2005-01-13 05:39:56 Re: Much Ado About COUNT(*)
Previous Message Bruce Momjian 2005-01-13 05:25:09 Re: Much Ado About COUNT(*)