Re: PG_TERMINATE_BACKEND not working. - Mailing list pgsql-general

From Chris Angelico
Subject Re: PG_TERMINATE_BACKEND not working.
Date
Msg-id CAPTjJmqJRmFCDyQM4TpaHfkub5d0_1RwkMYrhcTtCsCwm75iqA@mail.gmail.com
Whole thread Raw
In response to Re: PG_TERMINATE_BACKEND not working.  (Craig Ringer <craig@2ndQuadrant.com>)
Responses Re: PG_TERMINATE_BACKEND not working.
List pgsql-general
On Sun, Nov 18, 2012 at 10:25 PM, Craig Ringer <craig@2ndquadrant.com> wrote:
> 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?

And: Are you logged in as superuser when you try to kill them, and if
not, are the other sessions from your own user?

ChrisA


pgsql-general by date:

Previous
From: Craig Ringer
Date:
Subject: Re: PG_TERMINATE_BACKEND not working.
Next
From: David Johnston
Date:
Subject: Re: [BUGS] Prepared Statement Name Truncation