Re: Document for wal_log_hints

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Andy Fan <zhihuifan1213(at)163(dot)com>
Cc: Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Document for wal_log_hints
Date: 2024-11-19 01:13:02
Message-ID: ZzvmHoKcz9oDoXTZ@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Nov 19, 2024 at 09:03:57AM +0800, Andy Fan wrote:
> So if data checksums is enabled, nothing can be tested when turning
> wal_log_hints on/off.
> @@ -3319,7 +3319,7 @@ include_dir 'conf.d'
> If data checksums are enabled, hint bit updates are always WAL-logged
> and this setting is ignored. You can use this setting to test how much
> extra WAL-logging would occur if your database had data checksums
> - enabled.
> + disabled.
> </para>

It seems to me that the point if that enabling wal_log_hints is able
to emulate how much WAL would be generated should data checksums be
*enabled*. So the original text looks correct to me.
--
Michael

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2024-11-19 01:15:28 Re: Making error message more user-friendly with spaces in a URI
Previous Message Michael Paquier 2024-11-19 01:09:57 Re: fix deprecation mention for age() and mxid_age()