Re: Plperl functions with OUT parameters crashing each other when used in the same connection

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Philippe Lang" <philippe(dot)lang(at)attiksystem(dot)ch>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Plperl functions with OUT parameters crashing each other when used in the same connection
Date: 2006-09-04 15:39:35
Message-ID: 24863.1157384375@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Philippe Lang" <philippe(dot)lang(at)attiksystem(dot)ch> writes:
> Here is a reduced example that shows the problem.

Hm, I'm no Perl guru, but isn't the second script to be loaded going to
redefine those subroutines that the first script defined? I'm pretty
sure that there's not an implicit independent namespace for each plperl
function.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Mario Lopez 2006-09-04 15:55:17 Re: PostgreSQL XID exceeded crash.
Previous Message Tom Lane 2006-09-04 15:34:30 Re: Plperl functions with OUT parameters crashing each other when used in the same connection