RE: doc: update the default of data checksums in the doc of pg_rewind

Zhijie Hou (Fujitsu) <houzj.fnst@fujitsu.com>

From: "Zhijie Hou (Fujitsu)" <houzj.fnst@fujitsu.com>
To: Fujii Masao <masao.fujii@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-12-25T03:15:02Z
Lists: pgsql-hackers

Attachments

On Thursday, December 25, 2025 8:04 AM Fujii Masao <masao.fujii@gmail.com> wrote:
> On Wed, Dec 24, 2025 at 4:28 PM Zhijie Hou (Fujitsu)
> <houzj.fnst@fujitsu.com> wrote:
> >
> > Hi,
> >
> > I noticed that the pg_rewind documentation still states that data
> > checksums is disabled by default, but it has been changed to on since PG18.
> >
> > Here's a small patch to update this.
> 
> Thanks for the patch!
> 
> -   the cluster was initialized with
> <application>initdb</application>.  Neither of these
> -   are currently on by default.  <xref linkend="guc-full-page-writes"/>
> -   must also be set to <literal>on</literal>, but is enabled by default.
> +   the cluster was initialized with <application>initdb</application>
> (the latter
> +   being the default).  <xref linkend="guc-full-page-writes"/> must also be set
> +   to <literal>on</literal>, but is enabled by default.
> 
> Isn't "(the default)" enough here instead of "(the latter being the default)"?

Agreed. Here is the updated patch.

Best Regards,
Hou zj