Re: plperl crashes backend

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: John Hansen <john(at)geeknet(dot)com(dot)au>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: plperl crashes backend
Date: 2004-11-18 21:37:42
Message-ID: 20055.1100813862@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

John Hansen <john(at)geeknet(dot)com(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Fuhr 2004-11-19 04:55:50 Re: plperl crashes backend
Previous Message Achilleus Mantzios 2004-11-18 15:39:08 Re: column doesnt exist?