Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group