On 6/15/16 9:04 AM, Merlin Moncure wrote:
>> We could stand to be more explicit here. The docs for version()
>> >> > indicated
>> >> > the server_version_num should be used for "machine processing".
On a somewhat related note, any objection to adding server_version_num
to pg_config? It's common to need to know what version you're handling
in a Makefile, and today that's pretty ugly (especially when something
is stamped as beta, since it breaks assumptions about numeric).
--
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) mobile: 512-569-9461