On 11/27/16 12:16 AM, Michael Paquier wrote:
date: Thu, 2 Jul 2015 17:24:36 -0400
Make numeric form of PG version number readily available in Makefiles.

If you don't want to wait for that, you can use [1] in shell or Make to accomplish something similar. Looks like there is a dotted MAJORVERSION variable going back to at least 9.1, so I could have used that instead of PGVERSION on line 51.

1: https://github.com/decibel/pgxntool/blob/master/base.mk#L47-L56
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com
855-TREBLE2 (855-873-2532)

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

Reply via email to