]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Clarify tar documentation about return error codes.
authorBruce Momjian <bruce@momjian.us>
Fri, 14 Sep 2007 13:26:36 +0000 (13:26 +0000)
committerBruce Momjian <bruce@momjian.us>
Fri, 14 Sep 2007 13:26:36 +0000 (13:26 +0000)
Backpatch to 8.2.X.

doc/src/sgml/backup.sgml

index 87538f03a1cc8bf8da46417d727c3dbcf9e270d9..36856b692dfe667959e6cd7cd6b883c97120670d 100644 (file)
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.95.2.1 2007/09/14 04:16:44 momjian Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.95.2.2 2007/09/14 13:26:36 momjian Exp $ -->
 
 <chapter id="backup">
  <title>Backup and Restore</title>
@@ -719,11 +719,11 @@ SELECT pg_stop_backup();
     of <application>rsync</> return a separate exit code for <quote>vanished
     source files</>, and you can write a driver script to accept this exit
     code as a non-error case.  Also, some versions of GNU
-    <application>tar</> consider it an error if a file was truncated while
-    <application>tar</> is copying it.  Fortunately, GNU
-    <application>tar</> versions 1.16 and later exits with <literal>1</>
-    if a file was changed during the backup, and <literal>2</> for other
-    errors.
+    <application>tar</> return an error code indistinguishable from a
+    fatal error if a file was truncated while <application>tar</> was
+    copying it.  Fortunately, GNU <application>tar</> versions 1.16 and
+    later exits with <literal>1</> if a file was changed during the backup,
+    and <literal>2</> for other errors.
    </para>
 
    <para>