Feed a table function with a query

Поиск
Список
Период
Сортировка
От Robert Wimmer
Тема Feed a table function with a query
Дата
Msg-id BAY139-F235ED1CD4A98B7F3D9D08D02C0@phx.gbl
обсуждение исходный текст
Ответы Re: Feed a table function with a query  (Derrick Betts <list@blueaxis.com>)
Список pgsql-novice
Hi,

is there any possibility to feed a "table" function with a query. foe
example

CREATE FUNCTION func(id INT) RETURNS SETOF tmp AS ...

SELECT * FROM func(<scalar>); works as expected

What i want to do is something like

SELECT * FROM func((SELECT id FROM pers WHERE name ILIKE 'w%'));

i am using 8.0 on windows

regards sepp

_________________________________________________________________
Ein gigantisches Konzert kämpft gegen eine fortschreitende Klimakrise.
http://liveearthsos.msn.com/Hub.aspx?mkt=de-at


В списке pgsql-novice по дате отправления:

Предыдущее
От: Michael Glaesemann
Дата:
Сообщение: Re: How do I insert a record into a table?
Следующее
От: Brian Hurt
Дата:
Сообщение: Re: How do I insert a record into a table?