Align stats_fetch_consistency definition with guc.c default.
authorAndres Freund <andres@anarazel.de>
Sat, 28 May 2022 20:08:19 +0000 (13:08 -0700)
committerAndres Freund <andres@anarazel.de>
Sat, 28 May 2022 20:11:59 +0000 (13:11 -0700)
Somewhat embarrassing oversight in 98f897339b0. Does not have a functional
impact, but is unnecessarily confusing.

Reported-By: Michael Paquier <michael@paquier.xyz>
Discussion: https://postgr.es/m/Yo2351qVYqd/bJws@paquier.xyz

src/backend/utils/activity/pgstat.c

index 05f2d9e9bd0c714a1059f454e97a5ac20fdb9c2a..ad5cf6fb915c377a269b9a055504804934442c81 100644 (file)
@@ -183,7 +183,7 @@ static inline bool pgstat_is_kind_valid(int ikind);
  */
 
 bool           pgstat_track_counts = false;
-int                    pgstat_fetch_consistency = PGSTAT_FETCH_CONSISTENCY_NONE;
+int                    pgstat_fetch_consistency = PGSTAT_FETCH_CONSISTENCY_CACHE;
 
 
 /* ----------