pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: CoL <col@mportal.hu>
To: pgsql-sql@postgresql.org
Subject: Re: multi results with functions
Date: Mon, 31 May 2004 00:13:08 +0200
Message-ID: <c9dm6p$1tqc$1@news.hub.org> (raw)
In-Reply-To: <c9di5r$2g8i$1@news.cybercity.dk>
References: <c9di5r$2g8i$1@news.cybercity.dk>

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.



view thread (2+ messages)

Message-ID: <c9dm6p$1tqc$1@news.hub.org>
Permalink:  ../c9dm6p$1tqc$1@news.hub.org/
Also on:    postgresql.org/message-id/c9dm6p$1tqc$1@news.hub.org

 · 

reply

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: col@mportal.hu
  Subject: Re: multi results with functions
  In-Reply-To: <c9dm6p$1tqc$1@news.hub.org>

* 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