multi results with functions

From: "kasper" <no(at)spam(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: multi results with functions
Date: 2004-05-30 22:02:06
Message-ID: c9di5r$2g8i$1@news.cybercity.dk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi

Im trying to make a stored procedure that returns * from at table, and
returns multible rows. Can you do that, and how?

basically I would like to do:

create or replace function test () returns record as '
select * from dummytable;
' language sql;

Thanks
- Kasper

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message CoL 2004-05-30 22:13:08 Re: multi results with functions
Previous Message Bruno Wolff III 2004-05-28 21:23:54 Re: About intervals