pg.ddx.io pgsql-docs@postgresql.org mailing list archive
help / color / mirror / Atom feedpg_archivecleanup docs
2+ messages / 2 participants
[nested] [flat]
* pg_archivecleanup docs
@ 2016-08-05 15:53 Jeff Janes <jeff.janes@gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: Jeff Janes @ 2016-08-05 15:53 UTC (permalink / raw)
To: pgsql-docs
I think the documentation for the -x option is confusing:
-x 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. For example: -x .gz.
This option behaves the same whether it is used as a standalone
utility or used by archive_cleanup_command. I don't think
pg_archivecleanup even knows how it is being called.
I think we should just strike the first clause.
Cheers,
Jeff
--
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs
Attachments:
pg_archivecleanup_doc.patch (application/octet-stream, 1.1K) download
diff --git a/doc/src/sgml/ref/pgarchivecleanup.sgml b/doc/src/sgml/ref/pgarchivecleanup.sgml
new file mode 100644
index 60a7fc4..abe01be
*** a/doc/src/sgml/ref/pgarchivecleanup.sgml
--- b/doc/src/sgml/ref/pgarchivecleanup.sgml
*************** pg_archivecleanup: removing file "archi
*** 122,128 ****
<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
--- 122,128 ----
<term><option>-x</option> <replaceable>extension</></term>
<listitem>
<para>
! 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
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: pg_archivecleanup docs
@ 2016-08-16 19:36 Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
parent: Jeff Janes <jeff.janes@gmail.com>
0 siblings, 0 replies; 2+ messages in thread
From: Peter Eisentraut @ 2016-08-16 19:36 UTC (permalink / raw)
To: Jeff Janes <jeff.janes@gmail.com>; pgsql-docs
On 8/5/16 11:53 AM, Jeff Janes wrote:
> I think the documentation for the -x option is confusing:
>
> -x 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. For example: -x .gz.
>
>
> This option behaves the same whether it is used as a standalone
> utility or used by archive_cleanup_command. I don't think
> pg_archivecleanup even knows how it is being called.
>
> I think we should just strike the first clause.
Fixed in 9.6 and master.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
--
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2016-08-16 19:36 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-08-05 15:53 pg_archivecleanup docs Jeff Janes <jeff.janes@gmail.com>
2016-08-16 19:36 ` Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox