Skip to content

Commit 598dfee

Browse files
committed
Document that pg_dump -d/-D prevents invalid data from canceling the
entire table load.
1 parent 3651a3e commit 598dfee

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

doc/src/sgml/ref/pg_dump.sgml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/pg_dump.sgml,v 1.82 2006/03/17 16:02:47 petere Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/pg_dump.sgml,v 1.83 2006/04/15 18:11:16 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -173,6 +173,9 @@ PostgreSQL documentation
173173
non-<productname>PostgreSQL</productname> databases. Note that
174174
the restore may fail altogether if you have rearranged column order.
175175
The <option>-D</option> option is safer, though even slower.
176+
Also, while this option generates errors for invalid data,
177+
it allows other <command>INSERT</command>s to continue loading
178+
data into the table.
176179
</para>
177180
</listitem>
178181
</varlistentry>
@@ -190,6 +193,9 @@ PostgreSQL documentation
190193
...</literal>). This will make restoration very slow; it is mainly
191194
useful for making dumps that can be loaded into
192195
non-<productname>PostgreSQL</productname> databases.
196+
Also, while this option generates errors for invalid data,
197+
it allows other <command>INSERT</command>s to continue loading
198+
data into the table.
193199
</para>
194200
</listitem>
195201
</varlistentry>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy