Re: Plperl functions not re-entrant, wrong results

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Kenneth Downs <ken(at)secdat(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Plperl functions not re-entrant, wrong results
Date: 2007-04-30 15:56:26
Message-ID: 27851.1177948586@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Kenneth Downs <ken(at)secdat(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Phil Criley 2007-04-30 16:03:36 BUG #3258: Password fails, RPM installs in wrong directory
Previous Message Tom Lane 2007-04-30 15:32:48 Re: plperl.c patch to correctly support bytea inputs and output to functions and triggers.