X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/a769fc4ff3b82e618ebd7737fa377ec53ae4fe52..b03be15442502aa2e52bacff70fb983cf4397d70:/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"); }