mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Allow pg_archivecleanup to strip optional file extensions.
Greg Smith and Jaime Casanova, reviewed by Alex Shulgin and myself. e
This commit is contained in:
@ -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>
|
||||
|
||||
|
Reference in New Issue
Block a user