You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rework pg_stat_statements fetching to separate text vs stats
Since we now load one or the other (instead of both) we can invent
special purpose methods for each, avoiding a bunch of showtext checks
and making the logic easier to follow.
In passing, remove a nonsensical check for sql.ErrNoRows on the result
of db.PrepareContext. This only occurs when using QueryRow in Go, not
when querying for multiple rows.
logger.PrintInfo("Successfully called pg_stat_statements_reset() for all queries, next reset in %d hours", config.Features.StatementResetFrequency/scheduler.FullSnapshotsPerHour)
120
120
121
121
// Make sure the next high frequency run has an empty reference point
0 commit comments