Re: Perl 5.18 breaks pl/perl regression tests? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Perl 5.18 breaks pl/perl regression tests?
Date
Msg-id 28685.1370269883@sss.pgh.pa.us
Whole thread Raw
In response to Re: Perl 5.18 breaks pl/perl regression tests?  (Kaare Rasmussen <kaare@jasonic.dk>)
Responses Re: Perl 5.18 breaks pl/perl regression tests?
List pgsql-hackers
Kaare Rasmussen <kaare@jasonic.dk> writes:
> That page is not updated, it seems. In this list
> https://metacpan.org/module/RJBS/perl-5.18.0/pod/perldelta.pod
> is mentioned "Line numbers at the end of a string eval are no longer off 
> by one. [perl #114658]"

Hah.  That leads to
http://perl5.git.perl.org/perl.git/commitdiff/451f421
in which it's said "What happens is that eval tacks "\n;" on to the end
of the string if it does not already end with a semicolon."

So we could likely hide the cross-version difference in behavior by
adjusting these two test cases to include a semicolon in the eval'd
string.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: erroneous restore into pg_catalog schema
Next
From: Martin Schäfer
Date:
Subject: UTF-8 encoding problem w/ libpq