set returning functions.

From: "Rhys Stewart" <rhys(dot)stewart(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: set returning functions.
Date: 2007-09-21 18:29:07
Message-ID: 189966030709211129t7147b726w25f415489f25b874@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Madison Kelly 2007-09-21 19:17:56 Return t/f on existence of a join
Previous Message Erik Jones 2007-09-21 17:09:50 Re: Migrating from 32 bit to 64 bit binaries