]> git.evergreen-ils.org Git - Evergreen.git/commit
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)
committerMike Rylander <mrylander@gmail.com>
Wed, 20 Sep 2017 21:43:57 +0000 (17:43 -0400)
commit06cd847182d46a139f508b93248745e298c36644
treebaf53f64734572bd5feb93366ccd2943ba83b44e
parent3eaf2e54810c53ba61ac9f5af32e3cae30062702
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