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

Поиск
Список
Период
Сортировка
От Jonah H. Harris
Тема Re: Is there a way to kill a connection from the pg_stat_activitly list?
Дата
Msg-id 36e682920710170500m6f4f946el7358d30ce4289494@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Is there a way to kill a connection from the pg_stat_activitly list?  ("Scott Marlowe" <scott.marlowe@gmail.com>)
Список pgsql-admin
On 10/17/07, Moiz Kothari <moizpostgres@gmail.com> wrote:
> Please do not use kill

More like, please do not take advice from people who don't know what
they're talking about.

> it sometimes resets all the connection on your db,
> you might want to use

Honestly, was this supposed to be a joke?  Have you RTFM?  Have you
looked at the code to pkill?  pkill calls kill and frankly, pkill is
more dangerous if you only want to kill a single session.

Grr, I'm surprised to see such an uninformed statement on this list.

--
Jonah H. Harris, Sr. Software Architect | phone: 732.331.1324
EnterpriseDB Corporation                | fax: 732.331.1301
499 Thornall Street, 2nd Floor          | jonah.harris@enterprisedb.com
Edison, NJ 08837                        | http://www.enterprisedb.com/

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

Предыдущее
От: "Moiz Kothari"
Дата:
Сообщение: Re: when inserting to table, text type parameter become NULL (after big assignment to this parameter)
Следующее
От: Darren Reed
Дата:
Сообщение: Re: Is my database now too big?