plpgsql-function returning a table?

Поиск
Список
Период
Сортировка
От Konstantinos Agouros
Тема plpgsql-function returning a table?
Дата
Msg-id 20010129175718.A13614@rumba.agouros.de
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: John Frank
Дата:
Сообщение: Re: perl use of cursors and fetch forward
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Re: perl use of cursors and fetch forward