summaryrefslogtreecommitdiff
path: root/databases/postgis/files/README.upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgis/files/README.upgrade')
-rw-r--r--databases/postgis/files/README.upgrade16
1 files changed, 16 insertions, 0 deletions
diff --git a/databases/postgis/files/README.upgrade b/databases/postgis/files/README.upgrade
new file mode 100644
index 000000000000..88eb5382d465
--- /dev/null
+++ b/databases/postgis/files/README.upgrade
@@ -0,0 +1,16 @@
+Updating databases from old versions of Postgis
+
+The postgis library has its name changed, now the library is called
+liblwgeom.so.1 instead of libpostgis.so.0 .
+Databases created with older versions of postgis won't work properly,
+until all references of libpostgis.so.0 be corrected.
+To solve this problem, please, make a dump (on text format) of your
+database and use the PREFIX/share/updatedb script.
+
+ sh PREFIX/share/updatedb dump.sql
+
+A new file with '.updated' extension will be created with the library
+references updated.
+After that, you can restore your database using the updated file.
+
+ psql -f dump.sql.updated database