diff options
author | Robert Haas <rhaas@postgresql.org> | 2012-04-05 14:18:42 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2012-04-05 14:18:42 -0400 |
commit | bbc02243fcf2fbf51b6bacf05a73fa042d3d84a4 (patch) | |
tree | 803ef6332fb9268ddaade852f89e473be9c331ff /doc/src | |
parent | b736aef2ec57b520ebadb70cceac0fed3168a5df (diff) | |
download | postgresql-bbc02243fcf2fbf51b6bacf05a73fa042d3d84a4.tar.gz postgresql-bbc02243fcf2fbf51b6bacf05a73fa042d3d84a4.zip |
Allow pg_archivecleanup to strip optional file extensions.
Greg Smith and Jaime Casanova, reviewed by Alex Shulgin and myself.
e
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/pgarchivecleanup.sgml | 15 |
1 files changed, 15 insertions, 0 deletions
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" </listitem> </varlistentry> + <varlistentry> + <term><option>-x</option> <replaceable>extension</></term> + <listitem> + <para> + 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 + <filename>.backup</> file name passed to the program should not + include the extension. + </para> + </listitem> + </varlistentry> + </variablelist> </para> |