From bbc02243fcf2fbf51b6bacf05a73fa042d3d84a4 Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Thu, 5 Apr 2012 14:18:42 -0400 Subject: Allow pg_archivecleanup to strip optional file extensions. Greg Smith and Jaime Casanova, reviewed by Alex Shulgin and myself. e --- doc/src/sgml/pgarchivecleanup.sgml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'doc/src') diff --git a/doc/src/sgml/pgarchivecleanup.sgml b/doc/src/sgml/pgarchivecleanup.sgml index 8148c53d3a0..40bac854700 100644 --- a/doc/src/sgml/pgarchivecleanup.sgml +++ b/doc/src/sgml/pgarchivecleanup.sgml @@ -107,6 +107,21 @@ pg_archivecleanup: removing file "archive/00000001000000370000000E" + + extension + + + When using the program as a standalone utility, provide an extension + 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 + .backup file name passed to the program should not + include the extension. + + + + -- cgit v1.2.3