From: Peter Eisentraut Date: Tue, 22 May 2012 21:29:20 +0000 (+0300) Subject: Add small example about pg_archivecleanup -x option X-Git-Tag: REL9_2_BETA2~44 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=92a953fbf8c90c3b316fbc275767efb6994f1589;p=postgresql 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. --- diff --git a/doc/src/sgml/pgarchivecleanup.sgml b/doc/src/sgml/pgarchivecleanup.sgml index c6b5d7ad27..44e8bbdfc2 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: -x + .gz. + + + + Note that the .backup file name passed to the program should not include the extension.