Re: [PATCH] fix for pg_stat_database (numbackends is always

Поиск
Список
Период
Сортировка
От Petr Jelinek
Тема Re: [PATCH] fix for pg_stat_database (numbackends is always
Дата
Msg-id 42C0E481.4080308@parba.cz
обсуждение исходный текст
Ответ на [PATCH] fix for pg_stat_database (numbackends is always zero)  (Petr Jelínek <pjmodos@parba.cz>)
Список pgsql-patches
Petr Jelinek wrote:
This patch fixes pg_stat_database which is broken since this commit: http://archives.postgresql.org/pgsql-committers/2005-05/msg00126.php
Neilc forgot to add new db entry inicialization to pgstat_recv_bestart() when he removed it from pgstat_add_backend() function, which causes numbackends in pg_stat_database table to be allways zero.

This is my first patch for postgres so I hope I did it right.

Please ignore this email - it was sent when I wasn't subscribed and we already had discrussion here about this prob.

-- 
Regards
Petr Jelinek (PJMODOS)

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] BUG #1707: statistics collector starts with stats_start_collector
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Users/Groups -> Roles