Re: plperl crashes backend - Mailing list pgsql-bugs

From Tom Lane
Subject Re: plperl crashes backend
Date
Msg-id 20055.1100813862@sss.pgh.pa.us
Whole thread Raw
In response to plperl crashes backend  (John Hansen <john@geeknet.com.au>)
Responses Re: plperl crashes backend
List 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 by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: column doesnt exist?
Next
From: Michael Fuhr
Date:
Subject: Re: plperl crashes backend