pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: kasper <no@spam.com>
To: pgsql-sql@postgresql.org
Subject: multi results with functions
Date: Sun, 30 May 2004 23:02:06 +0100
Message-ID: <c9di5r$2g8i$1@news.cybercity.dk> (raw)

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





view thread (2+ messages)  latest in thread

Message-ID: <c9di5r$2g8i$1@news.cybercity.dk>
Permalink:  ../c9di5r$2g8i$1@news.cybercity.dk/
Also on:    postgresql.org/message-id/c9di5r$2g8i$1@news.cybercity.dk

 · 

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: no@spam.com
  Subject: Re: multi results with functions
  In-Reply-To: <c9di5r$2g8i$1@news.cybercity.dk>

* 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