Re: plperl - make $_TD global - Mailing list pgsql-patches

From Tom Lane
Subject Re: plperl - make $_TD global
Date
Msg-id 15684.1148337928@sss.pgh.pa.us
Whole thread Raw
In response to plperl - make $_TD global  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: plperl - make $_TD global  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-patches
Andrew Dunstan <andrew@dunslane.net> writes:
> The attached tiny patch will fix the problem Greg Sabino Mullane had
> with a shared lexical $_TD, by making it a global and just pushing a
> local value in the trigger function.
> ...
> I don't think a docs change is needed.

Are you sure this doesn't cause any user-visible semantics change
(ie, something that might break someone's code)?

            regards, tom lane

pgsql-patches by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: archiver.pid
Next
From: Andrew Dunstan
Date:
Subject: Re: plperl - make $_TD global