File tree 9 files changed +12
-19
lines changed
9 files changed +12
-19
lines changed Original file line number Diff line number Diff line change @@ -11,11 +11,11 @@ if test "$PERL"; then
11
11
pgac_perl_version=`$PERL -v 2>/dev/null | sed -n [ 's/This is perl.*v[ a-z ] *\([ 0-9] \.[ 0-9] [ 0-9.] *\).*$/\1/p'] `
12
12
AC_MSG_NOTICE ( [ using perl $pgac_perl_version] )
13
13
if echo "$pgac_perl_version" | sed [ 's/[ .a-z_] / /g'] | \
14
- $AWK '{ if ([ $] 1 == 5 && ([ $] 2 > 8 || ($ [ 2 ] == 8 && [ $ ] 3 >= 3) )) exit 1; else exit 0;}'
14
+ $AWK '{ if ([ $] 1 == 5 && ([ $] 2 >= 14 )) exit 1; else exit 0;}'
15
15
then
16
16
AC_MSG_WARN ( [
17
17
*** The installed version of Perl, $PERL, is too old to use with PostgreSQL.
18
- *** Perl version 5.8.3 or later is required, but this is $pgac_perl_version.] )
18
+ *** Perl version 5.14 or later is required, but this is $pgac_perl_version.] )
19
19
PERL=""
20
20
fi
21
21
fi
Original file line number Diff line number Diff line change @@ -10491,14 +10491,14 @@ if test "$PERL"; then
10491
10491
{ $as_echo "$as_me:${as_lineno-$LINENO}: using perl $pgac_perl_version" >&5
10492
10492
$as_echo "$as_me: using perl $pgac_perl_version" >&6;}
10493
10493
if echo "$pgac_perl_version" | sed 's/[.a-z_]/ /g' | \
10494
- $AWK '{ if ($1 == 5 && ($2 > 8 || ($2 == 8 && $3 >= 3) )) exit 1; else exit 0;}'
10494
+ $AWK '{ if ($1 == 5 && ($2 >= 14 )) exit 1; else exit 0;}'
10495
10495
then
10496
10496
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
10497
10497
*** The installed version of Perl, $PERL, is too old to use with PostgreSQL.
10498
- *** Perl version 5.8.3 or later is required, but this is $pgac_perl_version." >&5
10498
+ *** Perl version 5.14 or later is required, but this is $pgac_perl_version." >&5
10499
10499
$as_echo "$as_me: WARNING:
10500
10500
*** The installed version of Perl, $PERL, is too old to use with PostgreSQL.
10501
- *** Perl version 5.8.3 or later is required, but this is $pgac_perl_version." >&2;}
10501
+ *** Perl version 5.14 or later is required, but this is $pgac_perl_version." >&2;}
10502
10502
PERL=""
10503
10503
fi
10504
10504
fi
Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ $ENV{MSBFLAGS}="/m";
190
190
or Cygwin Perl will not work. It must also be present in the PATH.
191
191
Binaries can be downloaded from
192
192
<ulink url="https://www.activestate.com"></ulink>
193
- (Note: version 5.8.3 or later is required,
193
+ (Note: version 5.14 or later is required,
194
194
the free Standard Distribution is sufficient).
195
195
</para></listitem>
196
196
</varlistentry>
Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ su - postgres
165
165
<application>PL/Perl</application> you need a full
166
166
<productname>Perl</productname> installation, including the
167
167
<filename>libperl</filename> library and the header files.
168
- The minimum required version is <productname>Perl</productname> 5.8.3 .
168
+ The minimum required version is <productname>Perl</productname> 5.14 .
169
169
Since <application>PL/Perl</application> will be a shared
170
170
library, the <indexterm><primary>libperl</primary></indexterm>
171
171
<filename>libperl</filename> library must be a shared library
@@ -325,7 +325,7 @@ su - postgres
325
325
<primary>perl</primary>
326
326
</indexterm>
327
327
328
- <application>Perl</application> 5.8.3 or later is needed to build from a Git checkout,
328
+ <application>Perl</application> 5.14 or later is needed to build from a Git checkout,
329
329
or if you changed the input files for any of the build steps that
330
330
use Perl scripts. If building on Windows you will need
331
331
<application>Perl</application> in any case. <application>Perl</application> is
Original file line number Diff line number Diff line change 6
6
use strict;
7
7
use warnings;
8
8
9
- use 5.008001;
10
9
use vars qw( %_SHARED $_TD) ;
11
10
12
11
PostgreSQL::InServer::Util::bootstrap();
Original file line number Diff line number Diff line change @@ -2780,7 +2780,7 @@ all values '' if not found. Does not differentiate between null and empty string
2780
2780
for fields, no field is ever undef.
2781
2781
2782
2782
The restart_lsn and confirmed_flush_lsn fields are returned verbatim, and also
2783
- as a 2-list of [highword, lowword] integer. Since we rely on Perl 5.8.8 we can't
2783
+ as a 2-list of [highword, lowword] integer. Since we rely on Perl 5.14 we can't
2784
2784
"use bigint", it's from 5.20, and we can't assume we have Math::Bigint from CPAN
2785
2785
either.
2786
2786
Original file line number Diff line number Diff line change @@ -78,10 +78,6 @@ Each test script should end with:
78
78
79
79
done_testing();
80
80
81
- Test::More::like entails use of the qr// operator. Avoid Perl 5.8.8 bug
82
- #39185 by not using the "$" regular expression metacharacter in qr// when also
83
- using the "/m" modifier. Instead of "$", use "\n" or "(?=\n|\z)".
84
-
85
81
Test::Builder::Level controls how far up in the call stack a test will look
86
82
at when reporting a failure. This should be incremented by any subroutine
87
83
which directly or indirectly calls test routines from Test::More, such as
@@ -103,7 +99,7 @@ Portability
103
99
-----------
104
100
105
101
Avoid using any bleeding-edge Perl features. We have buildfarm animals
106
- running Perl versions as old as 5.8.3 , so your tests will be expected
102
+ running Perl versions as old as 5.14 , so your tests will be expected
107
103
to pass on that.
108
104
109
105
Also, do not use any non-core Perl modules except IPC::Run. Or, if you
@@ -116,8 +112,8 @@ One way to test for compatibility with old Perl versions is to use
116
112
perlbrew; see http://perlbrew.pl . After installing that, do
117
113
118
114
export PERLBREW_CONFIGURE_FLAGS='-de -Duseshrplib'
119
- perlbrew --force install 5.8.3
120
- perlbrew use 5.8.3
115
+ perlbrew --force install 5.14.0
116
+ perlbrew use 5.14.0
121
117
perlbrew install-cpanm
122
118
cpanm install Test::
[email protected]
123
119
cpanm install IPC::
[email protected]
Original file line number Diff line number Diff line change 3
3
4
4
use strict;
5
5
use warnings;
6
- use 5.8.0;
7
6
use List::Util qw( max) ;
8
7
9
8
my @def ;
Original file line number Diff line number Diff line change 4
4
5
5
use strict;
6
6
use warnings;
7
- use 5.008001;
8
7
9
8
use Cwd qw( abs_path getcwd) ;
10
9
use File::Find;
You can’t perform that action at this time.
0 commit comments