Re: PostgreSQL Version 10, missing minor version

From: Joe Conway <mail(at)joeconway(dot)com>
To: Regina Obe <lr(at)pcorp(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: PostgreSQL Version 10, missing minor version
Date: 2016-08-28 17:12:53
Message-ID: db9a6d2f-cdaf-defc-b5b2-8a53dea8775a@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 08/28/2016 09:55 AM, Regina Obe wrote:
> The routine in PostGIS to parse out the version number from pg_config is
> breaking in the 10 cycle.
>
> Issue seems to be because there is no minor specified.
>
> e.g.
>
> pgconfig --version
>
> returns:
>
> PostgreSQL 10devel
>
> Instead of expected
>
> PostgreSQL 10.0devel
>
> Is this the way it's going to be or will there be a .0 tacked at the end
> before release?

Given the version numbering change, postgres version 10 is equivalent to
version 9.6 (i.e. the "major" version number), and 10.0 is equivalent to
9.6.0 (i.e. the "major.minor" version). So I suspect that given...

pg_config --version
PostgreSQL 9.5.3

pg_config --version
PostgreSQL 9.6beta4

... you will see Postgres 10 go through the stages...

pg_config --version
PostgreSQL 10devel

pg_config --version
PostgreSQL 10beta1

pg_config --version
PostgreSQL 10.0

HTH,

Joe

--
Crunchy Data - http://crunchydata.com
PostgreSQL Support for Secure Enterprises
Consulting, Training, & Open Source Development

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2016-08-28 18:52:09 Re: PostgreSQL Version 10, missing minor version
Previous Message Regina Obe 2016-08-28 16:55:23 PostgreSQL Version 10, missing minor version