aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2012-05-23 00:29:20 +0300
committerPeter Eisentraut <peter_e@gmx.net>2012-05-23 01:06:33 +0300
commit92a953fbf8c90c3b316fbc275767efb6994f1589 (patch)
treecb3668a9f5bca51241b783fb610ea78f4ec2643f /doc/src
parent0013a665b75a62f6110bff99273b1015b4aa60fe (diff)
downloadpostgresql-92a953fbf8c90c3b316fbc275767efb6994f1589.tar.gz
postgresql-92a953fbf8c90c3b316fbc275767efb6994f1589.zip
Add small example about pg_archivecleanup -x option
Every time I read this I had doubts about whether the argument to the -x option should include the dot (yes). A small example should clarify this.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/pgarchivecleanup.sgml7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/src/sgml/pgarchivecleanup.sgml b/doc/src/sgml/pgarchivecleanup.sgml
index c6b5d7ad276..44e8bbdfc24 100644
--- a/doc/src/sgml/pgarchivecleanup.sgml
+++ b/doc/src/sgml/pgarchivecleanup.sgml
@@ -114,7 +114,12 @@ pg_archivecleanup: removing file "archive/00000001000000370000000E"
that will be stripped from all file names before deciding if they
should be deleted. This is typically useful for cleaning up archives
that have been compressed during storage, and therefore have had an
- extension added by the compression program. Note that the
+ extension added by the compression program. For example: <literal>-x
+ .gz</literal>.
+ </para>
+
+ <para>
+ Note that the
<filename>.backup</> file name passed to the program should not
include the extension.
</para>