| От | Tom Lane |
|---|---|
| Тема | Re: PostgreSQL Version 10, missing minor version |
| Дата | |
| Msg-id | 1585.1472410329@sss.pgh.pa.us обсуждение |
| Ответ на | PostgreSQL Version 10, missing minor version ("Regina Obe" <lr@pcorp.us>) |
| Ответы |
Re: PostgreSQL Version 10, missing minor version
|
| Список | pgsql-hackers |
"Regina Obe" <lr@pcorp.us> writes:
> The routine in PostGIS to parse out the version number from pg_config is
> breaking in the 10 cycle
TBH, I wonder why you are doing that in the first place; it does not
seem like the most reliable source of version information. If you
need to do compile-time tests, PG_CATALOG_VERSION is considered the
best thing to look at, or VERSION_NUM in Makefiles.
However, if you're dead set on getting a version number out of a string
representation, you'll need to make changes similar to commit
69dc5ae408f68c302029a6b43912a2cc16b1256c.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера