]> granicus.if.org Git - postgresql/commitdiff
Add note about saving large objects during upgrade.
authorPeter Eisentraut <peter_e@gmx.net>
Mon, 19 Mar 2001 16:19:26 +0000 (16:19 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Mon, 19 Mar 2001 16:19:26 +0000 (16:19 +0000)
doc/src/sgml/backup.sgml
doc/src/sgml/installation.sgml

index 89ad624674b79a713e5d4903dc44e2ac92479ab6..160cb0bba1b40f72559b6e97c3f2c8b9e54dfe9e 100644 (file)
@@ -1,4 +1,4 @@
-<!-- $Header: /cvsroot/pgsql/doc/src/sgml/backup.sgml,v 2.6 2001/03/14 22:20:02 petere Exp $ -->
+<!-- $Header: /cvsroot/pgsql/doc/src/sgml/backup.sgml,v 2.7 2001/03/19 16:19:26 petere Exp $ -->
 <chapter id="backup">
  <title>Backup and Restore</title>
 
@@ -87,7 +87,7 @@ pg_dump <replaceable class="parameter">dbname</replaceable> &gt; <replaceable cl
    </para>
   </important>
 
-  <sect2>
+  <sect2 id="backup-dump-restore">
    <title>Restoring the dump</title>
 
    <para>
@@ -144,7 +144,7 @@ pg_dump -h <replaceable>host1</> <replaceable>dbname</> | psql -h <replaceable>h
 
   </sect2>
 
-  <sect2>
+  <sect2 id="backup-dump-all">
    <title>Using <command>pg_dumpall</></title>
 
    <para>
@@ -179,7 +179,7 @@ pg_dumpall &gt; <replaceable>outfile</>
    </para>
   </sect2>
 
-  <sect2>
+  <sect2 id="backup-dump-large">
    <title>Large Databases</title>
 
    <note>
@@ -271,7 +271,7 @@ pg_dump -Fc <replaceable class="parameter">dbname</replaceable> > <replaceable c
 
   </sect2>
 
-  <sect2>
+  <sect2 id="backup-dump-caveats">
    <title>Caveats</title>
 
    <para>
index 0a048344dc8a49df3c8c1ea7dbaab0c27201fbad..cbded9dff88d31a4187eeccaf902029bc37cbbba 100644 (file)
@@ -1,4 +1,4 @@
-<!-- $Header: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v 1.40 2001/03/10 16:57:18 petere Exp $ -->
+<!-- $Header: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v 1.41 2001/03/19 16:19:26 petere Exp $ -->
 
 <chapter id="installation">
  <title><![%flattext-install-include[<productname>PostgreSQL</>]]> Installation Instructions</title>
@@ -180,14 +180,18 @@ su - postgres
 <userinput>pg_dumpall &gt; <replaceable>outputfile</></userinput>
 </screen>
      If you need to preserve the OIDs (such as when using them as
-     foreign keys), then use the -o option when running
-     <application>pg_dumpall</>.
+     foreign keys), then use the <option>-o</option> option when running
+     <command>pg_dumpall</>.  <command>pg_dumpall</command> does not
+     save large objects.  Check
+     <![%flattext-install-include[the <citetitle>Administrator's Guide</>]]>
+     <![%flattext-install-ignore[<xref linkend="backup-dump-caveats">]]>
+     if you need to do this.
     </para>
 
     <para>
-     Make sure that you use the <application>pg_dumpall</> command
+     Make sure that you use the <command>pg_dumpall</> command
      from the version you are currently running. &version;'s
-     <application>pg_dumpall</> should not be used on older databases.
+     <command>pg_dumpall</> should not be used on older databases.
     </para>
    </step>