Re: Perl 5.18 breaks pl/perl regression tests?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Kaare Rasmussen <kaare(at)jasonic(dot)dk>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Perl 5.18 breaks pl/perl regression tests?
Date: 2013-06-03 14:31:23
Message-ID: 28685.1370269883@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Kaare Rasmussen <kaare(at)jasonic(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Martin Schäfer 2013-06-03 14:40:14 UTF-8 encoding problem w/ libpq
Previous Message Heikki Linnakangas 2013-06-03 14:23:19 Re: erroneous restore into pg_catalog schema