plpgsql-function returning a table? - Mailing list pgsql-general

From Konstantinos Agouros
Subject plpgsql-function returning a table?
Date
Msg-id 20010129175718.A13614@rumba.agouros.de
Whole thread Raw
List pgsql-general
Hi,

I have a query that is a little bit complicated and that should contain
one parameter. I need this stuff more often, so I thought to create a function
where I do something like select complexquery(2000); and as result I get the
table I want. Is this possible, or can I create parametrized views?

Konstantin
--
Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: elwood@agouros.de
Otkerstr. 28, 81547 Muenchen, Germany. Tel +49 89 69370185
----------------------------------------------------------------------------
"Captain, this ship will not sustain the forming of the cosmos." B'Elana Torres

pgsql-general by date:

Previous
From: John Frank
Date:
Subject: Re: perl use of cursors and fetch forward
Next
From: Tom Lane
Date:
Subject: Re: Re: perl use of cursors and fetch forward