pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Craig Ringer <craig@2ndQuadrant.com>
To: Harry <shirlekar.harshal@gmail.com>
Cc: pgsql-general@postgresql.org
Subject: Re: PG_TERMINATE_BACKEND not working.
Date: Sun, 18 Nov 2012 19:25:41 +0800
Message-ID: <50A8C5B5.5080108@2ndQuadrant.com> (raw)
In-Reply-To: <1353047648804-5732379.post@n5.nabble.com>
References: <1353047648804-5732379.post@n5.nabble.com>

On 11/16/2012 02:34 PM, Harry wrote:
> I am facing problem i.e. connections after execution completed are residing
> in pg_stat_activity and pg_stat_database.
> but when i am trying to kill them manually using pg_terminate_backend (All
> IDLE connections are getting killed but, others like declare, select etc.)
> are not getting killed getting result false.
> Kindly help to resolve this issue.

More detail is needed.

Pg version?

OS and version?

Exact command output?

What the queries that're not terminated are doing?

Why you're terminating them / what problem you're trying to solve?




-- 
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services





view thread (11+ messages)  latest in thread

Message-ID: <50A8C5B5.5080108@2ndQuadrant.com>
Permalink:  ../50A8C5B5.5080108@2ndQuadrant.com/
Also on:    postgresql.org/message-id/50A8C5B5.5080108@2ndQuadrant.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: craig@2ndQuadrant.com, shirlekar.harshal@gmail.com
  Subject: Re: PG_TERMINATE_BACKEND not working.
  In-Reply-To: <50A8C5B5.5080108@2ndQuadrant.com>
  References: <1353047648804-5732379.post@n5.nabble.com> <50A8C5B5.5080108@2ndQuadrant.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