Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> > What I'm inclined to propose is that we just remove the
> > pgstat_drop_relation() call from smgr_internal_unlink
> On checking the CVS history, that in fact is how the code worked before
> 8.1.3, when I introduced the bogus call in a fit of over-optimization :-(.
I'm worried that we leave garbage entries in the stats. As you suggested,
don't we need to remove unreferenced entries from stats periodically?
> > and rely entirely
> > on VACUUM to clean out dead entries in the pgstats data.
NTT Open Source Software Center
In response to
pgsql-hackers by date
|Next:||From: Richard Huxton||Date: 2007-07-13 08:35:55|
|Subject: Re: Regarding Distributed Database features|
|Previous:||From: Stefan Kaltenbrunner||Date: 2007-07-13 07:17:46|
|Subject: Re: compiler warnings on the buildfarm|
pgsql-patches by date
|Next:||From: Simon Riggs||Date: 2007-07-13 08:29:59|
|Subject: Re: BUG #3439: pg_standby and path name with space|
|Previous:||From: ISHIDA Akio||Date: 2007-07-12 19:36:54|
|Subject: BUG #3439: pg_standby and path name with space|