Skip site navigation (1) Skip section navigation (2)

19 April 2021

PostgreSQL JDBC Driver 42.2.20 Released

Notable changes

Changed

Added

Fixed

  • fix: Partitioned indexes were not found fixes #2078 PR #2087

  • 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.

  • DatabaseMetaData.getTables returns columns in UPPER case as per the spec PR #2092 fixes Issue #830


See full changelog for 42.2.20


18 February 2021

PostgreSQL JDBC Driver 42.2.19 Released

Notable changes

Changed

  • Now the driver uses SASLprep normalization for SCRAM authentication fixing some issues with spaces in passwords.
  • Fix: Actually close unclosed results. Previously was not closing the first unclosed result fixes #1903 (#1905) There is a small behaviour change here as a result. If closeOnCompletion is called on an existing statement and the statement is executed a second time it will fail.

Added

  • Verify code via forbidden-apis (jdk-internal and jdk-non-portable signatures) PR #2012

Fixed

  • Fix: properly set cancel socket timeout (#2044)
  • Fix "Required class information missing" when old org.jboss:jandex parses pgjdbc classes [issue 2008][https://github.com/pgjdbc/pgjdbc/issues/2008]
  • Fix PGCopyInputStream returning the last row twice when reading with CopyOut API [issue 2016][https://github.com/pgjdbc/pgjdbc/issues/2016]
  • Fix Connnection.isValid() to not wait longer than existing network timeout PR #2040
  • Fix Passwords with spaces (ASCII and non-ASCII) now work with SCRAM authentication (driver now uses SASLprep normalization) PR #2052
  • Fix DatabaseMetaData.getTablePrivileges() to include views, materialized views, and foreign tables PR #2049

See full changelog for 42.2.19


15 October 2020

PostgreSQL JDBC Driver 42.2.18 Released

Notable changes

Fixed

  • Unfortunately changing the default of gssEncMode to ALLOW was not enough. The GSSEncMode Enum was not changed as well fixed in #1920

See full changelog for 42.2.18




The PostgreSQL JDBC group would like to thank YourKit
for graciously providing licenses to the project.

Latest Releases

42.2.20 · 19 Apr 2021 · Notes
42.2.19 · 18 Feb 2021 · Notes
42.2.18 · 15 Oct 2020 · Notes
42.2.17 · 09 Oct 2020 · Notes
42.2.16 · 20 Aug 2020 · Notes

Support Us

PostgreSQL is free. Please support our work by making a donation.


Privacy Policy | About PostgreSQL
Copyright © 1996-2021 The PostgreSQL Global Development Group