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