pgsql: Make backends that are reading the pgstats file verify each - Mailing list pgsql-committers

From tgl@svr1.postgresql.org (Tom Lane)
Subject pgsql: Make backends that are reading the pgstats file verify each
Date
Msg-id 20050809211455.C9CE852A62@svr1.postgresql.org
Whole thread Raw
List 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:

Previous
From: momjian@svr1.postgresql.org (Bruce Momjian)
Date:
Subject: pgsql: Combine entries: < inheritance < * Allow
Next
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql: Extend pg_config to be able to report the build-time values of