]> git.openstreetmap.org Git - nominatim.git/blobdiff - utils/setup.php
fix broken field name / committed debug
[nominatim.git] / utils / setup.php
index 9a238628e68522493383de8413e17620906388cd..572e2c30ff34fbd1e5c151e15b5d216bfa54b380 100755 (executable)
                }
                pgsqlRunScriptFile(CONST_Path_Postgresql_Postgis.'/postgis.sql');
                pgsqlRunScriptFile(CONST_Path_Postgresql_Postgis.'/spatial_ref_sys.sql');
-               pgsqlRunScriptFile(CONST_BasePath.'/data/country_name.sql');
+               pgsqlRunDropAndRestore(CONST_BasePath.'/data/country_name.sql.bin');
                pgsqlRunScriptFile(CONST_BasePath.'/data/country_naturalearthdata.sql');
-               pgsqlRunScriptFile(CONST_BasePath.'/data/country_osm_grid.sql');
+               pgsqlRunDropAndRestore(CONST_BasePath.'/data/country_osm_grid.sql.bin');
                pgsqlRunScriptFile(CONST_BasePath.'/data/gb_postcode.sql');
                pgsqlRunScriptFile(CONST_BasePath.'/data/us_statecounty.sql');
                pgsqlRunScriptFile(CONST_BasePath.'/data/us_state.sql');