Re: plperl crashes backend

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: plperl crashes backend
Дата
Msg-id 20055.1100813862@sss.pgh.pa.us
обсуждение исходный текст
Ответ на plperl crashes backend  (John Hansen <john@geeknet.com.au>)
Ответы Re: plperl crashes backend  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-bugs
John Hansen <john@geeknet.com.au> writes:
> The following function:
> ...
> creashes the backend, UNLESS it's executed in the same session where it was created.

Got it ...

RCS file: /cvsroot/pgsql/src/pl/plperl/plperl.c,v
***************
*** 659,665 ****
--- 655,664 ----
      int            count;

      if (trusted && !plperl_safe_init_done)
+     {
          plperl_safe_init();
+         SPAGAIN;
+     }

      ENTER;
      SAVETMPS;
***************

Man, that was painful to find.

            regards, tom lane

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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: column doesnt exist?
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: plperl crashes backend