Re: plperl version on the meson setup summary screen

r.zharkov@postgrespro.ru

From: Zharkov Roman <r.zharkov@postgrespro.ru>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2024-11-29T05:39:52Z
Lists: pgsql-hackers
Hello,

On 2024-11-27 21:50, Andrew Dunstan wrote:
> it should give the same answer

Sometimes "version" and "api_versionstring" are different. Here are two 
simple examples from my windows system and from a linux system of one of 
my colleagues:

C:\Temp>perl -MConfig -e "print \"$Config{api_versionstring}\n\"; print 
\"$Config{version}\n\""
5.32.0
5.32.1
C:\Temp>perl -v
This is perl 5, version 32, subversion 1 (v5.32.1) built for 
MSWin32-x64-multi-thread

perl -MConfig -e 'print "$Config{api_versionstring}\n"; print 
"$Config{version}\n"'
5.38.0
5.38.2
perl -v
This is perl 5, version 38, subversion 2 (v5.38.2)


--
Best regards, Roman Zharkov.



Commits

  1. Show plperl version in the meson setup summary.