summaryrefslogtreecommitdiff
path: root/doc/src/sgml/ref/pgarchivecleanup.sgml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/sgml/ref/pgarchivecleanup.sgml')
-rw-r--r--doc/src/sgml/ref/pgarchivecleanup.sgml6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/src/sgml/ref/pgarchivecleanup.sgml b/doc/src/sgml/ref/pgarchivecleanup.sgml
index 779159d7fc2..db39deaca16 100644
--- a/doc/src/sgml/ref/pgarchivecleanup.sgml
+++ b/doc/src/sgml/ref/pgarchivecleanup.sgml
@@ -60,8 +60,10 @@ archive_cleanup_command = 'pg_archivecleanup <replaceable>archivelocation</> %r'
<para>
When used as a standalone program all WAL files logically preceding the
<replaceable>oldestkeptwalfile</> will be removed from <replaceable>archivelocation</>.
- In this mode, if you specify a <filename>.backup</> file name, then only the file prefix
- will be used as the <replaceable>oldestkeptwalfile</>. This allows you to remove
+ In this mode, if you specify a <filename>.partial</> or <filename>.backup</>
+ file name, then only the file prefix will be used as the
+ <replaceable>oldestkeptwalfile</>. This treatment of <filename>.backup</>
+ file name allows you to remove
all WAL files archived prior to a specific base backup without error.
For example, the following example will remove all files older than
WAL file name <filename>000000010000003700000010</>: