<note>
<para>
- When <option>-e</option> is specified,
- <application>pg_dump</application> makes no attempt to dump any other
- database objects that the selected extension(s) might depend upon.
- Therefore, there is no guarantee that the results of a
- specific-extension dump can be successfully restored by themselves
- into a clean database.
+ <application>pg_dump</application> does not dump the extension's
+ underlying installation files (such as shared libraries or control
+ files). These must be available on the destination system for the
+ restore to succeed.
</para>
</note>
</listitem>
<xref linkend="pg-dump-examples"/> below.
</para>
- <note>
- <para>
- When <option>-n</option> is specified, <application>pg_dump</application>
- makes no attempt to dump any other database objects that the selected
- schema(s) might depend upon. Therefore, there is no guarantee
- that the results of a specific-schema dump can be successfully
- restored by themselves into a clean database.
- </para>
- </note>
-
<note>
<para>
Non-schema objects such as large objects are not dumped when <option>-n</option> is
be dumped.
</para>
- <note>
- <para>
- When <option>-t</option> is specified, <application>pg_dump</application>
- makes no attempt to dump any other database objects that the selected
- table(s) might depend upon. Therefore, there is no guarantee
- that the results of a specific-table dump can be successfully
- restored by themselves into a clean database.
- </para>
- </note>
-
</listitem>
</varlistentry>
</programlisting>
</para>
+ <para>
+ When options <option>-e</option>, <option>-n</option> or <option>-t</option>
+ are specified, <application>pg_dump</application> makes no attempt to dump
+ any other database objects that the selected object(s) might depend upon.
+ Therefore, there is no guarantee that the results of a dump so generated
+ can be successfully restored by themselves into a clean database.
+ For example, if a table whose definition includes a foreign key is
+ specified to be restored, the table referenced by the foreign key is
+ not automatically restored.
+ </para>
+
<para>
When a dump without schema is chosen and the option <option>--disable-triggers</option>
is used, <application>pg_dump</application> emits commands
specify table(s) in a particular schema.
</para>
- <note>
- <para>
- When <option>-t</option> is specified, <application>pg_restore</application>
- makes no attempt to restore any other database objects that the
- selected table(s) might depend upon. Therefore, there is no
- guarantee that a specific-table restore into a clean database will
- succeed.
- </para>
- </note>
-
<note>
<para>
This flag does not behave identically to the <option>-t</option>
<refsect1 id="app-pgrestore-notes">
<title>Notes</title>
+ <para>
+ When options <option>-n</option> or <option>-t</option> are specified,
+ <application>pg_restore</application> makes no attempt to restore
+ any other database objects that the selected table(s) or schema(s)
+ might depend upon. Therefore, there is no guarantee that a specific-table
+ restore into a clean database will succeed. For example, if a table
+ whose definition includes a foreign key is specified to be restored, the
+ table referenced by the foreign key is not automatically restored.
+ </para>
+
<para>
If your installation has any local additions to the
<literal>template1</literal> database, be careful to load the output of