How do i return a dataset from a stored procedure - Mailing list pgsql-sql

From teknokrat@yahoo.com (teknokrat)
Subject How do i return a dataset from a stored procedure
Date
Msg-id 1cbae208.0207050032.4e052f07@posting.google.com
Whole thread Raw
Responses Re: How do i return a dataset from a stored procedure  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Re: How do i return a dataset from a stored procedure  (Roberto Mello <rmello@cc.usu.edu>)
List pgsql-sql
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




pgsql-sql by date:

Previous
From: "Ligia Pimentel"
Date:
Subject: Re: Selecting data from a table created in another database...
Next
From: dubreuil@ufr-info-p7.jussieu.fr (stephane)
Date:
Subject: algoritme