RE: Stronger safeguard for archive recovery not to miss data

Takamichi Osumi (Fujitsu) <osumi.takamichi@fujitsu.com>

From: "osumi.takamichi@fujitsu.com" <osumi.takamichi@fujitsu.com>
To: 'Fujii Masao' <masao.fujii@oss.nttdata.com>, Tom Lane <tgl@sss.pgh.pa.us>
Cc: David Steele <david@pgmasters.net>, 'Kyotaro Horiguchi' <horikyota.ntt@gmail.com>, "pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>, "laurenz.albe@cybertec.at" <laurenz.albe@cybertec.at>
Date: 2021-04-07T05:22:22Z
Lists: pgsql-hackers
On Wednesday, April 7, 2021 7:50 AM Fujii Masao <masao.fujii@oss.nttdata.com> wrote:
> On 2021/04/07 5:01, Tom Lane wrote:
> > Fujii Masao <masao.fujii@oss.nttdata.com> writes:
> >> Thanks! So I pushed the patch.
> >
> > Seems like the test case added by this commit is not working on
> > Windows.
> 
> Thanks for the report! My analysis is [1], and I pushed the proposed patch.
> 
> [1]
> https://postgr.es/m/3cc3909d-f779-7a74-c201-f1f7f62c7497@oss.nttdata.co
> m
Fujii-san, Tom,
thank you so much for your quick analysis and modification.
I appreciate those.


Best Regards,
	Takamichi Osumi

Commits

  1. Fix test added by commit 9de9294b0c.

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