]> granicus.if.org Git - postgis/commitdiff
more cleanup of hard upgrade instructions
authorRegina Obe <lr@pcorp.us>
Sun, 19 Jun 2011 06:24:45 +0000 (06:24 +0000)
committerRegina Obe <lr@pcorp.us>
Sun, 19 Jun 2011 06:24:45 +0000 (06:24 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7429 b70326c6-7e19-0410-871a-916f4a2858ee

doc/installation.xml

index c497f1c6e1a6ee418e5384000eb54f793804a0d6..62042acf5a4e479145f108a93b7f43ab6d7d1647 100644 (file)
@@ -871,12 +871,6 @@ Failed: 0
                UPGRADE) to upgrade.
          </para>
 
-         <para>
-               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:
-         </para>
-
          <para>
                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
 
          <programlisting>pg_restore -h localhost -p 5432 -U postgres -d newdb "/somepath/olddb.backup"</programlisting>
 
-         <para>Finally run the <varname>uninstall_legacy.sql</varname> script in this new database.  NOTE: This step is
+         <para>Finally run the <filename>uninstall_legacy.sql</filename> 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.</para>
          <programlisting>psql  -h localhost -p 5432 -U postgres -d newdb -f uninstall_legacy.sql</programlisting>
 
-         <para>If your applications or GIS tools rely on old deprecated functions, you can restore these back with</para>
+         <para>If your applications or GIS tools rely on old deprecated functions, you can restore these by installing the <filename>legacy.sql</filename></para>
          <programlisting>psql  -h localhost -p 5432 -U postgres -d newdb -f legacy.sql</programlisting>
        </sect2>
   </sect1>