Re: Exposing PG_VERSION_NUM in pg_config - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Exposing PG_VERSION_NUM in pg_config
Date
Msg-id 5519ECEE.9030608@gmx.net
Whole thread Raw
In response to Re: Exposing PG_VERSION_NUM in pg_config  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: Exposing PG_VERSION_NUM in pg_config  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers
On 3/30/15 6:29 PM, Michael Paquier wrote:
> 
> 
> On Tue, Mar 31, 2015 at 5:39 AM, Peter Eisentraut <peter_e@gmx.net
> <mailto:peter_e@gmx.net>> wrote:
> 
>     On 3/25/15 1:32 AM, Michael Paquier wrote:
>     > Well, I have no other cases than ones of the type mentioned upthread,
>     > and honestly I am fine as long as we do not apply maths to a version
>     > string. So attached is a patch that adds VERSION_NUM in
>     > Makefile.global.
> 
>     How would you make use of this in an extension makefile?
> 
> 
> One use case is regression test list filtering depending on backend version.

I'm interested in the exact syntax you'd use, to compare it to the
currently used techniques.




pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: WIP: multivariate statistics / proof of concept
Next
From: Peter Eisentraut
Date:
Subject: pg_rewind tests