pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: Jonah H. Harris <jonah.harris@gmail.com>
To: Jessica Richard <rjessil@yahoo.com>
Cc: pgsql-admin@postgresql.org
Cc: Tommy Gildseth <tommy.gildseth@usit.uio.no>
Subject: Re: Is there a way to kill a connection from the pg_stat_activitly list?
Date: Mon, 15 Oct 2007 13:13:23 -0500
Message-ID: <47136772.EE98.0025.0@wicourts.gov> (raw)
In-Reply-To: <36e682920710151034r2aaef401m5429e460ee0ac209@mail.gmail.com>
References: <471369C9.1060301@usit.uio.no>
	<382292.68410.qm@web56406.mail.re3.yahoo.com>
	<36e682920710151034r2aaef401m5429e460ee0ac209@mail.gmail.com>

>>> On Mon, Oct 15, 2007 at 12:34 PM, in message
<36e682920710151034r2aaef401m5429e460ee0ac209@mail.gmail.com>, "Jonah H.
Harris" <jonah.harris@gmail.com> wrote: 
> 
> There used to be a pg_terminate_backend, but it was #ifdef'd out due
> to corruption concerns.  Basically, all it did was:
> 
> kill -TERM pid
> 
> 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.
 
Where does pg_ctl kill fit in?
 
Is TERM the normal signal to use there, too?
 
Should the pg_ctl docs give some guidelines on the signals?
 
-Kevin
 





view thread (13+ messages)  latest in thread

Message-ID: <47136772.EE98.0025.0@wicourts.gov>
Permalink:  ../47136772.EE98.0025.0@wicourts.gov/
Also on:    postgresql.org/message-id/47136772.EE98.0025.0@wicourts.gov

 · 

reply

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: Kevin.Grittner@wicourts.gov, jonah.harris@gmail.com, rjessil@yahoo.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: <47136772.EE98.0025.0@wicourts.gov>

* 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