From: Andres Freund <andres@anarazel.de>
To: Haribabu Kommi <kommi.haribabu@gmail.com>
Cc: oktogen@mail.ru, "pgsql-bugs@postgresql.org" <pgsql-bugs@postgresql.org>
Subject: Re: BUG #13671: pg_terminate_backend(pid) does not work
Date: Fri, 9 Oct 2015 15:36:36 +0200
Message-ID: <20151009133636.GA23742@awork2.anarazel.de> (raw)
In-Reply-To: <CAJrrPGczmfBp0yHn-Tsq9pBCRZKNNDUabABt6k=52t43pB5W1w@mail.gmail.com>
References: <20151009074334.1217.18732@wrigleys.postgresql.org>
<CAJrrPGczmfBp0yHn-Tsq9pBCRZKNNDUabABt6k=52t43pB5W1w@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On 2015-10-09 19:56:16 +1100, Haribabu Kommi wrote:
> Thanks for the bug report. This issue happens only for version 9.4 and below.
> In 9.5 and Head branches, because of the following commit, that introduces the
> wait logic in reading/writing from client, thus it detects the interrupts and
> terminates the backend. But in version 9.4 and below, the wait logic
> doesn't exist
> because of this reason, the backend is not terminated.
>
> commit - 80788a431e9bff06314a054109fdea66ac538199
> Simplify waiting logic in reading from / writing to client.
Are you sure that it is this commit? That's just unifying existing
logic between ssl/nossl, no?
> Similar fix is needed in the back branches. Comments?
I don't think we easily can - the whole interrupt/signal handling
overhaul was quite invasive.
Greetings,
Andres Freund
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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: andres@anarazel.de, kommi.haribabu@gmail.com
Subject: Re: BUG #13671: pg_terminate_backend(pid) does not work
In-Reply-To: <20151009133636.GA23742@awork2.anarazel.de>
References: <20151009074334.1217.18732@wrigleys.postgresql.org> <CAJrrPGczmfBp0yHn-Tsq9pBCRZKNNDUabABt6k=52t43pB5W1w@mail.gmail.com> <20151009133636.GA23742@awork2.anarazel.de>
* 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