Thread: vacuum rusage fix

vacuum rusage fix

From
Euler Taveira de Oliveira
Date:
Hi,

While looking at Greg's patch I spotted that resource usage code for vacuum is
initialized even if we won't use it. Attached is a small patch that moves it
to the right place (this code mimics do_analyze_rel function).


--
   Euler Taveira de Oliveira - Timbira       http://www.timbira.com.br/
   PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento

Attachment

Re: vacuum rusage fix

From
Robert Haas
Date:
On Thu, Aug 18, 2011 at 7:02 AM, Euler Taveira de Oliveira
<euler@timbira.com> wrote:
> While looking at Greg's patch I spotted that resource usage code for vacuum
> is initialized even if we won't use it. Attached is a small patch that moves
> it to the right place (this code mimics do_analyze_rel function).

Looks reasonable.  Committed.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company