Re: dropdb: database removal failed: ERROR: database "database_name" is being accessed by other users

Поиск
Список
Период
Сортировка
От Thomas F.O'Connell
Тема Re: dropdb: database removal failed: ERROR: database "database_name" is being accessed by other users
Дата
Msg-id d9cf51e17973bcee0b49047396d282d0@sitening.com
обсуждение исходный текст
Ответ на dropdb: database removal failed: ERROR: database "database_name" is being accessed by other users  (Gourish Singbal <gourish@gmail.com>)
Ответы Re: dropdb: database removal failed: ERROR: database "database_name" is being accessed by other users  (Gourish Singbal <gourish@gmail.com>)
Список pgsql-admin
pkill -f 'postgres: postgres <database>'

Much cleaner than the previous recipe for those with pkill.

-tfo

--
Thomas F. O'Connell
Co-Founder, Information Architect
Sitening, LLC
http://www.sitening.com/
110 30th Avenue North, Suite 6
Nashville, TN 37203-6320
615-260-0005


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_sorttemp#####.##
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Cross tablespaces query