From: Mark Nielsen <python@kepnet.net>
To: pgsql-sql@postgresql.org
Subject: How do you return more than one variable in a plpgsql function?
Date: Thu, 07 Feb 2002 15:43:40 -0500
Message-ID: <3C62E6FC.1040208@kepnet.net> (raw)
I have never figured out how to make a plpgsql function return more than
one variable or type. I read something where a function an return an
open cursor, but I never figured out how. I want a function to be able
to return an entire row of a table or a number of fields from different
tables using plpgsql.
How can I do that?
Thanks!
Mark
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: python@kepnet.net
Subject: Re: How do you return more than one variable in a plpgsql function?
In-Reply-To: <3C62E6FC.1040208@kepnet.net>
* 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