Re: [previously on HACKERS] "Compacting" a relation
От | Alvaro Herrera |
---|---|
Тема | Re: [previously on HACKERS] "Compacting" a relation |
Дата | |
Msg-id | 20070222002804.GD14055@alvh.no-ip.org обсуждение исходный текст |
Ответ на | Re: [previously on HACKERS] "Compacting" a relation (Bruce Momjian <bruce@momjian.us>) |
Ответы |
Re: [previously on HACKERS] "Compacting" a relation
|
Список | pgsql-patches |
Bruce Momjian wrote: > Alvaro Herrera wrote: > > Bruce Momjian wrote: > > > > > > I applied the optional VACUUM FULL version, but modified to code to say > > > 20% rather than a factor of 5, attached. > > > > String construction does not work well with translations; please > > reformulate this. > > > > > + errhint("Consider%sincreasing the configuration parameter \"max_fsm_pages\".", > > > + /* Only suggest VACUUM FULL if 20% free */ > > > + (vacrelstats->tot_free_pages > vacrelstats->rel_pages * 0.20 > > > + ? " using VACUUM FULL on this relation or ": " ")))); > > OK, updated. Thanks :-) -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.
В списке pgsql-patches по дате отправления: