LP#1715503: make upgrade script abort if not running min support version
authorGalen Charlton <gmc@equinoxinitiative.org>
Wed, 20 Sep 2017 15:23:29 +0000 (11:23 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Fri, 22 Sep 2017 18:36:21 +0000 (14:36 -0400)
commit76915059a40584d2a7445366eb23bf465cdcb2f0
tree31b645dd248fa4a52d8cbb4421d30775206b46e3
parentab4aa96e39a14ee58579ddf805e0768aba4120ef
LP#1715503: make upgrade script abort if not running min support version

This patch causes the monolithic upgrade script to fail if the
database its connecting to isn't running at least Pg 9.4.

To test
-------
[1] Verify that 2.12.5-3.0-beta1-upgrade-db.sql will abort
    if used in a Pg database < 9.4; verify that it will work
    if the Pg version is at least 9.4

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/sql/Pg/version-upgrade/2.12.5-3.0-beta1-upgrade-db.sql