Re: delete DB with connection destroy?

Поиск
Список
Период
Сортировка
От Cedric BUSCHINI
Тема Re: delete DB with connection destroy?
Дата
Msg-id 471F6811.4000804@carax.com
обсуждение исходный текст
Ответ на delete DB with connection destroy?  ("Nikolai Cheltsov" <begimot@gmail.com>)
Список pgsql-novice
Nikolai Cheltsov a écrit :
> Hi,
>
> Is there a possibility to delete a DB, when there are still
> connections to it? Something like force delete. Delete and if there
> are connections, kill them!
>
> Regards,
> Nikolay Cheltsov
Hi,

Why don't you force the deconnexion stopping the database with 'pg_ctl
stop -D $PGDATA -m fast' and restart it in single-mode ?

Ced.

--

 Cedric BUSCHINI
    - CARAX -
  IT Department

Phone : + 33 1 4006 9864
fax   : + 33 1 4006 9865


В списке pgsql-novice по дате отправления:

Предыдущее
От: "Nikolai Cheltsov"
Дата:
Сообщение: delete DB with connection destroy?
Следующее
От: "G. J. Walsh"
Дата:
Сообщение: readline library not found