Re: Meson add host_system to PG_VERSION_STR

Поиск
Список
Период
Сортировка
От Juan José Santamaría Flecha
Тема Re: Meson add host_system to PG_VERSION_STR
Дата
Msg-id CAC+AXB2uzxDPxZ0EO9jXfiU3YxUrAVJaQY01YmKVct2q1gg38Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Meson add host_system to PG_VERSION_STR  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Ответы Re: Meson add host_system to PG_VERSION_STR
Список pgsql-hackers

On Wed, Nov 16, 2022 at 10:50 AM Peter Eisentraut <peter.eisentraut@enterprisedb.com> wrote:
On 16.11.22 01:01, Michael Paquier wrote:
>
> 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.

Yes, that would make clear what the patch is trying to do. For version() we get:

Configure:
 PostgreSQL 16devel on x86_64-pc-linux-gnu, compiled by gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516, 64-bit

Meson:
 PostgreSQL 16devel on x86_64, compiled by gcc-6.3.0

Patched:
 PostgreSQL 16devel on x86_64-linux, compiled by gcc-6.3.0

Regards,

Juan José Santamaría Flecha

 

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Ian Lawrence Barwick
Дата:
Сообщение: Re: Commit fest 2022-11
Следующее
От: Maxim Orlov
Дата:
Сообщение: Re: Add LSN along with offset to error messages reported for WAL file read/write/validate header failures