Re: Another swing at JSON

Поиск
Список
Период
Сортировка
От Dimitri Fontaine
Тема Re: Another swing at JSON
Дата
Msg-id m24o6lae6c.fsf@2ndQuadrant.fr
обсуждение исходный текст
Ответ на Re: Another swing at JSON  (Joseph Adams <joeyadams3.14159@gmail.com>)
Ответы Re: Another swing at JSON  (Joseph Adams <joeyadams3.14159@gmail.com>)
Список pgsql-hackers
Joseph Adams <joeyadams3.14159@gmail.com> writes:
> would be needlessly error-prone.  I'm thinking the pg_config utility
> should either make PG_VERSION_NUM (e.g. 90100) available, or it should
> define something indicating the presence of the new extension system.

Here's the ugly trick from ip4r, that's used by more extension:

PREFIX_PGVER = $(shell echo $(VERSION) | awk -F. '{ print $$1*100+$$2 }')

Regards,
-- 
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Problem with pg_upgrade?
Следующее
От: Christopher Browne
Дата:
Сообщение: Re: Additional options for Sync Replication