pgsql: Remove the pgstats logic for delaying destruction of stats table

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Remove the pgstats logic for delaying destruction of stats table
Date: 2006-04-06 20:38:01
Message-ID: 20060406203801.ED7BE11F6707@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Remove the pgstats logic for delaying destruction of stats table entries.
Per recent discussion, this seems to be making the stats less accurate
rather than more so, particularly on Windows where PID values may be
reused very quickly. Patch by Peter Brant.

Modified Files:
--------------
pgsql/src/backend/postmaster:
autovacuum.c (r1.15 -> r1.16)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/autovacuum.c.diff?r1=1.15&r2=1.16)
pgstat.c (r1.121 -> r1.122)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/pgstat.c.diff?r1=1.121&r2=1.122)
pgsql/src/include:
pgstat.h (r1.42 -> r1.43)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/pgstat.h.diff?r1=1.42&r2=1.43)

Browse pgsql-committers by date

  From Date Subject
Next Message User Gsmet 2006-04-06 20:57:12 pgfouine - pgfouine: added the -title option to define the title of a
Previous Message User Gsmet 2006-04-06 20:26:54 pgfouine - pgfouine: changed a few labels