| От | Tom Lane |
|---|---|
| Тема | Re: PG_VERSION_NUM formatted incorrectly |
| Дата | |
| Msg-id | 5800.1516648481@sss.pgh.pa.us обсуждение |
| Ответ на | Re: PG_VERSION_NUM formatted incorrectly (Alvaro Herrera <alvherre@alvh.no-ip.org>) |
| Список | pgsql-bugs |
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> Kieran McCusker wrote:
>> But shouldn't it be
>> #define PG_VERSION_NUM 100100
> You're not being dense -- the way we're using it is indeed a bit odd.
> But it was a concious decision to leave it like this: the reason is that
> we've been using these two digits to indicate patch level rather than
> major for so long, that is seems less likely to break version parsing
> tools if we continue to do that. So the patch level for release 10 is
> going to use the last two digits only, with the two middle digits
> remaining constant 00 forever.
Right. If we did it the other way, much code would think that 10.1
is a new major version, not a new minor version.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера