Re: error message diff with Perl 5.22.0 - Mailing list pgsql-hackers

From Alex Hunsaker
Subject Re: error message diff with Perl 5.22.0
Date
Msg-id CAFaPBrTsgKYHKb+Wf=xK8shG7+=F2ty-OxEJdkq9wT_Jknj8-g@mail.gmail.com
Whole thread Raw
In response to error message diff with Perl 5.22.0  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: error message diff with Perl 5.22.0
List pgsql-hackers


On Sat, Jun 6, 2015 at 7:03 PM, Peter Eisentraut <peter_e@gmx.net> wrote:
With the recently released Perl 5.22.0, the tests fail thus:

-ERROR:  Global symbol "$global" requires explicit package name at line 3.
-Global symbol "$other_global" requires explicit package name at line 4.
+ERROR:  Global symbol "$global" requires explicit package name (did you forget to declare "my $global"?) at line 3.
+Global symbol "$other_global" requires explicit package name (did you forget to declare "my $other_global"?) at line 4.
 CONTEXT:  compilation of PL/Perl function "uses_global"


FWIW the committed expected file seems fine to me. There is not a perl option to toggle this behavior (and even if there was, I think the resulting changes to pl/perl functions we be quite ugly).

(What about the back branches? :D)

pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: drop/truncate table sucks for large values of shared buffers
Next
From: Fujii Masao
Date:
Subject: Re: Expending the use of xlog_internal.h's macros