]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/setup/SetupClass.php
Simplify parsing of postgres and postgis versions
[nominatim.git] / lib / setup / SetupClass.php
index 5e5b16d6c04f08f68f648ba06d8f5f36d3516e51..4c7c0fdda8d50019d70e1ca8843a595369560050 100755 (executable)
@@ -102,7 +102,7 @@ class SetupFunctions
         $fPostgresVersion = getPostgresVersion($this->oDB);
         echo 'Postgres version found: '.$fPostgresVersion."\n";
 
-        if ($fPostgresVersion < 9.1) {
+        if ($fPostgresVersion < 9.01) {
             fail('Minimum supported version of Postgresql is 9.1.');
         }