Skip to content

Commit 0107855

Browse files
committed
Align stats_fetch_consistency definition with guc.c default.
Somewhat embarrassing oversight in 98f8973. 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
1 parent b452900 commit 0107855

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/utils/activity/pgstat.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ static inline bool pgstat_is_kind_valid(int ikind);
183183
*/
184184

185185
bool pgstat_track_counts = false;
186-
int pgstat_fetch_consistency = PGSTAT_FETCH_CONSISTENCY_NONE;
186+
int pgstat_fetch_consistency = PGSTAT_FETCH_CONSISTENCY_CACHE;
187187

188188

189189
/* ----------

0 commit comments

Comments
 (0)