Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fc79628

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

File tree

Expand file treeCollapse file tree

1 file changed

+6
-6
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-6
lines changed

‎doc/src/sgml/backup.sgml

Copy file name to clipboardExpand all lines: doc/src/sgml/backup.sgml
+6-6Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.