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

From Tom Lane
Subject Re: Plperl functions not re-entrant, wrong results
Date
Msg-id 27851.1177948586@sss.pgh.pa.us
Whole thread Raw
In response to Plperl functions not re-entrant, wrong results  (Kenneth Downs <ken@secdat.com>)
Responses Re: Plperl functions not re-entrant, wrong results
List pgsql-bugs
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

pgsql-bugs by date:

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