pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Fix handling of WAL segments ready to be archived during crash r
Date: Sat, 25 Apr 2020 09:31:14 +0900
Message-ID: <20200425003114.GB1474@paquier.xyz> (raw)
In-Reply-To: <20200424.173021.437425683089236305.horikyota.ntt@gmail.com>
References: <E1jRlci-00025N-Ov@gemulon.postgresql.org>
	<20200424005929.GK33034@paquier.xyz>
	<20200424011437.GA806193@paquier.xyz>
	<20200424.173021.437425683089236305.horikyota.ntt@gmail.com>

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

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (11+ messages)  latest in thread

Message-ID: <20200425003114.GB1474@paquier.xyz>
Permalink:  ../20200425003114.GB1474@paquier.xyz/
Also on:    postgresql.org/message-id/20200425003114.GB1474@paquier.xyz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz, horikyota.ntt@gmail.com
  Subject: Re: pgsql: Fix handling of WAL segments ready to be archived during crash r
  In-Reply-To: <20200425003114.GB1474@paquier.xyz>
  References: <E1jRlci-00025N-Ov@gemulon.postgresql.org> <20200424005929.GK33034@paquier.xyz> <20200424011437.GA806193@paquier.xyz> <20200424.173021.437425683089236305.horikyota.ntt@gmail.com> <20200425003114.GB1474@paquier.xyz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox