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

From Alvaro Herrera
Subject Re: Drop database / database in use question
Date
Msg-id 20081017144227.GC4218@alvh.no-ip.org
Whole thread Raw
In response to Re: Drop database / database in use question  ("Dan Armbrust" <daniel.armbrust.list@gmail.com>)
Responses Re: Drop database / database in use question
List 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.

pgsql-general by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Annoying Reply-To
Next
From: Rainer Pruy
Date:
Subject: Re: Annoying Reply-To