plperl: update ppport.h and fix configure version check

From: Dagfinn Ilmari Mannsåker <ilmari(at)ilmari(dot)org>
To: pgsql-hackers(at)postgresql(dot)org
Subject: plperl: update ppport.h and fix configure version check
Date: 2021-10-04 23:40:45
Message-ID: 87y278s6iq.fsf@wibble.ilmari.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
0001-plperl-update-ppport.h-to-latest-version.patch text/x-diff 581.5 KB
0002-configure-require-perl-5.8.1-for-with-perl.patch text/x-diff 2.4 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Geoghegan 2021-10-04 23:45:14 Re: BUG #17212: pg_amcheck fails on checking temporary relations
Previous Message Mark Dilger 2021-10-04 23:34:53 Re: BUG #17212: pg_amcheck fails on checking temporary relations