summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dunstan2024-06-26 11:01:47 +0000
committerAndrew Dunstan2024-06-26 11:30:01 +0000
commit0536f8e2cca21aad53eb11b39513e96e5f0f0830 (patch)
tree71618f4681e739b3b0a5d47ed5aec4460cd16b66
parentbfa3d27906646f39599901891a237a736191ffc9 (diff)
Remove redundant perl version checks
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/[email protected]
-rw-r--r--src/pl/plperl/plc_perlboot.pl1
-rwxr-xr-xsrc/tools/pgindent/pgindent1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/pl/plperl/plc_perlboot.pl b/src/pl/plperl/plc_perlboot.pl
index d506d01163b..e8aab9b8251 100644
--- a/src/pl/plperl/plc_perlboot.pl
+++ b/src/pl/plperl/plc_perlboot.pl
@@ -1,6 +1,5 @@
# src/pl/plperl/plc_perlboot.pl
-use 5.008001;
use vars qw(%_SHARED $_TD);
PostgreSQL::InServer::Util::bootstrap();
diff --git a/src/tools/pgindent/pgindent b/src/tools/pgindent/pgindent
index 85ce57079d6..357262ebded 100755
--- a/src/tools/pgindent/pgindent
+++ b/src/tools/pgindent/pgindent
@@ -2,7 +2,6 @@
use strict;
use warnings;
-use 5.008001;
use Cwd qw(abs_path getcwd);
use File::Find;