Package version in PG_VERSION and version()

Поиск
Список
Период
Сортировка
От Christoph Berg
Тема Package version in PG_VERSION and version()
Дата
Msg-id 20171215104616.GC31812@msg.df7cb.de
обсуждение исходный текст
Ответы Re: Package version in PG_VERSION and version()  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-hackers
To be able to identify more easily which package a connected server is
coming from, I would like to embed the (Debian) package version in the
version() output which is coming from PG_VERSION. It is fairly easy to
do that, but it requires patching configure(.in):

$ ./configure VENDOR_VERSION="Debian 10.1-2"

# select version();
                                                      version
══════════════════════════════════════════════════════════════════════════════════════════════════════════════════
 PostgreSQL 10.1 on x86_64-pc-linux-gnu (Debian 10.1-2), compiled by gcc (Debian 7.2.0-17) 7.2.1 20171205, 64-bit

PoC patch against HEAD attached - if the approach is deemed
acceptable, I'll also update the relevant documentation bits.

Thanks,
Christoph

Вложения

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

Предыдущее
От: Christoph Berg
Дата:
Сообщение: Reproducible builds: genbki.pl vs schemapg.h
Следующее
От: Andrey Borodin
Дата:
Сообщение: Re: GSoC 2018