Re: fix stats_fetch_consistency value in postgresql.conf.sample

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Andres Freund <andres@anarazel.de>
Cc: Kyotaro Horiguchi <horikyota.ntt@gmail.com>, nathandbossart@gmail.com, pgsql-hackers@postgresql.org
Date: 2022-05-25T05:00:23Z
Lists: pgsql-hackers
On Tue, May 24, 2022 at 09:28:49PM -0700, Andres Freund wrote:
> And done. Thanks Nathan!

Shouldn't you also refresh pgstat_fetch_consistency in pgstat.c for
consistency?

> I wonder if we should make src/test/modules/test_misc/t/003_check_guc.pl
> detect this kind of thing?

That sounds like a good idea to me.
--
Michael

Commits

  1. Align stats_fetch_consistency definition with guc.c default.

  2. Fix stats_fetch_consistency default value indicated in postgresql.conf.sample.