Re: recovery_min_apply_delay in archive recovery causes assertion failure in latch

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Fujii Masao <masao.fujii@gmail.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2019-10-01T05:06:00Z
Lists: pgsql-hackers
On Mon, Sep 30, 2019 at 05:50:03PM +0900, Fujii Masao wrote:
> Thanks for the review! OK, attached is the patch which also added
> two assertion checks as you described.

Thanks, looks fine.  The indentation looks a bit wrong for the
comments, but that's a nit.
--
Michael

Commits

  1. Fix failure of archive recovery with recovery_min_apply_delay enabled.

  2. Make crash recovery ignore recovery_min_apply_delay setting.