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

14 July 2018

PostgreSQL JDBC Driver 42.2.4 Released

Notable changes

Changed

  • PreparedStatement.setNull(int parameterIndex, int t, String typeName) no longer ignores the typeName argument if it is not null PR 1160

Fixed

  • Fix treatment of SQL_TSI_YEAR, SQL_TSI_WEEK, SQL_TSI_MINUTE PR 1250
  • Map integrity constraint violation to XA_RBINTEGRITY instead of XAER_RMFAIL PR 1175 f2d1352c

See full changelog for 42.2.4


12 July 2018

PostgreSQL JDBC Driver 42.2.3 Released

Notable changes

Known issues

  • SQL_TSI_YEAR is treated as hour, SQL_TSI_WEEK is treated as hour, SQL_TSI_MINUTE is treated as minute (fixed in 42.2.4)

Changed

  • Reduce the severity of the error log messages when an exception is re-thrown. The error will be thrown to caller to be dealt with so no need to log at this verbosity by pgjdbc PR 1187
  • Deprecate Fastpath API PR 903
  • Support parenthesis in {oj ...} JDBC escape syntax PR 1204
  • ubenchmark module moved pgjdbc/benchmarks repository due to licensing issues PR 1215
  • Include section on how to submit a bug report in CONTRIBUTING.md PR 951

Fixed

  • getString for PGObject-based types returned "null" string instead of null PR 1154
  • Field metadata cache can be disabled via databaseMetadataCacheFields=0 PR 1052
  • Properly encode special symbols in passwords in BaseDataSource PR 1201
  • Adjust date, hour, minute, second when rounding nanosecond part of a timestamp PR 1212
  • perf: reduce memory allocations in query cache PR 1227
  • perf: reduce memory allocations in SQL parser PR 1230, PR 1233
  • Encode URL parameters in BaseDataSource PR 1201
  • Improve JavaDoc formatting PR 1236

See full changelog for 42.2.3


15 March 2018

PostgreSQL JDBC Driver 42.2.2 Released

Notable changes

Added

  • Documentation on server-side prepared statements PR 1135

Fixed

  • Avoid failure for insert ... on conflict...update for reWriteBatchedInserts=true case PR 1130
  • fix: allowEncodingChanges should allow set client_encoding=... PR 1125
  • Wrong data from Blob/Clob when mark/reset is used PR 971
  • Adjust XAException return codes for better compatibility with XA specification PR 782
  • Wrong results when single statement is used with different bind typesPR 1137
  • Support generated keys for WITH queries that miss RETURNING PR 1138
  • Support generated keys when INSERT/UPDATE/DELETE keyword is followed by a comment PR 1138

See full changelog for 42.2.2




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

Latest Releases

42.2.4 · 14 Jul 2018 · Notes
42.2.3 · 12 Jul 2018 · Notes
42.2.2 · 15 Mar 2018 · Notes
42.2.1 · 25 Jan 2018 · Notes
42.2.0 · 17 Jan 2018 · Notes

Support Us

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


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