Re: pgsql: Adjust configure to insist on Perl version >= 5.8.3.

Noah Misch <noah@leadboat.com>

From: Noah Misch <noah@leadboat.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Daniel Gustafsson <daniel@yesql.se>, Postgres hackers <pgsql-hackers@lists.postgresql.org>, Craig Ringer <craig.ringer@enterprisedb.com>
Date: 2021-10-09T19:59:47Z
Lists: pgsql-hackers
On Sat, Oct 09, 2021 at 03:44:17PM -0400, Tom Lane wrote:
> > By the way, I suspect 93fb39e introduced a regression in the recipe.  (I
> > haven't tested, though.)  Before commit 93fb39e, "cpanm install IPC::Run"
> > would update Test::More.  As of 5.8.3, the core version of Test::More is new
> > enough for IPC::Run but not new enough for PostgreSQL.  I recommend adding
> > "cpanm install Test::More" to restore the pre-93fb39e functionality.
> 
> Good point.  So how about like the attached?

Fine with me.



Commits

  1. Make configure check for minimum required version of IPC::Run.

  2. Doc: update testing recipe in src/test/perl/README.

  3. Update test/perl/README to insist on Perl version >= 5.8.3, too.

  4. Adjust configure to insist on Perl version >= 5.8.3.

  5. Doc: specify that the minimum supported version of Perl is 5.8.3.