Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fWLSH-0000on-4Z for pgsql-jdbc@arkaria.postgresql.org; Fri, 22 Jun 2018 12:46:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fWLSF-0000oQ-2x for pgsql-jdbc@arkaria.postgresql.org; Fri, 22 Jun 2018 12:46:19 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fWLSE-0000oJ-SH for pgsql-jdbc@lists.postgresql.org; Fri, 22 Jun 2018 12:46:18 +0000 Received: from m71-131.mailgun.net ([166.78.71.131]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fWLS6-0007JP-Vm for pgsql-jdbc@postgresql.org; Fri, 22 Jun 2018 12:46:18 +0000 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=github.com; q=dns/txt; s=mailo; t=1529671568; h=Content-Transfer-Encoding: Content-Type: Mime-Version: Subject: Message-ID: To: Reply-To: From: Date: Sender; bh=mKU2Vx4LQDCs+lwO0mpdWIwdaLrQfgfwLQOTM5lBQlA=; b=CU5xhwr+PeqR7R5S4Ij/MFTQ03RmefktTt/6FP/jYptiZhKG0ySz6HOhEsqVvZleVu7t9P9s EZMWwidvriItTsU/Nf3iBtJCOP+BsIgYcVXf1E7UDxvsrlcsUKf35QvPBS04eFYmavkPq70S FINKkHGSeNMesdwbnXXXSYULrtc= X-Mailgun-Sending-Ip: 166.78.71.131 X-Mailgun-Sid: WyI3ZTA2ZSIsICJwZ3NxbC1qZGJjQHBvc3RncmVzcWwub3JnIiwgIjQwZiJd Sender: sitnikov.vladimir=gmail.com@github.com Received: from github.com (Unknown [192.30.252.45]) by mxa.mailgun.org with ESMTP id 5b2cef8f.7efdc4d76210-smtp-out-n03; Fri, 22 Jun 2018 12:46:07 -0000 (UTC) Date: Fri, 22 Jun 2018 05:46:06 -0700 From: Vladimir Sitnikov Reply-To: Vladimir Sitnikov To: pgsql-jdbc@postgresql.org Message-ID: <5b2cef8eea8d6_27992ad3690dfc0c893a2@hookshot-fe-5a11256.cp1-iad.github.net.mail> Subject: [pgjdbc/pgjdbc] b7fd9f: fix: support query timeouts exceeding 2147483 seco... Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="--==_mimepart_5b2cef8eea31f_27992ad3690dfc0c89230"; charset=UTF-8 Content-Transfer-Encoding: 7bit Approved: 58GruLoMopuc List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ----==_mimepart_5b2cef8eea31f_27992ad3690dfc0c89230 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Branch: refs/heads/master Home: https://github.com/pgjdbc/pgjdbc Commit: b7fd9f3cef734b4c219e2f6bc6c19acf68b2990b https://github.com/pgjdbc/pgjdbc/commit/b7fd9f3cef734b4c219e2f6bc6c19acf68b2990b Author: Vladimir Sitnikov 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. ----==_mimepart_5b2cef8eea31f_27992ad3690dfc0c89230--