Commit 598dfee5 authored by Bruce Momjian's avatar Bruce Momjian

Document that pg_dump -d/-D prevents invalid data from canceling the

entire table load.
parent 3651a3e6
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/pg_dump.sgml,v 1.82 2006/03/17 16:02:47 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/pg_dump.sgml,v 1.83 2006/04/15 18:11:16 momjian Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
...@@ -173,6 +173,9 @@ PostgreSQL documentation ...@@ -173,6 +173,9 @@ PostgreSQL documentation
non-<productname>PostgreSQL</productname> databases. Note that non-<productname>PostgreSQL</productname> databases. Note that
the restore may fail altogether if you have rearranged column order. the restore may fail altogether if you have rearranged column order.
The <option>-D</option> option is safer, though even slower. The <option>-D</option> option is safer, though even slower.
Also, while this option generates errors for invalid data,
it allows other <command>INSERT</command>s to continue loading
data into the table.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
...@@ -190,6 +193,9 @@ PostgreSQL documentation ...@@ -190,6 +193,9 @@ PostgreSQL documentation
...</literal>). This will make restoration very slow; it is mainly ...</literal>). This will make restoration very slow; it is mainly
useful for making dumps that can be loaded into useful for making dumps that can be loaded into
non-<productname>PostgreSQL</productname> databases. non-<productname>PostgreSQL</productname> databases.
Also, while this option generates errors for invalid data,
it allows other <command>INSERT</command>s to continue loading
data into the table.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment