On Mon, Jan 18, 2021 at 5:09 PM Laurenz Albe <laurenz.a...@cybertec.at> wrote: > > On Sun, 2021-01-17 at 13:07 +0000, Magnus Hagander wrote: > > Add pg_stat_database counters for sessions and session time > > > > This add counters for number of sessions, the different kind of session > > termination types, and timers for how much time is spent in active vs > > idle in a database to pg_stat_database. > > Should't this update PGSTAT_FILE_FORMAT_ID in include/pgstat.h > since "struct PgStat_StatDBEntry" was changed?
Per my reply in the other thread -- yes it should. Fixed. -- Magnus Hagander Me: https://www.hagander.net/ Work: https://www.redpill-linpro.com/