Re: Is there a way to kill a connection from the pg_stat_activitly list?

Поиск
Список
Период
Сортировка
От Tommy Gildseth
Тема Re: Is there a way to kill a connection from the pg_stat_activitly list?
Дата
Msg-id 471369C9.1060301@usit.uio.no
обсуждение исходный текст
Ответ на Is there a way to kill a connection from the pg_stat_activitly list?  (Jessica Richard <rjessil@yahoo.com>)
Ответы Re: Is there a way to kill a connection from the pg_stat_activitly list?  (Jessica Richard <rjessil@yahoo.com>)
Список pgsql-admin
Jessica Richard wrote:
> When you see a hanging Postgres connection (or a job running so long
> and you don't want to continue any more) from
>
> select * from pg_stat_activity
>
> and you want to disconnect it,
>
> how do you do it?

|pg_cancel_backend()


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

--
Tommy Gildseth
DBA, Gruppe for databasedrift
Universitetet i Oslo, USIT
m: +47 45 86 38 50
t: +47 22 85 29 39


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

Предыдущее
От: "Jonah H. Harris"
Дата:
Сообщение: Re: Is there a way to kill a connection from the pg_stat_activitly list?
Следующее
От: Martial Elisée Wendbé KIBA
Дата:
Сообщение: Distributed DataBases