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

From Fujii Masao
Subject pg_archivecleanup should remove WAL files also in pg_xlog?
Date
Msg-id AANLkTik1skAgmbKNYTg0geV59zYjriC0x46brsGaXncR@mail.gmail.com
Whole thread Raw
Responses Re: pg_archivecleanup should remove WAL files also in pg_xlog?
Re: pg_archivecleanup should remove WAL files also in pg_xlog?
List pgsql-hackers
Hi,

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. Re-archiving of unnecessary WAL files seems odd
to me. To avoid this problem, how about changing pg_archivecleanup so that
it removes WAL files also in pg_xlog or creates .done file in
archive_status when
removing them from the archive?

Regards,

-- 
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center


pgsql-hackers by date:

Previous
From: Itagaki Takahiro
Date:
Subject: Re: SQL/MED - file_fdw
Next
From: Fujii Masao
Date:
Subject: Re: pg_archivecleanup should remove WAL files also in pg_xlog?