Re: pgsql: Fix handling of WAL segments ready to be archived during crash r

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
Cc: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Fix handling of WAL segments ready to be archived during crash r
Date: 2020-04-25 00:31:14
Message-ID: 20200425003114.GB1474@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Gierth 2020-04-25 04:21:05 pgsql: Fix error case for CREATE ROLE ... IN ROLE.
Previous Message Tom Lane 2020-04-24 21:53:52 pgsql: Update Windows timezone name list to include currently-known zon