PostgreSQL JDBC Driver 42.7.9 Released

Notable changes

Added

  • feat: query timeout property PR #3705
  • feat: Add PEMKeyManager to handle PEM based certs and keys PR #3700

Changed

  • perf: optimize PGInterval.getValue() by replacing String.format with StringBuilder
  • chore: drop SpotBugs as we do not seem to use it
  • doc: update property quoteReturningIdentifiers default value PR #3847
  • security: Use a static method forName to load all user supplied classes. Use the Class.forName 3 parameter method and do not initilize it unless it is a subclass of the expected class

Fixed

  • fix: incorrect pg_stat_replication.reply_time calculation PR #3906
  • fix: close temporary lob descriptors that are used internally in PreparedStatement#setBlob
  • fix: PGXAConnection.prepare(Xid) should return XA_RDONLY if the connection is read only PR #3897
  • fix: make all Calendar instances proleptic Gregorian PR #3837
  • fix: Simplify concurrency guards on QueryExecutorBase#transaction and QueryExecutorBase#standardConformingStrings PR #3897
  • fix: avoid memory leaks in Java <= 21 caused by Thread.inheritedAccessControlContext PR #3886
  • fix: Issue #3784 pgjdbc can’t decode numeric arrays containing special numbers like NaN PR #3838
  • fix: use ssl_is_used() to check for ssl connection PR #3867
  • fix: the classloader is nullable PR #3907
  • deps: Update dependency org.junit:junit-bom to v5.14.1
  • deps: Update dependency org.apache.bcel:bcel to v6.11.0
  • deps: Update dependency org.mockito:mockito-bom to v5.20.0
  • deps: Update dependency net.bytebuddy:byte-buddy-parent to v1.18.2
  • deps: Update logback to v1.5.21
  • deps: Update dependency jacoco to v0.8.14
  • deps: Update dependency it.unimi.dsi:fastutil to v8.5.18
  • deps: Update checkerframework

Commits by author

Vladimir Sitnikov (9 commits)

Dave Cramer (7 commits)

Atsushi Torikoshi (1 commit)

Manon van Tilburg (1 commit)

Harinath Kanchu (1 commit)

shenfeng (1 commit)

Sanne Grinovero (2 commits)

Sodekim (1 commit)

Christian Fredriksson (1 commit)