On Tue, Mar 24, 2015 at 4:06 AM, Andrew Gierth <and...@tao11.riddles.org.uk> wrote: >>>>>> "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.
Well, my point is to have something on which you can directly apply maths on without changing its shape ;) -- Michael -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers