pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: mohankumar.dorairaj@globalfoundries.com
Subject: BUG #16145: Not able to terminate active session
Date: Tue, 03 Dec 2019 13:18:50 +0000
Message-ID: <16145-d617c77db801047b@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      16145
Logged by:          MOHAN KUMAR DORAIRAJ
Email address:      mohankumar.dorairaj@globalfoundries.com
PostgreSQL version: 11.2
Operating system:   Red Hat Enterprise Linux Server release 7.6 (Maipo
Description:        

Not able to terminate active session even though used below commands

postgres=# SELECT pg_cancel_backend(16647);
 pg_cancel_backend
-------------------
 t
(1 row)

postgres=# SELECT pg_terminate_backend(16647);
 pg_terminate_backend
----------------------
 t
(1 row)

postgres=#  select pid,application_name FROM pg_stat_activity where
application_name IS  NOT NULL AND state = 'active';
  pid  |    application_name
-------+------------------------
 16647 | PostgreSQL JDBC Driver
 19879 | psql



view thread (15+ messages)  latest in thread

Message-ID: <16145-d617c77db801047b@postgresql.org>
Permalink:  ../16145-d617c77db801047b@postgresql.org/
Also on:    postgresql.org/message-id/16145-d617c77db801047b@postgresql.org

 · 

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-bugs@postgresql.org
  Cc: noreply@postgresql.org, mohankumar.dorairaj@globalfoundries.com
  Subject: Re: BUG #16145: Not able to terminate active session
  In-Reply-To: <16145-d617c77db801047b@postgresql.org>
  References: <16145-d617c77db801047b@postgresql.org>

* 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