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

From A. Kretschmer
Subject Re: how to disable autovaccum
Date
Msg-id 20090414104554.GE11459@a-kretschmer.de
Whole thread Raw
In response to how to disable autovaccum  (ahmed soua <ahmed.soua@gmail.com>)
List pgsql-general
In response to ahmed soua :
> 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.
> Can you help me please .

You have to change your application, you can't run VACUUM inside a
transaction, a function or a multicommand string. That is not adjustable
in the config.


Andreas
--
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net

pgsql-general by date:

Previous
From: ahmed soua
Date:
Subject: how to disable autovaccum
Next
From: wstrzalka
Date:
Subject: Is it bad sorting in UTF ??