]> git.openstreetmap.org Git - nominatim.git/blobdiff - docs/admin/Migration.md
remove Natural Earth dataset
[nominatim.git] / docs / admin / Migration.md
index 2cc0b80b3cddcb867d1ad9a2c9d4a0be9f537eb3..42aac9e738633303f6c49e7d67c724618924425b 100644 (file)
@@ -6,6 +6,22 @@ to newer versions of Nominatim.
 SQL statements should be executed from the postgres commandline. Execute
 `psql nominiatim` to enter command line mode.
 
+
+## 3.2.0 -> master
+
+### Natural Earth country boundaries no longer needed as fallback
+
+```
+DROP TABLE country_naturalearthdata;
+```
+
+Finally, update all SQL functions:
+
+```sh
+./utils/setup.php --create-functions --enable-diff-updates --create-partition-functions
+```
+
+
 ## 3.1.0 -> 3.2.0
 
 ### New reverse algorithm
@@ -39,12 +55,18 @@ GRANT SELECT ON table country_osm_grid to "www-user";
 
 Replace the `www-user` with the user name of your website server if necessary.
 
-Finally, you can drop the now unused indexes:
+You can now drop the unused indexes:
 
 ```
 DROP INDEX idx_placex_reverse_geometry;
 ```
 
+Finally, update all SQL functions:
+
+```sh
+./utils/setup.php --create-functions --enable-diff-updates --create-partition-functions
+```
+
 ## 3.0.0 -> 3.1.0
 
 ### Postcode Table