pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sudalai <sudalait2@gmail.com>
To: pgsql-jdbc@postgresql.org
Subject: Abort() doesn't abort backends which are in WAITING state
Date: Mon, 20 Nov 2017 08:05:21 -0700 (MST)
Message-ID: <1511190321680-0.post@n3.nabble.com> (raw)

Dear geeks,

When we try to abort backend process which are in "WAITING STATE" via
java.sql.Connection.abort(), socket in application server was closed, but
backend process doesn't get aborted. 
Backends get aborted only after it resources for which it waited.

Is there anyway we can abort those backend immediately?

We are using database version : 9.5.1, 9.4.0.  Driver version : 42.1.4 JDBC
42.

Thanks in advance. 

-
Sudalai



-----
sudalai
--
Sent from: http://www.postgresql-archive.org/PostgreSQL-jdbc-f2168246.html




view thread (3+ messages)  latest in thread

Message-ID: <1511190321680-0.post@n3.nabble.com>
Permalink:  ../1511190321680-0.post@n3.nabble.com/
Also on:    postgresql.org/message-id/1511190321680-0.post@n3.nabble.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-jdbc@postgresql.org
  Cc: sudalait2@gmail.com
  Subject: Re: Abort() doesn't abort backends which are in WAITING state
  In-Reply-To: <1511190321680-0.post@n3.nabble.com>
  References: <1511190321680-0.post@n3.nabble.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