From: teknokrat@yahoo.com
To: pgsql-sql@postgresql.org
Subject: How do i return a dataset from a stored procedure
Date: 5 Jul 2002 01:32:33 -0700
Message-ID: <1cbae208.0207050032.4e052f07@posting.google.com> (raw)
I can't figure out how to return a group of rows from a function
written in plpgsql (or plsql for that matter). The only way i have
seen it done is with a setof table return value in sql. But since the
query was a single select anyway i don't see the point of this. Is
there a way of creating a temporary table in a procedure and using it
as the output?
thanks
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: teknokrat@yahoo.com
Subject: Re: How do i return a dataset from a stored procedure
In-Reply-To: <1cbae208.0207050032.4e052f07@posting.google.com>
* 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