[HACKERS] pg_config --version-num

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема [HACKERS] pg_config --version-num
Дата
Msg-id CAMsr+YE=3CQtC8DsQGC+yzjoy9oAL51K5PH+JbA8hhqcsS1mzA@mail.gmail.com
обсуждение исходный текст
Ответы Re: [HACKERS] pg_config --version-num  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-hackers
Hi all

Attached is a small patch to teach pg_config how to output a --version-num

With Pg 10, parsing versions got more annoying. Especially with
"10beta1", "9.6beta2" etc into the mix. It makes no sense to force
tools and scripts to do this when we can just expose a sensible
pre-formatted one at no cost to us.

Personally I'd like to backpatch this into supported back branches,
but just having it in pg 10 would be  a help.

-- 
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Вложения

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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: [HACKERS] TAP backpatching policy
Следующее
От: Jeevan Ladhe
Дата:
Сообщение: Re: [HACKERS] Adding support for Default partition in partitioning