Re: pgstat_drop_relation bugfix
| От | ITAGAKI Takahiro |
|---|---|
| Тема | Re: pgstat_drop_relation bugfix |
| Дата | |
| Msg-id | 20070713170023.8E14.ITAGAKI.TAKAHIRO@oss.ntt.co.jp обсуждение исходный текст |
| Ответ на | Re: pgstat_drop_relation bugfix (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: pgstat_drop_relation bugfix
|
| Список | pgsql-patches |
Tom Lane <tgl@sss.pgh.pa.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. Regards, --- ITAGAKI Takahiro NTT Open Source Software Center
В списке pgsql-patches по дате отправления: