Re: Exposing PG_VERSION_NUM in pg_config

From: Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Cc: PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Exposing PG_VERSION_NUM in pg_config
Date: 2015-03-23 19:06:51
Message-ID: 87h9tba69t.fsf@news-spur.riddles.org.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>>>>> "Michael" == Michael Paquier <michael(dot)paquier(at)gmail(dot)com> writes:

Michael> Hi all,
Michael> When working on extensions or packaging, one can do some
Michael> grep-ing on pg_config.h to get PG_VERSION_NUM to do
Michael> version-related operations. An example of that is the Makefile
Michael> of plv8 using --include-dir with perl and a regex:

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

--
Andrew (irc:RhodiumToad)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Geoghegan 2015-03-23 19:07:21 Re: Abbreviated keys for Numeric
Previous Message Robert Haas 2015-03-23 19:04:34 Re: Abbreviated keys for Numeric