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-30T20:35:28Z
Lists: pgsql-hackers
"Tels" <nospam-pg-abuse@bloodgate.com> writes: > On Sun, July 30, 2017 12:22 pm, Tom Lane wrote: >> 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. > So basically the two files: > http://search.cpan.org/src/EXODIST/Test-Simple-1.302086/lib/Test/More.pm > http://search.cpan.org/src/EXODIST/Test-Simple-1.302086/lib/Test/Builder/Module.pm > might do the trick. Thanks for the hint. I transplanted these files out of a 5.10.1 tarball into 5.8.3, then built as usual: lib/Test/Simple.pm lib/Test/More.pm lib/Test/Builder.pm lib/Test/Builder/Module.pm The result seems to work, although it fails a few of 5.8.3's tests, probably because I didn't copy over the relevant test scripts. It's good enough to run PG's tests though. 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