Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 1088e72

Browse files
committed
Add note about saving large objects during upgrade.
1 parent cfeccdf commit 1088e72

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

doc/src/sgml/backup.sgml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/backup.sgml,v 2.6 2001/03/14 22:20:02 petere Exp $ -->
1+
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/backup.sgml,v 2.7 2001/03/19 16:19:26 petere Exp $ -->
22
<chapter id="backup">
33
<title>Backup and Restore</title>
44

@@ -87,7 +87,7 @@ pg_dump <replaceable class="parameter">dbname</replaceable> &gt; <replaceable cl
8787
</para>
8888
</important>
8989

90-
<sect2>
90+
<sect2 id="backup-dump-restore">
9191
<title>Restoring the dump</title>
9292

9393
<para>
@@ -144,7 +144,7 @@ pg_dump -h <replaceable>host1</> <replaceable>dbname</> | psql -h <replaceable>h
144144

145145
</sect2>
146146

147-
<sect2>
147+
<sect2 id="backup-dump-all">
148148
<title>Using <command>pg_dumpall</></title>
149149

150150
<para>
@@ -179,7 +179,7 @@ pg_dumpall &gt; <replaceable>outfile</>
179179
</para>
180180
</sect2>
181181

182-
<sect2>
182+
<sect2 id="backup-dump-large">
183183
<title>Large Databases</title>
184184

185185
<note>
@@ -271,7 +271,7 @@ pg_dump -Fc <replaceable class="parameter">dbname</replaceable> > <replaceable c
271271

272272
</sect2>
273273

274-
<sect2>
274+
<sect2 id="backup-dump-caveats">
275275
<title>Caveats</title>
276276

277277
<para>

doc/src/sgml/installation.sgml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v 1.40 2001/03/10 16:57:18 petere Exp $ -->
1+
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v 1.41 2001/03/19 16:19:26 petere Exp $ -->
22

33
<chapter id="installation">
44
<title><![%flattext-install-include[<productname>PostgreSQL</>]]> Installation Instructions</title>
@@ -180,14 +180,18 @@ su - postgres
180180
<userinput>pg_dumpall &gt; <replaceable>outputfile</></userinput>
181181
</screen>
182182
If you need to preserve the OIDs (such as when using them as
183-
foreign keys), then use the -o option when running
184-
<application>pg_dumpall</>.
183+
foreign keys), then use the <option>-o</option> option when running
184+
<command>pg_dumpall</>. <command>pg_dumpall</command> does not
185+
save large objects. Check
186+
<![%flattext-install-include[the <citetitle>Administrator's Guide</>]]>
187+
<![%flattext-install-ignore[<xref linkend="backup-dump-caveats">]]>
188+
if you need to do this.
185189
</para>
186190

187191
<para>
188-
Make sure that you use the <application>pg_dumpall</> command
192+
Make sure that you use the <command>pg_dumpall</> command
189193
from the version you are currently running. &version;'s
190-
<application>pg_dumpall</> should not be used on older databases.
194+
<command>pg_dumpall</> should not be used on older databases.
191195
</para>
192196
</step>
193197

0 commit comments

Comments
 (0)