1
1
<!--
2
- $PostgreSQL: pgsql/doc/src/sgml/ref/pg_dump.sgml,v 1.103 2008/07/20 18:43:30 tgl Exp $
2
+ $PostgreSQL: pgsql/doc/src/sgml/ref/pg_dump.sgml,v 1.104 2008/08/21 22:25:44 momjian Exp $
3
3
PostgreSQL documentation
4
4
-->
5
5
@@ -754,22 +754,13 @@ CREATE DATABASE foo WITH TEMPLATE template0;
754
754
</para>
755
755
756
756
<para>
757
- <application>pg_dump</application> has a few limitations:
758
-
759
- <itemizedlist>
760
- <listitem>
761
- <para>
762
- When a data-only dump is chosen and the option
763
- <option>--disable-triggers</> is used,
764
- <application>pg_dump</application> emits commands to disable
765
- triggers on user tables before inserting the data and commands
766
- to re-enable them after the data has been inserted. If the
767
- restore is stopped in the middle, the system catalogs might be
768
- left in the wrong state.
769
- </para>
770
- </listitem>
771
-
772
- </itemizedlist>
757
+ <application>pg_dump</application> has a limitation; when a
758
+ data-only dump is chosen and the option <option>--disable-triggers</>
759
+ is used, <application>pg_dump</application> emits commands
760
+ to disable triggers on user tables before inserting the data
761
+ and commands to re-enable them after the data has been
762
+ inserted. If the restore is stopped in the middle, the system
763
+ catalogs might be left in the wrong state.
773
764
</para>
774
765
775
766
<para>
@@ -782,11 +773,14 @@ CREATE DATABASE foo WITH TEMPLATE template0;
782
773
</para>
783
774
784
775
<para>
785
- The dump file produced by <application>pg_dump</application> does
786
- not contain the statistics used by the optimizer to make query
787
- planning decisions. Therefore, it is wise to run
788
- <command>ANALYZE</command> after restoring from a dump file to
789
- ensure good performance.
776
+ The dump file produced by <application>pg_dump</application>
777
+ does not contain the statistics used by the optimizer to make
778
+ query planning decisions. Therefore, it is wise to run
779
+ <command>ANALYZE</command> after restoring from a dump file
780
+ to ensure good performance. The dump file also does not
781
+ contain any <command>ALTER DATABASE ... SET</> commands;
782
+ these settings are dumped by <xref linkend="app-pg-dumpall">,
783
+ along with database users and other installation-wide settings.
790
784
</para>
791
785
792
786
<para>
0 commit comments