From: Keith Wong <keith@e-magine.com.au>
To: pgsql-sql@postgresql.org
Subject: returning a recordset with pl/pgsql
Date: Wed, 09 Aug 2000 00:29:50 +1000
Message-ID: <4.3.2.7.0.20000809002702.00af31d8@mail.e-magine.com.au> (raw)
Hi everyone,
I'm using postgresql with php4. I wanted to write a stored procedure to
return a recordset (using pl/pgsql). From what I've read from the
documentation it seems like you can only returned postgres types like
strings, booleans, etc.
Is it possible to return recordsets using pl/pgsql?
If so, how do I declare the return type in the declaration?
Thanks in advance.
Cheers,
Keith.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: keith@e-magine.com.au
Subject: Re: returning a recordset with pl/pgsql
In-Reply-To: <4.3.2.7.0.20000809002702.00af31d8@mail.e-magine.com.au>
References: <4.3.2.7.0.20000809002702.00af31d8@mail.e-magine.com.au>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox