diff options
author | Bruce Momjian <bruce@momjian.us> | 2007-09-14 13:26:36 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2007-09-14 13:26:36 +0000 |
commit | 7e82fa8b7a0be21201720b668e77a7a04b07d816 (patch) | |
tree | aede3c32e58964b54c0f74676f08a1d5a3bb1205 | |
parent | 6f5d34340544ed0616feff20d79d9c471ef08560 (diff) | |
download | postgresql-7e82fa8b7a0be21201720b668e77a7a04b07d816.tar.gz postgresql-7e82fa8b7a0be21201720b668e77a7a04b07d816.zip |
Clarify tar documentation about return error codes.
Backpatch to 8.2.X.
-rw-r--r-- | doc/src/sgml/backup.sgml | 12 |
1 files changed, 6 insertions, 6 deletions
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 @@ -<!-- $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> |