On Tue, May 24, 2022 at 03:01:47PM -0700, Nathan Bossart wrote: > In postgresql.conf.sample, stats_fetch_consistency is set to "none," but > the default appears to be "cache." Should these be consistent? I've > attached a patch to change the entry in the sample.
Yes, postgresql.conf.sample should reflect the default, and that's PGSTAT_FETCH_CONSISTENCY_CACHE in guc.c. Andres, shouldn't pgstat_fetch_consistency be initialized to the same in pgstat.c? -- Michael