From 2f730ad87566ea3526c9be2483a0c7324ce1e445 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Fri, 14 Sep 2007 13:26:36 +0000 Subject: [PATCH] Clarify tar documentation about return error codes. Backpatch to 8.2.X. --- doc/src/sgml/backup.sgml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/src/sgml/backup.sgml b/doc/src/sgml/backup.sgml index ed32a0de1a..7207913386 100644 --- a/doc/src/sgml/backup.sgml +++ b/doc/src/sgml/backup.sgml @@ -735,11 +735,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. + GNU 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. -- 2.39.5