pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedmulti results with functions
2+ messages / 2 participants
[nested] [flat]
* multi results with functions
@ 2004-05-30 22:02 kasper <no@spam.com>
0 siblings, 1 reply; 2+ messages in thread
From: kasper @ 2004-05-30 22:02 UTC (permalink / raw)
To: 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
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: multi results with functions
@ 2004-05-30 22:13 CoL <col@mportal.hu>
parent: kasper <no@spam.com>
0 siblings, 0 replies; 2+ messages in thread
From: CoL @ 2004-05-30 22:13 UTC (permalink / raw)
To: pgsql-sql
hi,
kasper wrote, On 5/31/2004 00:02:
> 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;
returns SETOF dummytable as ' ....
C.
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2004-05-30 22:13 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-05-30 22:02 multi results with functions kasper <no@spam.com>
2004-05-30 22:13 ` CoL <col@mportal.hu>
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