Skip site navigation (1) Skip section navigation (2)

[PATCH] fix for pg_stat_database (numbackends is always zero)

From: Petr Jelínek <pjmodos(at)parba(dot)cz>
To: pgsql-patches(at)postgresql(dot)org
Subject: [PATCH] fix for pg_stat_database (numbackends is always zero)
Date: 2005-06-23 20:01:56
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
This patch fixes pg_stat_database which is broken since this commit:
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.

Petr Jelinek (PJMODOS)

Attachment: pgstat.c.diff
Description: text/plain (2.2 KB)


pgsql-patches by date

Next:From: Alvaro HerreraDate: 2005-06-23 23:36:54
Subject: Another unused variable
Previous:From: Josh BerkusDate: 2005-06-23 18:21:41
Subject: Re: PL/pgSQL Debugger Support

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group