Re: pg_config --version-num

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Craig Ringer <craig(at)2ndquadrant(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_config --version-num
Date: 2017-05-31 01:36:46
Message-ID: CAB7nPqQnTr9zZnFGY34i4cSTw5KHzU-Uv40PtfiH1uoNdiZm7w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, May 30, 2017 at 6:14 PM, Craig Ringer <craig(at)2ndquadrant(dot)com> wrote:
> Attached is a small patch to teach pg_config how to output a --version-num
>
> With Pg 10, parsing versions got more annoying. Especially with
> "10beta1", "9.6beta2" etc into the mix. It makes no sense to force
> tools and scripts to do this when we can just expose a sensible
> pre-formatted one at no cost to us.
>
> Personally I'd like to backpatch this into supported back branches,
> but just having it in pg 10 would be a help.

The last threads treating about the same subject are here:
https://www.postgresql.org/message-id/CAB7nPqTAdAJpX8iK4V3uYJbO2Kmo8rHzqJKDsLaDdranNrGX_A@mail.gmail.com
https://www.postgresql.org/message-id/20161127001648.GA21874@fetter.org
Is the data in Makefile.global unsufficient?
--
Michael

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2017-05-31 01:39:52 Re: [JDBC] Channel binding support for SCRAM-SHA-256
Previous Message Jeevan Ladhe 2017-05-31 01:28:35 Re: Adding support for Default partition in partitioning