summaryrefslogtreecommitdiff
path: root/databases/postgis/files/UPDATE
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgis/files/UPDATE')
-rw-r--r--databases/postgis/files/UPDATE14
1 files changed, 14 insertions, 0 deletions
diff --git a/databases/postgis/files/UPDATE b/databases/postgis/files/UPDATE
new file mode 100644
index 000000000000..1478cf65c0f1
--- /dev/null
+++ b/databases/postgis/files/UPDATE
@@ -0,0 +1,14 @@
+Updating databases from old versions of Postgis
+
+Due the libpostgis.so.0 path modification, databases created with older
+versions of postgis won't work properly.
+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 libpostgis
+references updated.
+After that you can restore your database using updated file.
+
+ psql -f dump.sql.updated database