From: Jonah H. Harris <jonah.harris@gmail.com>
To: Moiz Kothari <moizpostgres@gmail.com>
Cc: Jessica Richard <rjessil@yahoo.com>
Cc: Scott Marlowe <scott.marlowe@gmail.com>
Cc: Tommy Gildseth <tommy.gildseth@usit.uio.no>
Cc: pgsql-admin@postgresql.org
Subject: Re: Is there a way to kill a connection from the pg_stat_activitly list?
Date: Wed, 17 Oct 2007 08:00:35 -0400
Message-ID: <36e682920710170500m6f4f946el7358d30ce4289494@mail.gmail.com> (raw)
In-Reply-To: <82e1a9bd0710170416p77d67fc2sd28aa07f531450f0@mail.gmail.com>
References: <dcc563d10710151034l77eddc60s7974ae84821b5124@mail.gmail.com>
<379974.90208.qm@web56402.mail.re3.yahoo.com>
<36e682920710160605n338de99fk300cd3062bd0417e@mail.gmail.com>
<82e1a9bd0710170416p77d67fc2sd28aa07f531450f0@mail.gmail.com>
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/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: jonah.harris@gmail.com, moizpostgres@gmail.com, rjessil@yahoo.com, scott.marlowe@gmail.com, tommy.gildseth@usit.uio.no
Subject: Re: Is there a way to kill a connection from the pg_stat_activitly list?
In-Reply-To: <36e682920710170500m6f4f946el7358d30ce4289494@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox