From: | Dagfinn Ilmari Mannsåker <ilmari(at)ilmari(dot)org> |
---|---|
To: | Victor Wagner <vitus(at)wagner(dot)pp(dot)ru> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Postgresql Windows build and modern perl (>=5.28) |
Date: | 2021-10-04 22:08:25 |
Message-ID: | 8735pgtpd2.fsf@wibble.ilmari.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Victor Wagner <vitus(at)wagner(dot)pp(dot)ru> writes:
> Attached patch makes use of this function if PERL_VERSION >= 28.
> It makes plperl compile with ActiveStatePerl 5.28 and StrawberryPerl
> 5.30.2.1.
I have no opinion on the substantive content of this patch, but please
don't just check against just PERL_VERSION. Now that Perl 6 has been
renamed to Raku, Perl may bump its major version (PERL_REVISION) to 7 at
some point in th future.
The correct thing to use is the PERL_VERSION_(GT|GE|LE|LT|EQ|NE) macros,
which are provided by newer versions of perl. We would need to update
the included copy of ppport.h to get them on older perls, but we should
do that anyway, it's not been updated since 2009. I'll start a separate
thread for that.
- ilmari
From | Date | Subject | |
---|---|---|---|
Next Message | Mark Dilger | 2021-10-04 22:36:06 | Re: BUG #17212: pg_amcheck fails on checking temporary relations |
Previous Message | David Rowley | 2021-10-04 22:07:48 | Re: Use simplehash.h instead of dynahash in SMgr |