X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/ff1be13d0e72d8f86258ea864b872987afcc8e0e..383fa4f34fae75a73fd892486f6e4b809467321f:/utils/update.php diff --git a/utils/update.php b/utils/update.php index 9bb3388a..dd0dc6d0 100644 --- a/utils/update.php +++ b/utils/update.php @@ -49,6 +49,7 @@ $aCMDOptions getCmdOpt($_SERVER['argv'], $aCMDOptions, $aResult, true, true); if (!isset($aResult['index-instances'])) $aResult['index-instances'] = 1; + if (!isset($aResult['index-rank'])) $aResult['index-rank'] = 0; date_default_timezone_set('Etc/UTC'); @@ -92,8 +93,10 @@ if (!is_null(CONST_Osm2pgsql_Flatnode_File) && CONST_Osm2pgsql_Flatnode_File) { $oOsm2pgsqlCmd->addParams('--flat-nodes', CONST_Osm2pgsql_Flatnode_File); } if ($fPostgresVersion >= 11.0) { - $oOsm2pgsqlCmd->addEnvPair('PGOPTIONS', - '-c jit=off -c max_parallel_workers_per_gather=0'); + $oOsm2pgsqlCmd->addEnvPair( + 'PGOPTIONS', + '-c jit=off -c max_parallel_workers_per_gather=0' + ); }