OSDN Git Service

Remove the pgstats logic for delaying destruction of stats table entries.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 6 Apr 2006 20:38:00 +0000 (20:38 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 6 Apr 2006 20:38:00 +0000 (20:38 +0000)
commit0914ae1c1481c2721d57d1c4c3da95a1e0582f7a
tree65b90dd4ce49e58b3d919a8f3c2aefe7ccaf0830
parent0bc2a8ca6556de179468b4eea84cb67b38322414
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.
src/backend/postmaster/autovacuum.c
src/backend/postmaster/pgstat.c
src/include/pgstat.h