Re: Please make it easy to drop a database that is in use

Поиск
Список
Период
Сортировка
От Raghavendra
Тема Re: Please make it easy to drop a database that is in use
Дата
Msg-id CA+h6AhgMSWR2CCCEkum9oQB8+w48ENYfX4Ekw1Vvbkdhx-VBcA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Please make it easy to drop a database that is in use  (Evan Martin <postgresql@realityexists.net>)
Список pgsql-general

SELECT pg_terminate_backend(procpid)
FROM pg_stat_activity
WHERE datname = 'dropme';

ERROR:  must be superuser to signal other server processes


You can try this approach.


---
Regards,
Raghavendra
EnterpriseDB Corporation

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

Предыдущее
От: Evan Martin
Дата:
Сообщение: Re: Please make it easy to drop a database that is in use
Следующее
От: "Albe Laurenz"
Дата:
Сообщение: Re: Please make it easy to drop a database that is in use