plperl: update ppport.h and fix configure version check

Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>

From: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
To: pgsql-hackers@postgresql.org
Date: 2021-10-04T23:40:45Z
Lists: pgsql-hackers

Attachments

Hi hackers,

Andres' recent post¹ about PL/Perl on Windows and linked-to² patch
containing an erroneous version check made me realise that we haven't
updated our copy of ppport.h since 2009.  Attached is a patch that does
that, and applies code changes suggested by running it.  I've tested
`make check-world` with `--with-perl` on both the oldest (5.8.9) and
newest (5.34.0) perls I have handy.

I also noticed that PL/Perl itself (via plc_perlboot.pl) requires Perl
5.8.1, but configure only checks for 5.8 (i.e. 5.8.0).  The second patch
updates the latter to match.

- ilmari
[1] https://www.postgresql.org/message-id/20211004213816.t5zgv4ba5zfijqzc%40alap3.anarazel.de
[2] https://www.postgresql.org/message-id/20200501134711.08750c5f@antares.wagner.home

Commits

  1. plperl: update ppport.h to Perl 5.34.0.

  2. Doc: update our claims about the minimum recommended AIX version.

  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.