]> granicus.if.org Git - postgresql/commitdiff
Add small example about pg_archivecleanup -x option
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 22 May 2012 21:29:20 +0000 (00:29 +0300)
committerPeter Eisentraut <peter_e@gmx.net>
Tue, 22 May 2012 22:06:33 +0000 (01:06 +0300)
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.

doc/src/sgml/pgarchivecleanup.sgml

index c6b5d7ad2768335cda25e68db9a136506a5d32af..44e8bbdfc2404e15d379e24a48ccd5b77244d60b 100644 (file)
@@ -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>