From: Mahmoud Bahaa <noreply@github.com>
To: pgsql-jdbc@lists.postgresql.org
Subject: [pgjdbc/pgjdbc] 23cce8: fix: remove receiving EOF from backend after cance...
Date: Mon, 16 Dec 2019 07:39:03 -0800
Message-ID: <pgjdbc/pgjdbc/push/refs/heads/master/aaccf4-23cce8@github.com> (raw)
Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: 23cce8ad35d9af6e2a1cb97fac69fdc0a7f94b42
https://github.com/pgjdbc/pgjdbc/commit/23cce8ad35d9af6e2a1cb97fac69fdc0a7f94b42
Author: Mahmoud Bahaa <mahmoud.bahaa@incorta.com>
Date: 2019-12-16 (Mon, 16 Dec 2019)
Changed paths:
M pgjdbc/src/main/java/org/postgresql/core/QueryExecutorBase.java
M pgjdbc/src/test/java/org/postgresql/test/jdbc2/StatementTest.java
Log Message:
-----------
fix: remove receiving EOF from backend after cancel since according to protocol the server closes the connection once cancel is sent (connection reset exception is always thrown) (#1641)
quote "The server will process this [cancel] request and then close the connection. For security reasons, no direct reply is made to the cancel request message." https://www.postgresql.org/docs/current/protocol-flow.html
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: noreply@github.com
Subject: Re: [pgjdbc/pgjdbc] 23cce8: fix: remove receiving EOF from backend after cance...
In-Reply-To: <pgjdbc/pgjdbc/push/refs/heads/master/aaccf4-23cce8@github.com>
References: <pgjdbc/pgjdbc/push/refs/heads/master/aaccf4-23cce8@github.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