Re: Is there a way to kill a connection from the pg_stat_activitly list? - Mailing list pgsql-admin

From Jonah H. Harris
Subject Re: Is there a way to kill a connection from the pg_stat_activitly list?
Date
Msg-id 36e682920710170500m6f4f946el7358d30ce4289494@mail.gmail.com
Whole thread Raw
In response to Re: Is there a way to kill a connection from the pg_stat_activitly list?  ("Scott Marlowe" <scott.marlowe@gmail.com>)
List 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 by date:

Previous
From: "Moiz Kothari"
Date:
Subject: Re: when inserting to table, text type parameter become NULL (after big assignment to this parameter)
Next
From: Darren Reed
Date:
Subject: Re: Is my database now too big?