Re: Meson add host_system to PG_VERSION_STR

Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>

From: Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>
To: Andres Freund <andres@anarazel.de>
Cc: Michael Paquier <michael@paquier.xyz>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2022-11-16T21:32:47Z
Lists: pgsql-hackers
On Wed, Nov 16, 2022 at 8:02 PM Andres Freund <andres@anarazel.de> wrote:

>
> Given we're looking at improving this, should we also add 32/64-bit piece?
>
> If so, we probably should move building PG_VERSION_STR to later so we can
> use
> SIZEOF_VOID_P - configure.ac does that too.
>
> With extra_version set to -andres the attached results in:
>
> PostgreSQL 16devel-andres on x86_64-linux, compiled by gcc-13.0.0, 64-bit
>

WFM.

Regards,

Juan José Santamaría Flecha

Commits

  1. meson: Improve PG_VERSION_STR generation