Tom Lane <[EMAIL PROTECTED]> 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. Regards, --- ITAGAKI Takahiro NTT Open Source Software Center ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq