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

2021-01-18 Thread Magnus Hagander
On Mon, Jan 18, 2021 at 5:09 PM Laurenz Albe wrote: > > On Sun, 2021-01-17 at 13:07 +, 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

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

2021-01-18 Thread Laurenz Albe
On Sun, 2021-01-17 at 13:07 +, 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

pgsql: Add pg_stat_database counters for sessions and session time

2021-01-17 Thread Magnus Hagander
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. Internally this also renames the parameter "force" to