aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2004-08-20 04:20:23 +0000
committerBruce Momjian <bruce@momjian.us>2004-08-20 04:20:23 +0000
commitdaa076c4fdd32aff597eda4c34347d488c5b1e3a (patch)
tree82b9d6a320c0b8cb250fb9f4a19bf64f95233989 /doc/src
parent46be0c18f120466da9a9765d4ac15fdeaab4b0c7 (diff)
downloadpostgresql-daa076c4fdd32aff597eda4c34347d488c5b1e3a.tar.gz
postgresql-daa076c4fdd32aff597eda4c34347d488c5b1e3a.zip
> Please find attached a submission to add a "exit on error" option to
> pg_restore, as it seems that some people have scripts that rely on the > previous "abort on error" default behavior when restoring data with a > direct connection. > > Fabien Coelho
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/ref/pg_restore.sgml14
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/src/sgml/ref/pg_restore.sgml b/doc/src/sgml/ref/pg_restore.sgml
index 533bdd9c0b8..6ffad3b5384 100644
--- a/doc/src/sgml/ref/pg_restore.sgml
+++ b/doc/src/sgml/ref/pg_restore.sgml
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/ref/pg_restore.sgml,v 1.47 2004/07/13 02:59:49 momjian Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/ref/pg_restore.sgml,v 1.48 2004/08/20 04:20:22 momjian Exp $ -->
<refentry id="APP-PGRESTORE">
<refmeta>
@@ -130,6 +130,18 @@
</varlistentry>
<varlistentry>
+ <term><option>-e</option></term>
+ <term><option>--exit-on-error</option></term>
+ <listitem>
+ <para>
+ Exit if an error is encountered while sending SQL commands to
+ the database. The default is to continue and to display a count of
+ errors at the end of the restoration.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>-f <replaceable>filename</replaceable></option></term>
<term><option>--file=<replaceable>filename</replaceable></option></term>
<listitem>