postgresql/src/pl
Tom Lane 89bd9fe5fd Add semicolons to eval'd strings to hide a minor Perl behavioral change.
"eval q{foo}" used to complain that the error was on line 2 of the eval'd
string, because eval internally tacked on "\n;" so that the end of the
erroneous command was indeed on line 2.  But as of Perl 5.18 it more
sanely says that the error is on line 1.  To avoid Perl-version-dependent
regression test results, use "eval q{foo;}" instead in the two places
where this matters.  Per buildfarm.

Since people might try to use newer Perl versions with older PG releases,
back-patch as far as 9.0 where these test cases were added.
2013-06-03 14:19:36 -04:00
..
plperl Add semicolons to eval'd strings to hide a minor Perl behavioral change. 2013-06-03 14:19:36 -04:00
plpgsql Translation updates 2013-02-03 23:58:38 -05:00
plpython Translation updates 2013-03-31 23:40:34 -04:00
tcl Translation updates 2013-02-03 23:58:38 -05:00
Makefile Make distprep and *clean build targets recurse into all subdirectories. 2011-07-03 13:55:27 -04:00