Re: Recursion and SPI

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Recursion and SPI
Дата
Msg-id 15140.978735834@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Recursion and SPI  (Ian Lance Taylor <ian@airs.com>)
Список pgsql-hackers
Ian Lance Taylor <ian@airs.com> writes:
> Does the SPI interface support recursion?  That is, can a function
> use SPI to make a query which involves calling another function which
> uses SPI?

Looks to me like it should work.

> The documentation suggests not, saying that if a function which uses
> SPI calls another function which uses SPI, it won't work, and calling
> that ``bad practice.''

The documentation could be out of date.  Why don't you test it out and
let us know?
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Beta2 ... ?
Следующее
От: "mike"
Дата:
Сообщение: Re: Beta2 ... ?