Re: Fix an old description in high-availability.sgml

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Masahiko Sawada <masahiko.sawada@2ndquadrant.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2020-08-14T08:15:20Z
Lists: pgsql-hackers
On Fri, Aug 14, 2020 at 04:53:54PM +0900, Masahiko Sawada wrote:
> The following sentence in high-availability.sgml is not true:
> 
>     The background writer is active during recovery and will perform
>     restartpoints (similar to checkpoints on the primary) and normal block
>     cleaning activities.
> 
> I think this is an oversight of the commit 806a2ae in 2011; the
> checkpointer process started to be responsible for creating
> checkpoints.

Good catch it is.  Your phrasing looks good to me.
--
Michael

Commits

  1. doc: Fix description about bgwriter and checkpoint in HA section

  2. Split work of bgwriter between 2 processes: bgwriter and checkpointer.