From: Christoph Haller <ch@rodos.fzk.de>
To: pgsql-sql@postgresql.org
Cc: fernando@icreativa.com.mx
Cc: gsstark@mit.edu
Subject: Re: SETOF
Date: Wed, 05 Mar 2003 14:11:42 +0100
Message-ID: <3E65F78E.7455651B@rodos.fzk.de> (raw)
>
>
> Christoph Haller <ch@rodos.fzk.de> writes:
>
> > You cannot obtain several columns from SQL functions.
> > See the list archives (search for SETOF) for details.
> > You have to use e.g. a plpgsql function instead.
>
> How do you do it with a plpgsql function?
>
>
Sorry, Fernando, I was wrong. It works from version 7.3.
The reason why it's not working on your machine is probably
because of a prior version.
And Greg, refer to
http://techdocs.postgresql.org/guides/SetReturningFunctions
I think it will fit your needs.
Regards, Christoph
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: ch@rodos.fzk.de, fernando@icreativa.com.mx, gsstark@mit.edu
Subject: Re: SETOF
In-Reply-To: <3E65F78E.7455651B@rodos.fzk.de>
* 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