LP#1830749: set minimum PG version for eg_db_config
authorBen Shum <ben@evergreener.net>
Wed, 4 Sep 2019 02:31:17 +0000 (22:31 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 6 Sep 2019 15:27:07 +0000 (11:27 -0400)
Signed-off-by: Ben Shum <ben@evergreener.net>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/support-scripts/eg_db_config.in

index 699dc7e..c224e95 100755 (executable)
@@ -146,12 +146,12 @@ sub create_database {
        chomp $temp[0];
        my $pgversion = $temp[0];
        my $cmd;
-       unless ($pgversion >= '9.4') {
+       unless ($pgversion >= '9.6') {
         my @message = ();
                push(@message,
                        "\n------------------------------------------------------------------------------\n",
                        "Cannot create database; version of PostgreSQL appears to be less than the\n",
-                       "minimum required of 9.4\n",
+                       "minimum required of 9.6\n",
                        "------------------------------------------------------------------------------\n",
                );
                die(@message);