Re: PL_stashcache, or, what's our minimum Perl version?
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: pgsql-hackers@postgresql.org
Date: 2017-07-28T03:58:08Z
Lists: pgsql-hackers
I wrote:
> So the question is, does anyone care? I wouldn't except that our
> documentation appears to claim that we work with Perl "5.8 or later".
BTW, what actually says that is installation.sgml:
<application>Perl</> 5.8 or later is needed to build from a Git checkout,
or if you changed the input files for any of the build steps that
use Perl scripts. If building on Windows you will need
<application>Perl</> in any case. <application>Perl</application> is
also required to run some test suites.
Strictly speaking, there is no statement anywhere (AFAICT) about what
Perl versions PL/Perl works with.
As an experiment, I built from a "make maintainer-clean" state using
that 5.8.0 install, and it worked. So indeed installation.sgml's
statement is correct as far as it goes. But I dunno what the situation
is for the MSVC build scripts. I did not try the TAP tests either.
A look in the buildfarm logs says that the oldest Perl version we're
actually testing is 5.8.6 on prairiedog. (castoroides/protosciurus
have 5.8.4 but they are not building --with-perl, so that only
exercises the build scripts not plperl; they're not doing TAP either.)
I only looked into configure.log results though, so I'm not sure
about the Windows critters.
I kinda suspect we're not actively testing non-MULTIPLICITY builds
either. The 5.8.7 test I just ran was with a non-MULTIPLICITY build,
so the case doesn't seem actively broken, but I doubt there is any
buildfarm coverage. I wonder if it'd be worth getting the buildfarm
to log the output of "perl -V" so we could get a clearer picture
of what's being tested.
regards, tom lane
Commits
-
Adjust configure to insist on Perl version >= 5.8.3.
- 92e6a98c3636 15.0 landed
-
Further improve consistency of configure's program searching.
- b21c569cea58 10.0 landed
-
Doc: specify that the minimum supported version of Perl is 5.8.3.
- dea6ba939fd2 10.0 landed
- d6f87a23d016 9.5.8 landed
- c522b52d3cf2 9.2.22 landed
- 3bf894feebcb 9.3.18 landed
- 3521131cb120 9.6.4 landed
- 23c20e83d681 9.4.13 landed
-
Record full paths of programs sought by "configure".
- 40b9f192170a 10.0 landed
-
Abandon the use of Perl's Safe.pm to enforce restrictions in plperl, as it is
- 1f474d299d02 9.0.0 cited