From d8578a3d2a68387b38a162bbbdad022d3d8d0b7e Mon Sep 17 00:00:00 2001 From: Regina Obe Date: Fri, 1 Jan 2010 19:44:15 +0000 Subject: [PATCH] amend upgrade instructions to include description postgis_upgrade*.sql git-svn-id: http://svn.osgeo.org/postgis/trunk@5086 b70326c6-7e19-0410-871a-916f4a2858ee --- doc/installation.xml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/doc/installation.xml b/doc/installation.xml index aef003de7..2bc5b7aa4 100644 --- a/doc/installation.xml +++ b/doc/installation.xml @@ -385,7 +385,9 @@ tar -xvzf postgis-&last_release_version;.tar.gz As of PostGIS v1.4.0, all the functions have comments generated from the documentation. If you wish to install these comments into your spatial - databases later, run the command + databases later, run the command which requires docbook. The postgis_comments.sql + is also packaged in the tar.gz distribution in the doc folder so no need to make comments + if installing from the tar ball. @@ -695,11 +697,12 @@ Failed: 0 Soft upgrade - Soft upgrade consists of sourcing the postgis_upgrade.sql script in your - spatial database: + After compiling you should find several postgis_upgrade*.sql files. Install the one + for your version of PostGIS. For example postgis_upgrade_13_to_15.sql should be used if you are upgrading + from postgis 1.3 to 1.5. - $ psql -f postgis_upgrade.sql -d your_spatial_database + $ psql -f postgis_upgrade_13_to_15.sql -d your_spatial_database If a soft upgrade is not possible the script will abort and you will be @@ -709,7 +712,7 @@ Failed: 0 - If you can't find the postgis_upgrade.sql file + If you can't find the postgis_upgrade*.sql files you are probably using a version prior to 1.1 and must generate that file by yourself. This is done with the following command: -- 2.50.1