Re: Drop database / database in use question

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Dan Armbrust <daniel(dot)armbrust(dot)list(at)gmail(dot)com>
Cc: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>, pgsql general <pgsql-general(at)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: Drop database / database in use question
Date: 2008-10-17 14:42:27
Message-ID: 20081017144227.GC4218@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Dan Armbrust escribió:

> Do I really just have to keep trying the DROP command N times in a
> row, until it decides it wants to work? That really doesn't seem
> right.

Yes. Most of the time it'll work on the first try, but if you add the
retry loop your operation is guaranteed to work all the time.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Oleg Bartunov 2008-10-17 14:48:55 Re: Question about fulltext search and to_tsvector function
Previous Message Alvaro Herrera 2008-10-17 14:41:22 Re: Annoying Reply-To