pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedreturning a recordset with pl/pgsql
2+ messages / 2 participants
[nested] [flat]
* returning a recordset with pl/pgsql
@ 2000-08-08 14:29 Keith Wong <keith@e-magine.com.au>
0 siblings, 1 reply; 2+ messages in thread
From: Keith Wong @ 2000-08-08 14:29 UTC (permalink / raw)
To: pgsql-sql
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.
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: returning a recordset with pl/pgsql
@ 2000-08-16 09:21 Kovacs Zoltan Sandor <tip@pc10.radnoti-szeged.sulinet.hu>
parent: Keith Wong <keith@e-magine.com.au>
0 siblings, 0 replies; 2+ messages in thread
From: Kovacs Zoltan Sandor @ 2000-08-16 09:21 UTC (permalink / raw)
To: Keith Wong <keith@e-magine.com.au>; +Cc: pgsql-sql
> Is it possible to return recordsets using pl/pgsql?
> If so, how do I declare the return type in the declaration?
AFAIK you can't. I suggest you using temporary tables instead.
Regards, Zoltan
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2000-08-16 09:21 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-08-08 14:29 returning a recordset with pl/pgsql Keith Wong <keith@e-magine.com.au>
2000-08-16 09:21 ` Kovacs Zoltan Sandor <tip@pc10.radnoti-szeged.sulinet.hu>
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