X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/03873df21182ee9a87f168f6108d93187db0c83e..982de35051bed16cb57739c7b4acabe4c7f251ac:/utils/setup.php diff --git a/utils/setup.php b/utils/setup.php index 989e9887..fb83dd0a 100755 --- a/utils/setup.php +++ b/utils/setup.php @@ -359,6 +359,8 @@ { $bDidSomething = true; + pgsqlRunScriptFile(CONST_BasePath.'/sql/tiger_import_start.sql'); + $aDBInstances = array(); for($i = 0; $i < $iInstances; $i++) { @@ -407,6 +409,9 @@ } echo "\n"; } + + echo "Creating indexes\n"; + pgsqlRunScriptFile(CONST_BasePath.'/sql/tiger_import_finish.sql'); } if ($aCMDResult['calculate-postcodes'] || $aCMDResult['all'])