Skip to content

Commit 8851d5c

Browse files
committed
Remove redundant perl version checks
Commit 4c15327 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
1 parent 4bcf352 commit 8851d5c

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/pl/plperl/plc_perlboot.pl

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# src/pl/plperl/plc_perlboot.pl
22

3-
use 5.008001;
43
use vars qw(%_SHARED $_TD);
54

65
PostgreSQL::InServer::Util::bootstrap();

src/tools/pgindent/pgindent

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
use strict;
44
use warnings;
5-
use 5.008001;
65

76
use Cwd qw(abs_path getcwd);
87
use File::Find;

0 commit comments

Comments
 (0)