>>>>> "Michael" == Michael Paquier <[email protected]> writes:
>> MAJORVERSION is defined in Makefile.global as included by PGXS, fwiw. Michael> Well, my point is to have something on which you can directly Michael> apply maths on without changing its shape ;) There's this trick: # if version < 9.1 ... ifeq ($(filter-out 7.% 8.% 9.0, $(MAJORVERSION)),) # stuff endif # if version >= 9.3 ifneq ($(filter-out 7.% 8.% 9.0 9.1 9.2, $(MAJORVERSION)),) # stuff endif -- Andrew (irc:RhodiumToad) -- Sent via pgsql-hackers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
