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

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to