From: Bruce Momjian Date: Fri, 14 Sep 2007 13:26:36 +0000 (+0000) Subject: Clarify tar documentation about return error codes. X-Git-Tag: REL8_2_5~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e82fa8b7a0be21201720b668e77a7a04b07d816;p=thirdparty%2Fpostgresql.git Clarify tar documentation about return error codes. Backpatch to 8.2.X. --- diff --git a/doc/src/sgml/backup.sgml b/doc/src/sgml/backup.sgml index 87538f03a1c..36856b692df 100644 --- a/doc/src/sgml/backup.sgml +++ b/doc/src/sgml/backup.sgml @@ -1,4 +1,4 @@ - + Backup and Restore @@ -719,11 +719,11 @@ SELECT pg_stop_backup(); of rsync return a separate exit code for 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 - tar consider it an error if a file was truncated while - tar is copying it. Fortunately, GNU - tar versions 1.16 and later exits with 1 - if a file was changed during the backup, and 2 for other - errors. + tar return an error code indistinguishable from a + fatal error if a file was truncated while tar was + copying it. Fortunately, GNU tar versions 1.16 and + later exits with 1 if a file was changed during the backup, + and 2 for other errors.