X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/ff1be13d0e72d8f86258ea864b872987afcc8e0e..6a3eb7edf20ff45bb216fddf7e6bb6105f1a1b13:/utils/update.php?ds=sidebyside diff --git a/utils/update.php b/utils/update.php index 9bb3388a..fdc955ea 100644 --- a/utils/update.php +++ b/utils/update.php @@ -92,8 +92,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' + ); } @@ -149,7 +151,6 @@ if ($aResult['init-updates']) { 'enable-diff-updates' => true, 'verbose' => $aResult['verbose'] )); - $cSetup->connect(); $cSetup->createFunctions(); }