pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedplpgsql function return multiple values?
2+ messages / 2 participants
[nested] [flat]
* plpgsql function return multiple values?
@ 2001-07-30 17:46 John Oakes <john@networkproductions.net>
0 siblings, 1 reply; 2+ messages in thread
From: John Oakes @ 2001-07-30 17:46 UTC (permalink / raw)
To: pgsql-sql
Is it possible for a plpgsql function to return a record? I need to return
multiple values, and preferably in the form of a record. Thanks in advance!
John
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: plpgsql function return multiple values?
@ 2001-07-30 18:11 Jan Wieck <JanWieck@Yahoo.com>
parent: John Oakes <john@networkproductions.net>
0 siblings, 0 replies; 2+ messages in thread
From: Jan Wieck @ 2001-07-30 18:11 UTC (permalink / raw)
To: John Oakes <john@networkproductions.net>; +Cc: pgsql-sql
John Oakes wrote:
> Is it possible for a plpgsql function to return a record? I need to return
> multiple values, and preferably in the form of a record. Thanks in advance!
Not useful in any released version of PostgreSQL.
In v7.2 you'll have at least the possibility to return a
cursor. Don't know yet if I'll be able to add the general
RETURN ... AND RESUME.
Jan
--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck@Yahoo.com #
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2001-07-30 18:11 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-07-30 17:46 plpgsql function return multiple values? John Oakes <john@networkproductions.net>
2001-07-30 18:11 ` Jan Wieck <JanWieck@Yahoo.com>
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