From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | Greg Sabino Mullane <greg(at)turnstep(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: PG 8.1beta3 out soon |
Date: | 2005-10-12 00:07:09 |
Message-ID: | 434C53AD.7030405@dunslane.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Greg Sabino Mullane wrote:
>>That would probably work, but it would ONLY deal with the issue for
>>$_TD. In your function $event will still hit this problem.
>>
>>
>
>Well, fixing $_TD would pretty much fix all the problems I've been having.
>As far as "$event", that is in my control and easily fixed by making it
>"our" as well. Some explicit warnings and best practices in the docs would
>be nice.
>
>Tom, can we possibly get that one-word patch into 8.1? It would go a long
>way towards making plperl more intuitive (and useful), and probably head
>off some future "bug" reports.
>
>
"our" only came in with Perl 5.6 ... I don't recall if we have declared
support for earlier versions than that dead yet, although David Fetter
and Joshua Drake have urged us to.
I will add a note somewhere in the docs in the next few days advising
against using named subroutines that refer to lexical variables from the
enclosing scope.
cheers
andrew
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2005-10-12 02:42:49 | Re: database vacuum from cron hanging |
Previous Message | Bruce Momjian | 2005-10-11 23:55:27 | Re: pg_dump option to dump only functions |