]> granicus.if.org Git - postgis/commitdiff
fixed upgrade procedure section as suggested by Steven Bowden
authorSandro Santilli <strk@keybit.net>
Tue, 10 May 2005 08:15:20 +0000 (08:15 +0000)
committerSandro Santilli <strk@keybit.net>
Tue, 10 May 2005 08:15:20 +0000 (08:15 +0000)
git-svn-id: http://svn.osgeo.org/postgis/branches/pgis_1_0@1688 b70326c6-7e19-0410-871a-916f4a2858ee

doc/postgis.xml

index f373c5d4924d2190fb167b53a928935d0e0fb339..9386c62c9eba03e18a11d4473ae40d7d52806b9a 100644 (file)
@@ -359,7 +359,7 @@ as follow:
        <programlisting>
        # 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 &gt; 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=&gt; drop table spatial_ref_sys;
+       newdb=&gt; delete from spatial_ref_sys; 
        DROP
        newdb=&gt; \i spatial_ref_sys.sql
        </programlisting>