LP#1715503: make eg_db_config refuse to create DB if min Pg version not met
authorGalen Charlton <gmc@equinoxinitiative.org>
Wed, 20 Sep 2017 15:48:39 +0000 (11:48 -0400)
committerMike Rylander <mrylander@gmail.com>
Wed, 20 Sep 2017 21:44:01 +0000 (17:44 -0400)
commit5fc427c9508855ea755d100b5773f500376d9fe3
treee6da6cb6b567e7f2e988817fe28184168a65a20a
parent06cd847182d46a139f508b93248745e298c36644
LP#1715503: make eg_db_config refuse to create DB if min Pg version not met

This patch ensures that eg_db_config --create-database will abort if
the Pg version is not at least 9.4. It also tweaks the version check
to (in principle) work for Pg 10.

This patch also removes some stuff related to support Pg versions
less than 9.4, most notably using contribs rather than extensions.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/sql/Pg/000.english.pg91.fts-config.sql [deleted file]
Open-ILS/src/sql/Pg/000.english.pg92.fts-config.sql [deleted symlink]
Open-ILS/src/sql/Pg/000.english.pg93.fts-config.sql [deleted symlink]
Open-ILS/src/sql/Pg/000.english.pg94.fts-config.sql [changed from symlink to file mode: 0644]
Open-ILS/src/sql/Pg/000.english.pg95.fts-config.sql
Open-ILS/src/sql/Pg/000.english.pg96.fts-config.sql
Open-ILS/src/sql/Pg/create_database_contribs.sql [deleted file]
Open-ILS/src/support-scripts/eg_db_config.in