BUG #16145: Not able to terminate active session

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: mohankumar(dot)dorairaj(at)globalfoundries(dot)com
Subject: BUG #16145: Not able to terminate active session
Date: 2019-12-03 13:18:50
Message-ID: 16145-d617c77db801047b@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 16145
Logged by: MOHAN KUMAR DORAIRAJ
Email address: mohankumar(dot)dorairaj(at)globalfoundries(dot)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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tomas Vondra 2019-12-03 14:11:47 Re: BUG #16145: Not able to terminate active session
Previous Message Etsuro Fujita 2019-12-03 11:53:54 Re: BUG #16139: Assertion fails on INSERT into a postgres_fdw' table with two AFTER INSERT triggers