Re: pgsql: Add pg_stat_database counters for sessions and session time

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
Cc: pgsql-committers <pgsql-committers(at)lists(dot)postgresql(dot)org>
Subject: Re: pgsql: Add pg_stat_database counters for sessions and session time
Date: 2021-01-18 16:53:53
Message-ID: CABUevExF3=c9W1ANmS1WTQN1S_vEDks_GDdbhgwV8Stui0vsPQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On Mon, Jan 18, 2021 at 5:09 PM Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)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/

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2021-01-18 17:50:12 pgsql: Allow for error or refusal while absorbing a ProcSignalBarrier.
Previous Message Magnus Hagander 2021-01-18 16:53:30 pgsql: Bump PGSTAT_FILE_FORMAT_ID