[pgjdbc/pgjdbc] 23cce8: fix: remove receiving EOF from backend after cance...

From: Mahmoud Bahaa <noreply(at)github(dot)com>
To: pgsql-jdbc(at)lists(dot)postgresql(dot)org
Subject: [pgjdbc/pgjdbc] 23cce8: fix: remove receiving EOF from backend after cance...
Date: 2019-12-16 15:39:03
Message-ID: pgjdbc/pgjdbc/push/refs/heads/master/aaccf4-23cce8@github.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: 23cce8ad35d9af6e2a1cb97fac69fdc0a7f94b42
https://github.com/pgjdbc/pgjdbc/commit/23cce8ad35d9af6e2a1cb97fac69fdc0a7f94b42
Author: Mahmoud Bahaa <mahmoud(dot)bahaa(at)incorta(dot)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

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2019-12-17 19:32:58 [pgjdbc/pgjdbc] f7a55c: fix: issue 1482 where the port was being added to ...
Previous Message Dave Cramer 2019-12-16 15:38:29 [pgjdbc/pgjdbc] aaccf4: fix unstable test. Originally this would loop crea...