The PGJDBC team has released pgjdbc 42.2.20
This is a small maintenance release
fix: isValid() timeout should not be blocked #1943 Cherry-picked #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.
Thanks to all that provided issue reports and fixes