Re: Stronger safeguard for archive recovery not to miss data

Kyotaro Horiguchi <horikyota.ntt@gmail.com>

From: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
To: masao.fujii@oss.nttdata.com
Cc: david@pgmasters.net, osumi.takamichi@fujitsu.com, pgsql-hackers@lists.postgresql.org, laurenz.albe@cybertec.at
Date: 2021-03-31T05:36:24Z
Lists: pgsql-hackers
At Wed, 31 Mar 2021 14:23:26 +0900 (JST), Kyotaro Horiguchi <horikyota.ntt@gmail.com> wrote in 
> I apologize in advance if I'm missing something.

Oops! I missed the case of replica side.  It's obviously useless that
replica continue to run allowing a stopping gap made by
wal_level=minimal.

So, I don't object to this patch.

Sorry for the noise.

regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center



Commits

  1. Fix test added by commit 9de9294b0c.

  2. Stop archive recovery if WAL generated with wal_level=minimal is found.