aboutsummaryrefslogtreecommitdiff
path: root/src/include/postgres_ext.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2013-06-03 14:19:26 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2013-06-03 14:19:26 -0400
commit035a5e1e8c346efe25df6be4627b5f24cc3736b1 (patch)
tree2cd70d95b7172bcd18369ba033cd26fa9fe08180 /src/include/postgres_ext.h
parent15386281a62071f322155b74cb32c2fea92e8350 (diff)
downloadpostgresql-035a5e1e8c346efe25df6be4627b5f24cc3736b1.tar.gz
postgresql-035a5e1e8c346efe25df6be4627b5f24cc3736b1.zip
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.
Diffstat (limited to 'src/include/postgres_ext.h')
0 files changed, 0 insertions, 0 deletions