summaryrefslogtreecommitdiff
path: root/databases/postgis/files/UPDATE
blob: 1478cf65c0f16a1a9cbb0d621a6ceff470437b76 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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