Re: how to disable autovaccum - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: how to disable autovaccum
Date
Msg-id 20090414140135.GP7709@alvh.no-ip.org
Whole thread Raw
In response to how to disable autovaccum  (ahmed soua <ahmed.soua@gmail.com>)
List pgsql-general
ahmed soua escribió:
> Hi everybody,
>
> When I was working with Postgis , I had the following error:
> *failed: ERREUR:  VACUUM ne peut pas être exécuté à partir d'une fonction ou
> d'une chaîne
> contenant plusieurs commandes* (   VACUUM cannot be executed from a function
> or from a chain containing several commands)
> *Error occurred, cleaning up.
> *I had disabled the parameter autocavcum in the file* postgresql.conf* but i
> still have the same error.

The error did not come from autovacuum, so by disabling it you have not
fixed anything.  I suggest you turn it back on (unless you have a good
plan for vacuuming), and fix your application code instead.

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

pgsql-general by date:

Previous
From: Craig Ringer
Date:
Subject: Re: Is it bad sorting in UTF ??
Next
From: Kynn Jones
Date:
Subject: Re: 'no pg_hba.conf entry for host "[local]", user "postgres", database "postgres"'...