>>>>> "Michael" == Michael Paquier <michael.paqu...@gmail.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)


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to