Re: Drop database / database in use question - Mailing list pgsql-general

From Dan Armbrust
Subject Re: Drop database / database in use question
Date
Msg-id 82f04dc40810170855o71909fdx719a8f7ac66c85ca@mail.gmail.com
Whole thread Raw
In response to Re: Drop database / database in use question  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: Drop database / database in use question  (Robert Treat <robert@omniti.com>)
List pgsql-general
It would seem that way.  But if you have ever tried programming with
the constraints of an InstallAnywhere installer, you would know why :)



On Fri, Oct 17, 2008 at 10:43 AM, Alvaro Herrera
<alvherre@commandprompt.com> wrote:
> Dan Armbrust escribió:
>> I don't suppose that there is any easy way way that I can stop and/or
>> disable the Autovac temporarily for the database that I want to drop.
>>
>> The only thing that I have seen so far, is that I would have to add
>> rows to the pg_autovacuum  table for each table in my database, but
>> I'm    not confident that that would even stop it from accessing the
>> database, since it says that even when set to disabled, autovacuum
>> will still run to prevent transaction id wraparounds, so it seems that
>> it still would make make a quick check into the database that my drop
>> command could collide with.
>
> You seem to want to go to a lot of trouble just to a void a simple retry
> loop.
>
> --
> Alvaro Herrera                                http://www.CommandPrompt.com/
> PostgreSQL Replication, Consulting, Custom Development, 24x7 support
>

pgsql-general by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Drop database / database in use question
Next
From: Lincoln Yeoh
Date:
Subject: Re: Drupal and PostgreSQL - performance issues?