Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Remove redundant perl version checks
authorAndrew Dunstan <andrew@dunslane.net>
Wed, 26 Jun 2024 11:01:47 +0000 (07:01 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Wed, 26 Jun 2024 11:25:00 +0000 (07:25 -0400)
Commit 4c1532763a removed some redundant uses of 'use 5.008001;' in perl
scripts, including in plperl's plc_perlboot.pl. Because it made other
changes it wasn't backpatched. However, now this is causing a failure on
back branches when built with bleeding edge perl. Therefore, backpatch
just that part of it which removed those uses, from 15 all the way down
to 9.2, which is the earliest version currently built in the buildfarm.

per report from Alexander Lakhin

Discussion: https://postgr.es/m/4cc2ee93-e03c-8e13-61ed-412e7e6ff19d@gmail.com

src/pl/plperl/plc_perlboot.pl
src/tools/pgindent/pgindent

index ee1b9bf4634bab7440ddbd342c793b322869f823..ad68a521c848ddd108473b7faf07b3ceda14cda2 100644 (file)
@@ -3,7 +3,6 @@
 use strict;
 use warnings;
 
-use 5.008001;
 use vars qw(%_SHARED $_TD);
 
 PostgreSQL::InServer::Util::bootstrap();
index 457e3288248446428160b3a2a47be8f7fc739dc9..004b4b2a4a7bc61c4300658e43cd6986a0144e6d 100755 (executable)
@@ -2,7 +2,6 @@
 
 use strict;
 use warnings;
-use 5.008001;
 
 use Cwd qw(abs_path getcwd);
 use File::Find;