Re: pg_archivecleanup should remove WAL files also in pg_xlog? - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: pg_archivecleanup should remove WAL files also in pg_xlog?
Date
Msg-id 4D05CB11.9080104@enterprisedb.com
Whole thread Raw
In response to pg_archivecleanup should remove WAL files also in pg_xlog?  (Fujii Masao <masao.fujii@gmail.com>)
Responses Re: pg_archivecleanup should remove WAL files also in pg_xlog?  (Fujii Masao <masao.fujii@gmail.com>)
List pgsql-hackers
On 13.12.2010 08:44, Fujii Masao wrote:
> pg_archivecleanup removes unnecessary WAL files from the archive, but not
> from pg_xlog directory. So, after failover, those WAL files might
> exist in pg_xlog and be archived again later.

A file that has already been archived successfully should not be 
archived again. The server keeps track of which files it has already 
archived with the .ready/.done files.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: proposal: auxiliary functions for record type
Next
From: tv@fuzzy.cz
Date:
Subject: Re: proposal : cross-column stats