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

From Andrew Gierth
Subject Re: Exposing PG_VERSION_NUM in pg_config
Date
Msg-id 87h9tba69t.fsf@news-spur.riddles.org.uk
Whole thread Raw
In response to 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
>>>>> "Michael" == Michael Paquier <michael.paquier@gmail.com> writes:
Michael> Hi all,Michael> When working on extensions or packaging, one can do someMichael> grep-ing on pg_config.h to
getPG_VERSION_NUM to doMichael> version-related operations. An example of that is the MakefileMichael> of plv8 using
--include-dirwith perl and a regex:
 

MAJORVERSION is defined in Makefile.global as included by PGXS, fwiw.

-- 
Andrew (irc:RhodiumToad)



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Abbreviated keys for Numeric
Next
From: Peter Geoghegan
Date:
Subject: Re: Abbreviated keys for Numeric