> I'm confused, what does statement timeout have to do with this? I was > assuming you would edit "autovacuum = off" to "autovacuum = on" wouldn't > that work? Sorry for the confusion, I was thinking about the procedure of changing programatically the config file and reload it, all this from a crontab. That is working fine... only I did it for statement_timeout not autovacuum, so you have to modify the script if you want to use it for that. Cheers, Csaba.