pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hugo Abreu <noreply@github.com>
To: pgsql-jdbc@lists.postgresql.org
Subject: [pgjdbc/pgjdbc] 6cfa65: isValid() timeout should not be blocked (#1943) (#...
Date: Thu, 25 Feb 2021 10:18:03 -0800
Message-ID: <pgjdbc/pgjdbc/push/refs/heads/release/42.2/1b6957-6cfa65@github.com> (raw)

  Branch: refs/heads/release/42.2
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: 6cfa657d9ace053a21d7b31a2c9be1cc194f2a9f
      https://github.com/pgjdbc/pgjdbc/commit/6cfa657d9ace053a21d7b31a2c9be1cc194f2a9f
  Author: Hugo Abreu <6619758+hugomiguelabreu@users.noreply.github.com>
  Date:   2021-02-25 (Thu, 25 Feb 2021)

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

  Log Message:
  -----------
  isValid() timeout should not be blocked (#1943) (#2076)

The usage of `setQueryTimeout();` with the same value as the `setNetworkTimeout();` is blocking the current transaction timeout.
The timeouts are blocking each other with this approach.







Message-ID: <pgjdbc/pgjdbc/push/refs/heads/release/42.2/1b6957-6cfa65@github.com>
Permalink:  ../pgjdbc%2Fpgjdbc%2Fpush%2Frefs%2Fheads%2Frelease%2F42.2%2F1b6957-6cfa65@github.com/
Also on:    postgresql.org/message-id/pgjdbc/pgjdbc/push/refs/heads/release/42.2/1b6957-6cfa65@github.com

 · 

reply

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] 6cfa65: isValid() timeout should not be blocked (#1943) (#...
  In-Reply-To: <pgjdbc/pgjdbc/push/refs/heads/release/42.2/1b6957-6cfa65@github.com>
  References: <pgjdbc/pgjdbc/push/refs/heads/release/42.2/1b6957-6cfa65@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