BUG #16145: Not able to terminate active session - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #16145: Not able to terminate active session
Date
Msg-id 16145-d617c77db801047b@postgresql.org
Whole thread Raw
Responses Re: BUG #16145: Not able to terminate active session  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
List pgsql-bugs
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


pgsql-bugs by date:

Previous
From: Etsuro Fujita
Date:
Subject: Re: BUG #16139: Assertion fails on INSERT into a postgres_fdw' tablewith two AFTER INSERT triggers
Next
From: Tomas Vondra
Date:
Subject: Re: BUG #16145: Not able to terminate active session