Re: [PATCH] fix for pg_stat_database (numbackends is always - Mailing list pgsql-patches

From Petr Jelinek
Subject Re: [PATCH] fix for pg_stat_database (numbackends is always
Date
Msg-id 42C0E481.4080308@parba.cz
Whole thread Raw
In response to [PATCH] fix for pg_stat_database (numbackends is always zero)  (Petr Jelínek <pjmodos@parba.cz>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: [BUGS] BUG #1707: statistics collector starts with stats_start_collector
Next
From: Tom Lane
Date:
Subject: Re: Users/Groups -> Roles