From: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
---|---|
To: | Kieran McCusker <kieran(dot)mccusker(at)gmail(dot)com> |
Cc: | pgsql-bugs(at)lists(dot)postgresql(dot)org |
Subject: | Re: PG_VERSION_NUM formatted incorrectly |
Date: | 2018-01-22 18:47:36 |
Message-ID: | CAKFQuwb-xCay+JcN+DmLUu17wECsrCHK86t9FEQhkxpC3Qi+=Q@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
On Mon, Jan 22, 2018 at 11:39 AM, Kieran McCusker <kieran(dot)mccusker(at)gmail(dot)com
> wrote:
> Hi
>
> I was looking at an issue with ogr_fdw where it is trying to get
> the PG_VERSION_NUM when I noticed that in Postgresql 10.1 this is declared
> as:
>
> #define PG_VERSION_NUM 100001
>
> But shouldn't it be
>
> #define PG_VERSION_NUM 100100
>
> or am I being dense, in which case sorry to have bothered you.
>
>
Beginning with v10 the middle two digits with ALWAYS be zero - only the
first two (major release) and last two (patch version) are changed. 10.1
means v10 with the first patch release, unless 9.6 which is a major version
in its own right and, with patch version, reads 9.6.3
David J.
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2018-01-22 19:04:55 | Re: PG_VERSION_NUM formatted incorrectly |
Previous Message | Kieran McCusker | 2018-01-22 18:39:29 | PG_VERSION_NUM formatted incorrectly |