Re: Plperl functions not re-entrant, wrong results - Mailing list pgsql-bugs

From Kenneth Downs
Subject Re: Plperl functions not re-entrant, wrong results
Date
Msg-id 4636155B.9050905@secdat.com
Whole thread Raw
In response to Re: Plperl functions not re-entrant, wrong results  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Plperl functions not re-entrant, wrong results
List pgsql-bugs
Tom Lane wrote:
> Kenneth Downs <ken@secdat.com> writes:
>
>> Here is a test case to show that plperl functions are not re-entrant.
>>
>
> I'm very bad in perl, but I think you need to declare all your variables
> with "my" to make them local instead of global.
>
>             regards, tom lane
>

Thanks Tom, that did it!  I had one "my" in there, but there was another
spot where one was needed.


--
Kenneth Downs
Secure Data Software, Inc.
www.secdat.com    www.andromeda-project.org
631-379-7200   Fax: 631-689-0527

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Plperl functions not re-entrant, wrong results
Next
From: Theo Schlossnagle
Date:
Subject: Re: plperl.c patch to correctly support bytea inputs and output to functions and triggers.