Skip to content

Commit fc79628

Browse files
committed
Clarify tar documentation about return error codes.
Backpatch to 8.2.X.
1 parent ae36e0d commit fc79628

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

doc/src/sgml/backup.sgml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.100 2007/09/14 04:15:50 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.101 2007/09/14 13:26:22 momjian Exp $ -->
22

33
<chapter id="backup">
44
<title>Backup and Restore</title>
@@ -735,11 +735,11 @@ SELECT pg_stop_backup();
735735
of <application>rsync</> return a separate exit code for
736736
<quote>vanished source files</>, and you can write a driver script to
737737
accept this exit code as a non-error case. Also, some versions of
738-
GNU <application>tar</> consider it an error if a file was truncated
739-
while <application>tar</> is copying it. Fortunately, GNU
740-
<application>tar</> versions 1.16 and later exits with <literal>1</>
741-
if a file was changed during the backup, and <literal>2</> for other
742-
errors.
738+
GNU <application>tar</> return an error code indistinguishable from
739+
a fatal error if a file was truncated while <application>tar</> was
740+
copying it. Fortunately, GNU <application>tar</> versions 1.16 and
741+
later exits with <literal>1</> if a file was changed during the backup,
742+
and <literal>2</> for other errors.
743743
</para>
744744

745745
<para>

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