Mention pg_upgrade

REL7_1_STABLE
Bruce Momjian 25 years ago
parent f9f6cc4ab0
commit bd29331f84
  1. 2
      INSTALL
  2. 13
      doc/src/sgml/install.sgml

@ -165,6 +165,8 @@ For a fresh install or upgrading from previous releases of PostgreSQL:
/usr/local/pgsql/data/pg_hba.conf to allow only you on, then bring /usr/local/pgsql/data/pg_hba.conf to allow only you on, then bring
postmaster back up. postmaster back up.
Rather than using pg_dumpall, pg_upgrade can often be used.
6. If you are upgrading an existing system then kill the database server 6. If you are upgrading an existing system then kill the database server
now. Type now. Type

@ -1,5 +1,5 @@
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/Attic/install.sgml,v 1.42 2000/06/01 05:47:06 momjian Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/Attic/install.sgml,v 1.43 2000/06/01 05:58:42 momjian Exp $
--> -->
<chapter id="install"> <chapter id="install">
@ -244,7 +244,10 @@ All of PostgreSQL is successfully made. Ready to install.
If you are not upgrading an existing system then skip to If you are not upgrading an existing system then skip to
<xref linkend="continue">. <xref linkend="continue">.
</para> </para>
<para>
If you are running 7.0 or later, skip to
<xref linkend="nodump">.
</para>
<para> <para>
You now need to back up your existing database. You now need to back up your existing database.
To dump your fairly recent post-6.0 database installation, type To dump your fairly recent post-6.0 database installation, type
@ -284,9 +287,13 @@ All of PostgreSQL is successfully made. Ready to install.
bring <application>postmaster</application> back up. bring <application>postmaster</application> back up.
</para> </para>
</caution> </caution>
<para>
Rather than using <application>pg_dumpall</application>,
<application>pg_upgrade</application> can often be used.
</para>
</step> </step>
<step performance="required"> <step performance="required" id="nodump">
<para> <para>
If you are upgrading an existing system then kill the database If you are upgrading an existing system then kill the database
server now. Type server now. Type

Loading…
Cancel
Save