Re: recursive function returning "setof"

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: recursive function returning "setof"
Дата
Msg-id 006b01c24790$072149c0$0200a8c0@SOL
обсуждение исходный текст
Ответ на recursive function returning "setof"  (Fritz Lehmann-Grube <lehmannf@math.TU-Berlin.DE>)
Список pgsql-sql
> The problem is:
> A SQL-Function cannot be recursive because it cannot call itself, and it
can
> perform no loops.
> A PLPGSQL-Function cannot return sets.

It can perform loops.  Check the manual- you can do FOR and WHILE loops.
7.3 will be able to return sets from PLPGSQL funcs it seems.

Chris




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

Предыдущее
От: Fritz Lehmann-Grube
Дата:
Сообщение: recursive function returning "setof"
Следующее
От: Mark Stosberg
Дата:
Сообщение: need assistance with multi-row matching expression