Re: archive folder housekeeping - Mailing list pgsql-general

From Michael Paquier
Subject Re: archive folder housekeeping
Date
Msg-id CAB7nPqREGUnyRnPRUjJTifOwU+rmOwmNCmq4uFhHvTJugUMm8w@mail.gmail.com
Whole thread Raw
In response to Re: archive folder housekeeping  (Ian Lawrence Barwick <barwick@gmail.com>)
List pgsql-general
On Fri, Aug 9, 2013 at 9:12 PM, Ian Lawrence Barwick <barwick@gmail.com> wrote:
> 2013/8/9 ascot.moss@gmail.com <ascot.moss@gmail.com>:
>> Is there any PG manual command available to remove archived files by (archive) date/time?
>
> pg_archivecleanup might be of use to you:
>
>   http://www.postgresql.org/docs/current/static/pgarchivecleanup.html
Yes, this is particularly useful and easy to maintain when enabled
with archive_cleanup_command in the recovery.conf file of a slave
fetching the archives.
--
Michael


pgsql-general by date:

Previous
From: "ascot.moss@gmail.com"
Date:
Subject: Recovery.conf and PITR by recovery_target_time
Next
From: "Day, David"
Date:
Subject: plpgsql FOR LOOP CTE problem ?