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

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: pgsql: Add pg_stat_database counters for sessions and session time
Дата
Msg-id CABUevExF3=c9W1ANmS1WTQN1S_vEDks_GDdbhgwV8Stui0vsPQ@mail.gmail.com
обсуждение исходный текст
Ответ на pgsql: Add pg_stat_database counters for sessions and session time  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-committers
On Mon, Jan 18, 2021 at 5:09 PM Laurenz Albe <laurenz.albe@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/



В списке pgsql-committers по дате отправления:

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: pgsql: Bump PGSTAT_FILE_FORMAT_ID
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Allow for error or refusal while absorbing a ProcSignalBarrier.