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

pgsql: Make backends that are reading the pgstats file verify each

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Make backends that are reading the pgstats file verify each
Date: 2005-08-09 21:14:55
Message-ID: 20050809211455.C9CE852A62@svr1.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/src/backend/postmaster:
        pgstat.c (r1.103 -> r1.104)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/pgstat.c.diff?r1=1.103&r2=1.104)

pgsql-committers by date

Next:From: Tom LaneDate: 2005-08-09 22:47:04
Subject: pgsql: Extend pg_config to be able to report the build-time values of
Previous:From: Bruce MomjianDate: 2005-08-09 20:24:32
Subject: pgsql: Combine entries: < inheritance < * Allow

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