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: "Tels" <nospam-pg-abuse@bloodgate.com>
Cc: "Andrew Dunstan" <andrew@dunslane.net>, pgsql-hackers@postgresql.org
Date: 2017-07-30T16:22:38Z
Lists: pgsql-hackers
"Tels" <nospam-pg-abuse@bloodgate.com> writes: > On Sun, July 30, 2017 1:21 am, Tom Lane 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". > Not sure how often People use old Perl versions out in the field. I'd > venture this is either happens with "ancient" stuff, e.g. where people > just can't or want upgrade. > Otherwise, an up-to-date OS is just necessary for security, anyway, and > that would contain a Perl from this decade, wouldn't it? Well, that's not really the point, IMO. The reason I'm interested in this is the same reason I run some buildfarm critters on ancient platforms: if we do something that breaks backwards compatibility with old software, we should know it and make a deliberate decision that it's okay. (And update the relevant compatibility claims in our docs.) Moving the compatibility goalposts without knowing it isn't good, especially if it happens in supposedly-stable release branches. >> I am unable to confirm our claim that we work with Test::More 0.82, >> because CPAN has only versions from a year or three back. (Anyone >> know of a more, er, comprehensive archive than CPAN?) It's also >> interesting to speculate about how old a version of IPC::Run is new >> enough, but I see no easy way to get much data on that either. > Test::More has been bundled with Perl since 5.6.2 (you can use "corelist" > to check for these things), so if all fails, it might be possible to > extract a version from a Perl distribution [4]. Yeah, I looked into that. The closest candidate I can find is that perl 5.10.1 contains Test::More 0.92. However, it's not real clear to me exactly which files I'd need to pull out of 5.10.1 and inject into an older tarball --- the layout seems a lot different from a standalone package. 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