]> git.openstreetmap.org Git - nominatim.git/blobdiff - utils/setup.php
revert to plain text dump for 8.4 compatibility (+ permissions fix)
[nominatim.git] / utils / setup.php
index 572e2c30ff34fbd1e5c151e15b5d216bfa54b380..9a238628e68522493383de8413e17620906388cd 100755 (executable)
                }
                pgsqlRunScriptFile(CONST_Path_Postgresql_Postgis.'/postgis.sql');
                pgsqlRunScriptFile(CONST_Path_Postgresql_Postgis.'/spatial_ref_sys.sql');
-               pgsqlRunDropAndRestore(CONST_BasePath.'/data/country_name.sql.bin');
+               pgsqlRunScriptFile(CONST_BasePath.'/data/country_name.sql');
                pgsqlRunScriptFile(CONST_BasePath.'/data/country_naturalearthdata.sql');
-               pgsqlRunDropAndRestore(CONST_BasePath.'/data/country_osm_grid.sql.bin');
+               pgsqlRunScriptFile(CONST_BasePath.'/data/country_osm_grid.sql');
                pgsqlRunScriptFile(CONST_BasePath.'/data/gb_postcode.sql');
                pgsqlRunScriptFile(CONST_BasePath.'/data/us_statecounty.sql');
                pgsqlRunScriptFile(CONST_BasePath.'/data/us_state.sql');