Re: recursive SQL functions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: recursive SQL functions
Дата
Msg-id 25414.1014487623@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: recursive SQL functions  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: recursive SQL functions  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> I've prepared a patch for recursive SQL functions.  I assume these memory
> leaks "and so forth" that you speak of are just issues of quality, not
> something that should prevent the use of recursive functions altogether.

I suspect it would not work to re-use a query plan tree at multiple
recursion levels (someday, plan trees should be read-only during
execution, but they ain't now).  As long as you are making a new
plan tree for each recursive entry, it should work ...
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: IANA postgres service type-o!
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: recursive SQL functions