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 20070221222948.GC14055@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  (Bruce Momjian <bruce@momjian.us>)
List pgsql-patches
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 ": " "))));


--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [previously on HACKERS] "Compacting" a relation
Next
From: daveg
Date:
Subject: Re: WIP patch - INSERT-able log statements