Re: PL/Perl namespace fix - Mailing list pgsql-patches

From Andrew Dunstan
Subject Re: PL/Perl namespace fix
Date
Msg-id 430784BE.8070505@dunslane.net
Whole thread Raw
In response to Re: PL/Perl namespace fix  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: PL/Perl namespace fix  (Michael Fuhr <mike@fuhr.org>)
List pgsql-patches

Tom Lane wrote:

>Michael Fuhr <mike@fuhr.org> writes:
>
>
>>The attached patch appears to fix the problem discussed in the
>>"plperl gives error after reconnect" thread in pgsql-bugs:
>>
>>
>
>I think this patch is a good idea just on grounds of namespace
>safety, so I'll go ahead and apply it.  But like you, I have no
>idea why it appears to fix the reported problem --- there don't
>seem to be any namespace hazards in the test case.  I think there
>is still a problem here somewhere.
>
>
>
>

Yes, very puzzling, but as you say the fix seems correct and harmless.

How far back has this bug been verified? Was it in 7.4 before we made
some large changes to plperl?

cheers

andrew

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: PL/Perl namespace fix
Next
From: Michael Fuhr
Date:
Subject: PL/Perl embedding string common elements