X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/03873df21182ee9a87f168f6108d93187db0c83e..f2ad6c961c68a0fd49e180906bc75cb577f23041:/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'])