]> git.openstreetmap.org Git - nominatim.git/blobdiff - utils/update.php
remove state and county data for US and make postcode import optional
[nominatim.git] / utils / update.php
index f5dec537baca2d035669be3384b9a6b33a9de8b5..34d30a4ff20e3f1961609530a68b80d8e1fe1f09 100755 (executable)
        if ($aResult['deduplicate'])
        {
 
-               $pgver = (float) CONST_Postgresql_Version;
-               if ($pgver < 9.3) {
+               if (getPostgresVersion() < 9.3)
+               {
                        fail("ERROR: deduplicate is only currently supported in postgresql 9.3");
                }