Re: pg_config --version

Поиск
Список
Период
Сортировка
От Jim Nasby
Тема Re: pg_config --version
Дата
Msg-id f2c5d9c5-9374-3e42-cc23-a50311cc1492@BlueTreble.com
обсуждение исходный текст
Ответ на Re: pg_config --version  (Michael Paquier <michael.paquier@gmail.com>)
Ответы Re: pg_config --version
Список pgsql-hackers
On 11/27/16 12:16 AM, Michael Paquier wrote:
> date: Thu, 2 Jul 2015 17:24:36 -0400
> Make numeric form of PG version number readily available in Makefiles.

If you don't want to wait for that, you can use [1] in shell or Make to 
accomplish something similar. Looks like there is a dotted MAJORVERSION 
variable going back to at least 9.1, so I could have used that instead 
of PGVERSION on line 51.

1: https://github.com/decibel/pgxntool/blob/master/base.mk#L47-L56
-- 
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com
855-TREBLE2 (855-873-2532)



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

Предыдущее
От: Dave Cramer
Дата:
Сообщение: RFC Changing the version number for JDBC
Следующее
От: Jim Nasby
Дата:
Сообщение: Re: make default TABLESPACE belong to target table.