Re: [previously on HACKERS] "Compacting" a relation - Mailing list pgsql-patches

From Alvaro Herrera
Subject Re: [previously on HACKERS] "Compacting" a relation
Date
Msg-id 20070222002804.GD14055@alvh.no-ip.org
Whole thread Raw
In response to Re: [previously on HACKERS] "Compacting" a relation  (Bruce Momjian <bruce@momjian.us>)
Responses Re: [previously on HACKERS] "Compacting" a relation  ("Simon Riggs" <simon@2ndquadrant.com>)
List 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 by date:

Previous
From: "Guillaume Smet"
Date:
Subject: First implementation of GIN for pg_trgm
Next
From: Greg Smith
Date:
Subject: Re: WIP patch - INSERT-able log statements