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

Alvaro Herrera <alvherre@alvh.no-ip.org>

From: Alvaro Herrera <alvherre@alvh.no-ip.org>
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>, Noah Misch <noah@leadboat.com>
Date: 2021-10-07T20:26:17Z
Lists: pgsql-hackers
On 2021-Oct-07, Tom Lane wrote:

> Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> > Maybe we can mention `corelist -a` as a way to find out the module
> > versions shipped with each Perl version.
> 
> Hm, I don't see that on my RHEL box.

Oh, that's strange.  It's installed by the perl package on my system, so
I had assumed it was a standard part of a Perl install.

> It does exist on my Mac, but the output is very unhelpful:

Wow, it looks like it's completely broken in macOS.

> So this isn't looking promising :-(

Looking in the archives, apparently people use
  perl -MModule::CoreList
but I see that that module, at least in Debian, is distributed even less
widely than corelist(1) itself, because it's a separate package -- even
though it seems to be part of Perl's core.  Also, the module's interface
appears less helpful than `corelist -a`.

Let's leave it at that, then.  Your original is a step forward in any
case.

-- 
Álvaro Herrera         PostgreSQL Developer  —  https://www.EnterpriseDB.com/



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.