From: Sandro Santilli Date: Tue, 10 May 2005 08:15:00 +0000 (+0000) Subject: fixed upgrade procedure section as suggested by Steven Bowden X-Git-Tag: pgis_1_1_0~389 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b435f1ab211c68c87184ba380b640ba91fc788e9;p=postgis fixed upgrade procedure section as suggested by Steven Bowden git-svn-id: http://svn.osgeo.org/postgis/trunk@1687 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/postgis.xml b/doc/postgis.xml index f373c5d49..9386c62c9 100644 --- a/doc/postgis.xml +++ b/doc/postgis.xml @@ -359,7 +359,7 @@ as follow: # Create a "custom-format" dump of the database you want # to upgrade (let's call it "olddb") - $ pg_dump -Fc olddb olddb.dump + $ pg_dump -Fc olddb > olddb.dump # Restore the dump contextually upgrading postgis into # a new database. The new database doesn't have to exist. @@ -384,7 +384,7 @@ as follow: # If you did make additions we assume you know how to backup them before # upgrading the table. Replace of it with the new one is done like this: $ psql newdb - newdb=> drop table spatial_ref_sys; + newdb=> delete from spatial_ref_sys; DROP newdb=> \i spatial_ref_sys.sql