From: Regina Obe Date: Sun, 19 Jun 2011 06:24:45 +0000 (+0000) Subject: more cleanup of hard upgrade instructions X-Git-Tag: 2.0.0alpha1~1397 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0b29392304dbd9a93189538e859a523ec98013d8;p=postgis more cleanup of hard upgrade instructions git-svn-id: http://svn.osgeo.org/postgis/trunk@7429 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/installation.xml b/doc/installation.xml index c497f1c6e..62042acf5 100644 --- a/doc/installation.xml +++ b/doc/installation.xml @@ -871,12 +871,6 @@ Failed: 0 UPGRADE) to upgrade. - - PostGIS provides an utility script to restore a dump produced with the - pg_dump -Fc command. It is experimental so redirecting its output to a - file will help in case of problems. The procedure is as follow: - - Create a "custom-format" dump of the database you want to upgrade (let's call it "olddb") include binary blobs (-b) and verbose (-v) output. The user can be the owner of the db, need not be postgres @@ -895,12 +889,12 @@ Failed: 0 pg_restore -h localhost -p 5432 -U postgres -d newdb "/somepath/olddb.backup" - Finally run the uninstall_legacy.sql script in this new database. NOTE: This step is + Finally run the uninstall_legacy.sql script in this new database. NOTE: This step is important even if you plan to reinstall legacy functions. This is because many functions have been revised to use default parameters, and your old install would therefore restore these which would result in ambiguous name conflicts when called. psql -h localhost -p 5432 -U postgres -d newdb -f uninstall_legacy.sql - If your applications or GIS tools rely on old deprecated functions, you can restore these back with + If your applications or GIS tools rely on old deprecated functions, you can restore these by installing the legacy.sql psql -h localhost -p 5432 -U postgres -d newdb -f legacy.sql