PostgreSQL JDBC Driver 42.2.2 Released

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

Commits by author

Dave Cramer (5):

Jorge Solorzano (1):

Pawel (1):

Selene Feigl (1):

  • fix: wrong data from Blob/Clob when mark/reset is used PR 971 61e1c300

Simon Stelling (1):

  • fix: handle Timestamp values with fractional seconds < 1 microsecond correctly in PreparedStatement arguments PR 1119 8ff2a617

Vladimir Sitnikov (14):

  • docs: reflect 42.2.1 release in readme.md 1a4256b9
  • chore: make sure TEST_CLIENTS performs regular tests as well aa676bb3
  • chore: remove unused variable lastKnownTime in ConnectionFactoryImpl 48b98971
  • fix: ArrayIndexOutOfBoundsException when using the same SQL for regular and updateable resultset PR 1123 45c32bc6
  • fix: support insert … on conflict…update for reWriteBatchedInserts=true PR 1130 1ca0c586
  • fix: allowEncodingChanges should allow set client_encoding=… PR 1125 af64ed2d
  • tests: UUID vs setString test PR 1133 5827858b
  • fix: UUID test for preferQueryMode=simple 44bb7f8d
  • fix: wrong results when a single statement is used with UNSPECIFIED types PR 1137 fcd1ea14
  • test: workaround DST issue in StatementTest#testDateFunctions af499625
  • docs: improve documentation and tests for server-side prepared statements PR 1135 4204f094
  • test: make testAlternatingBindType Java 6-compatible PR 1139 bcdd4273
  • fix: better support for RETURNING for WITH queries and queries with comments PR 1138 04e76661
  • chore: add contributor links to release script 2568d38e

bpd0018 (3):

chalda (1):

  • Adjust XAException return codes for better compatibility with XA specification PR 782 e5aab1cd

trtrmitya (1):

  • fix: use Locale. Category. DISPLAY (~lc_messages) when selecting resource bundle. PR 1115 0e9dfce4

Contributors to this release

We thank the following people for their contributions to this release.

Dave Cramer

Jorge Solorzano

Pawel

Selene Feigl

Simon Stelling

Vladimir Sitnikov

bpd0018

chalda

trtrmitya