X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/a769fc4ff3b82e618ebd7737fa377ec53ae4fe52..4f9f21f661685d4b14654253dacb09848b16d69c:/utils/update.php diff --git a/utils/update.php b/utils/update.php index f5dec537..34d30a4f 100755 --- a/utils/update.php +++ b/utils/update.php @@ -178,8 +178,8 @@ 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"); }