Re: Meson add host_system to PG_VERSION_STR

From: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>, Juan José Santamaría Flecha <juanjo(dot)santamaria(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Meson add host_system to PG_VERSION_STR
Date: 2022-11-16 09:50:54
Message-ID: 61062039-3c2b-62f6-bd6a-d753ae97bfa5@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 16.11.22 01:01, Michael Paquier wrote:
> On Wed, Nov 16, 2022 at 12:08:56AM +0100, Juan José Santamaría Flecha wrote:
>> As mentioned here [1] it might be interesting to complete the returned
>> information by version() when compiled with meson by including the
>> host_system.
>
> The meson build provides extra_version, which would be able to do the
> same, no? The information would be appended to PG_VERSION_STR through
> PG_VERSION.

I think this is meant to achieve parity between the version strings
generated by configure and by meson.

Perhaps some examples before and after on different platforms could be
shown.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2022-11-16 09:53:59 Re: meson oddities
Previous Message Himanshu Upadhyaya 2022-11-16 09:50:35 Re: HOT chain validation in verify_heapam()