Re: New PL/Perl failure with Safe 2.2x due to recursion (8.x & 9.0)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: New PL/Perl failure with Safe 2.2x due to recursion (8.x & 9.0)
Дата
Msg-id 18908.1267067970@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: New PL/Perl failure with Safe 2.2x due to recursion (8.x & 9.0)  (Alex Hunsaker <badalex@gmail.com>)
Ответы Re: New PL/Perl failure with Safe 2.2x due to recursion (8.x & 9.0)
Re: New PL/Perl failure with Safe 2.2x due to recursion (8.x & 9.0)
Список pgsql-bugs
Alex Hunsaker <badalex@gmail.com> writes:
> ISTM the easiest and safest fix would be to not allow recursive plperl
> creations.  You could still call plperl functions within functions,
> just not if they are not defined.  This limitation really blows

That's the understatement of the month.  What you're saying, IIUC, is
that if function A calls function B via a SPI command, and B wasn't
executed previously in the current session, it would fail?  Seems
entirely unacceptable.

            regards, tom lane

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

Предыдущее
От: Alex Hunsaker
Дата:
Сообщение: Re: New PL/Perl failure with Safe 2.2x due to recursion (8.x & 9.0)
Следующее
От: Alex Hunsaker
Дата:
Сообщение: Re: New PL/Perl failure with Safe 2.2x due to recursion (8.x & 9.0)