Re: outdated (bad) information in pg_stat_activity

From: hubert depesz lubaczewski <depesz(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: outdated (bad) information in pg_stat_activity
Date: 2005-12-17 11:13:03
Message-ID: 9e4684ce0512170313v17b564a2qca76be96bf3cdf13@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 12/16/05, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
> 2005-08-09 17:14 tgl
> * src/backend/postmaster/pgstat.c: Make backends that are reading
> the pgstats file verify each backend PID against the PGPROC array.
> Anything in the file that isn't in PGPROC gets rejected as being a
> stale entry. This should solve complaints about stale entries in
> pg_stat_activity after a BETERM message has been dropped due to
> overload.
>

must have missed that one. thanks - we are moving to 8.1 anyway (50-150%
increase in performance for some specific tasks!).

depesz

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andre Truter 2005-12-17 12:53:13 DBlink documentation
Previous Message Karsten Hilbert 2005-12-17 08:57:46 Re: is this a bug or I am blind?