Re: Drop database / database in use question

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Drop database / database in use question
Дата
Msg-id 20081017144227.GC4218@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Drop database / database in use question  ("Dan Armbrust" <daniel.armbrust.list@gmail.com>)
Ответы Re: Drop database / database in use question  ("Dan Armbrust" <daniel.armbrust.list@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Annoying Reply-To
Следующее
От: Rainer Pruy
Дата:
Сообщение: Re: Annoying Reply-To