Re: pgsql: Fix handling of WAL segments ready to be archived duringcrash r - Mailing list pgsql-committers

From Michael Paquier
Subject Re: pgsql: Fix handling of WAL segments ready to be archived duringcrash r
Date
Msg-id 20200425003114.GB1474@paquier.xyz
Whole thread Raw
In response to Re: pgsql: Fix handling of WAL segments ready to be archivedduring crash r  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
Responses Re: pgsql: Fix handling of WAL segments ready to be archived duringcrash r  (Jehan-Guillaume de Rorthais <jgdr@dalibo.com>)
List pgsql-committers
On Fri, Apr 24, 2020 at 05:30:21PM +0900, Kyotaro Horiguchi wrote:
> I think we can reimplement them by waiting
> pg_stat_archiver.last_failed_wal at least for archive_mode=always
> case. I'm not sure about the case where archive_mode=on, though.

Yeah, the second case is more tricky, and there is no point to add a
poll query using pg_stat_file() on a .ready file either.
--
Michael

Attachment

pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Update Windows timezone name list to include currently-known zon
Next
From: Andrew Gierth
Date:
Subject: pgsql: Fix error case for CREATE ROLE ... IN ROLE.