>>>>> "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)