vacuum rusage fix

Euler Taveira de Oliveira <euler@timbira.com>

From: Euler Taveira de Oliveira <euler@timbira.com>
To: Pgsql Hackers <pgsql-hackers@postgresql.org>
Date: 2011-08-18T11:02:52Z
Lists: pgsql-hackers

Attachments

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