From: Rhys Stewart <rhys.stewart@gmail.com>
To: pgsql-general@postgresql.org
Subject: set returning functions.
Date: Fri, 21 Sep 2007 13:29:07 -0500
Message-ID: <189966030709211129t7147b726w25f415489f25b874@mail.gmail.com> (raw)
Hi all,
How can one make a set-returning function behave like
generate_series(). If I cobble up an srf with plpgsql i have to do
select * from mysrf().
But i can do select generate_series(1,10) or select this, that,the
other,generate_series(1,5) from sometable. Essentially I would like to
be able to have my srf behave like that.
Rhys
Live Long & Prosper | Peace & Love
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-general@postgresql.org
Cc: rhys.stewart@gmail.com
Subject: Re: set returning functions.
In-Reply-To: <189966030709211129t7147b726w25f415489f25b874@mail.gmail.com>
* 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