[pgjdbc/pgjdbc] b2eaef: Ensure isValid() will not last more than timeout s...

From: Adrien <noreply(at)github(dot)com>
To: pgsql-jdbc(at)lists(dot)postgresql(dot)org
Subject: [pgjdbc/pgjdbc] b2eaef: Ensure isValid() will not last more than timeout s...
Date: 2019-09-05 15:27:17
Message-ID: pgjdbc/pgjdbc/push/refs/heads/master/849512-b2eaef@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: b2eaefef1787b8ab0b8fcb266d10be4945a4fe25
https://github.com/pgjdbc/pgjdbc/commit/b2eaefef1787b8ab0b8fcb266d10be4945a4fe25
Author: Adrien <arobert(at)delfingen(dot)com>
Date: 2019-09-05 (Thu, 05 Sep 2019)

Changed paths:
M pgjdbc/src/main/java/org/postgresql/jdbc/PgConnection.java

Log Message:
-----------
Ensure isValid() will not last more than timeout seconds (#1557)

* Ensure isValid() will not last more than timeout seconds
even if the underlying socket is broken (issue #1556)

* Fix check style

* Add a try/catch to succeed tests

* Manages simply and properly get/setNetworkTimeout() in isValid()

Browse pgsql-jdbc by date

  From Date Subject
Next Message Rob Sargent 2019-09-06 07:23:59 Re: how to resolve org.postgresql.util.PSQLException: ResultSet not positioned properly, perhaps you need to call next.
Previous Message Rob Sargent 2019-09-05 06:35:25 Re: how to resolve org.postgresql.util.PSQLException: ResultSet not positioned properly, perhaps you need to call next.