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