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

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: (view raw, whole thread or download thread mbox)
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


pgsql-bugs by date

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

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