Re: Use durable_unlink for .ready and .done files for WAL segment removal

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Stephen Frost <sfrost@snowman.net>
Cc: Postgres hackers <pgsql-hackers@postgresql.org>
Date: 2018-09-30T12:40:31Z
Lists: pgsql-hackers

Attachments

On Sat, Sep 29, 2018 at 04:58:57PM +0900, Michael Paquier wrote:
> Actually, what you are proposing here sounds much better to me.  That's
> in the area of what has been done recently with RemoveTempXlogFiles() in
> 5fc1008e.  Any objections to doing something like that? 

Okay.  I have hacked a patch based on Stephen's idea as attached.  Any
opinions?
--
Michael

Commits

  1. Ensure cleanup of orphan archive status files