Re: Exposing PG_VERSION_NUM in pg_config

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Exposing PG_VERSION_NUM in pg_config
Дата
Msg-id CAB7nPqTFUAqyeuJcRreUtV8Ed8em9TaAmcDAPiiruOQrqpmNGQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Exposing PG_VERSION_NUM in pg_config  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
Ответы Re: Exposing PG_VERSION_NUM in pg_config  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
Список pgsql-hackers
On Tue, Mar 24, 2015 at 4:06 AM, Andrew Gierth
<andrew@tao11.riddles.org.uk> wrote:
>>>>>> "Michael" == Michael Paquier <michael.paquier@gmail.com> writes:
>
>  Michael> Hi all,
>  Michael> When working on extensions or packaging, one can do some
>  Michael> grep-ing on pg_config.h to get PG_VERSION_NUM to do
>  Michael> version-related operations. An example of that is the Makefile
>  Michael> of plv8 using --include-dir with perl and a regex:
>
> MAJORVERSION is defined in Makefile.global as included by PGXS, fwiw.

Well, my point is to have something on which you can directly apply
maths on without changing its shape ;)
-- 
Michael



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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: Abbreviated keys for Numeric
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Table-level log_autovacuum_min_duration