Received: from localhost (unknown [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 104FD9F9DB0 for ; Mon, 15 Oct 2007 15:13:41 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 71204-06 for ; Mon, 15 Oct 2007 15:13:36 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from gwmta.wicourts.gov (gwmta.wicourts.gov [165.219.244.99]) by postgresql.org (Postfix) with ESMTP id 043B29F9B65 for ; Mon, 15 Oct 2007 15:13:37 -0300 (ADT) Received: from Courts-MTA by gwmta.wicourts.gov with Novell_GroupWise; Mon, 15 Oct 2007 13:13:35 -0500 Message-Id: <47136772.EE98.0025.0@wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 7.0.2 Date: Mon, 15 Oct 2007 13:13:23 -0500 From: "Kevin Grittner" To: "Jonah H. Harris" , "Jessica Richard" Cc: , "Tommy Gildseth" Subject: Re: Is there a way to kill a connection from the pg_stat_activitly list? References: <471369C9.1060301@usit.uio.no> <382292.68410.qm@web56406.mail.re3.yahoo.com> <36e682920710151034r2aaef401m5429e460ee0ac209@mail.gmail.com> In-Reply-To: <36e682920710151034r2aaef401m5429e460ee0ac209@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200710/127 X-Sequence-Number: 27041 >>> On Mon, Oct 15, 2007 at 12:34 PM, in message <36e682920710151034r2aaef401m5429e460ee0ac209@mail.gmail.com>, "Jonah H. Harris" wrote:=20 >=20 > There used to be a pg_terminate_backend, but it was #ifdef'd out due > to corruption concerns. Basically, all it did was: >=20 > kill -TERM pid >=20 > I'm not sure whether anyone has completed the research required to > know if anything remains corrupted, but it is used occasionally. Best > to do pg_cancel_backend and then kill -TERM. =20 Where does pg_ctl kill fit in? =20 Is TERM the normal signal to use there, too? =20 Should the pg_ctl docs give some guidelines on the signals? =20 -Kevin =20