Re: Who's attached to the database?

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: Who's attached to the database?
Дата
Msg-id 486D069F.EE98.0025.0@wicourts.gov
обсуждение исходный текст
Ответ на Re: Who's attached to the database?  (Bricklen Anderson <banderson@presinet.com>)
Список pgsql-admin
>>> Bricklen Anderson <banderson@presinet.com> wrote:

>> Is there a command to disconnect this user?
>
> select pg_cancel_backend(<procpid of connection>);

I thought that just canceled the currently active statement (if any).
Don't you need to use pg_ctl kill (or the OS kill command) to actually
close the connection?

http://www.postgresql.org/docs/8.3/interactive/functions-admin.html

http://www.postgresql.org/docs/8.3/interactive/app-pg-ctl.html

-Kevin

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

Предыдущее
От: Bricklen Anderson
Дата:
Сообщение: Re: Who's attached to the database?
Следующее
От: Steve Kecskes
Дата:
Сообщение: Recourse Usage