Fix an old description in high-availability.sgml

Masahiko Sawada <masahiko.sawada@2ndquadrant.com>

From: Masahiko Sawada <masahiko.sawada@2ndquadrant.com>
To: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2020-08-14T07:53:54Z
Lists: pgsql-hackers

Attachments

Hi,

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.

I've attached the patch.

Regards,

-- 
Masahiko Sawada            http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Commits

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

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