Re: Who's attached to the database?

Поиск
Список
Период
Сортировка
От Carol Walter
Тема Re: Who's attached to the database?
Дата
Msg-id DCE58E12-256E-4707-A8E8-3B33FB286D09@indiana.edu
обсуждение исходный текст
Ответ на Re: Who's attached to the database?  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Ответы Re: Who's attached to the database?  (Bricklen Anderson <banderson@presinet.com>)
Re: Who's attached to the database?  (Lennin Caro <lennin.caro@yahoo.com>)
Список pgsql-admin
Thanks, guys,

This told me that the user that has it open is the interface user
called db_user.  Is there a command to disconnect this user?

Carol

On Jul 3, 2008, at 3:53 PM, Kevin Grittner wrote:

>>>> Carol Walter <walterc@indiana.edu> wrote:
>> I'm trying to drop a database and I'm getting an error that says that
>
>> the database is being accessed by other users.  Is there a way I can
>
>> find out who these users are or if there really is a user accessing
> it?
>
> select * from pg_stat_activity where datname = 'yourdb';
>
> -Kevin


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

Предыдущее
От: paul socha
Дата:
Сообщение: Re: Who's attached to the database?
Следующее
От: Carol Walter
Дата:
Сообщение: Re: Who's attached to the database?