[pgjdbc/pgjdbc] b7fd9f: fix: support query timeouts exceeding 2147483 seco...

From: Vladimir Sitnikov <sitnikov(dot)vladimir(at)gmail(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: [pgjdbc/pgjdbc] b7fd9f: fix: support query timeouts exceeding 2147483 seco...
Date: 2018-06-22 12:46:06
Message-ID: 5b2cef8eea8d6_27992ad3690dfc0c893a2@hookshot-fe-5a11256.cp1-iad.github.net.mail
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: b7fd9f3cef734b4c219e2f6bc6c19acf68b2990b
https://github.com/pgjdbc/pgjdbc/commit/b7fd9f3cef734b4c219e2f6bc6c19acf68b2990b
Author: Vladimir Sitnikov <sitnikov(dot)vladimir(at)gmail(dot)com>
Date: 2018-06-22 (Fri, 22 Jun 2018)

Changed paths:
M pgjdbc/src/main/java/org/postgresql/jdbc/PgStatement.java
M pgjdbc/src/test/java/org/postgresql/test/jdbc2/StatementTest.java

Log Message:
-----------
fix: support query timeouts exceeding 2147483 seconds (~25 days) (#1224)

Use long field for timeout to avoid unexpected
"Query timeout must be a value greater than or equals to 0" when query timeout exceeds 2147483

fixes #1223

**NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

Functionality will be removed from GitHub.com on January 31st, 2019.

Browse pgsql-jdbc by date

  From Date Subject
Next Message Sehrope Sarkuni 2018-06-24 18:18:50 Re: github purchased by micro$oft
Previous Message Robert Haas 2018-06-18 20:57:08 Re: [HACKERS] Statement-level rollback