PostgreSQL JDBC Driver 42.2.17 Released

Changed

  • Change default of gssEncMode to ALLOW. PostgreSQL can deal with PREFER but there are cloud providers that did not implement the protocol properly. Libpq gets around this by checking for a GSS credential cache before attempting the connection. This is possible in JDK 8 and up, but not JDK6, or JDK7 fixes Issue #1868 PR #1913

Added

Fixed

  • Avoid NullPointerException when receiving PGbox, PGcircle, PGline, PGlseg, PGpath, PGpoint, PGpolygon, and PGmoney [PR 1873] (https://github.com/pgjdbc/pgjdbc/pull/1873)..
  • The driver returns enum and jsonb arrays elements as String objects (like in 42.2.14 and earlier versions) PR 1879.
  • PgTokenizer was ignoring last empty token PR #1882
  • Remove osgi from karaf fixes Issue #1891 PR #1902

Commits by author

Dave Cramer (5):

  • fix: PgTokenizer was ignoring last empty token PR 1882 a6e83342
  • fix checkstyle PR 1888 70b02c55
  • fix: handle smallserial correctly fixes PR 1897 (#1899) d4a4b2d6
  • fix:remove osgi from karaf fixes Issue PR 1891 (#1902) 0c2858e9
  • Change default of gssEncMode to ALLOW. PostgreSQL can deal with PREFER but there are cloud providers that did not implement the protocol properly 14c4173c

Jorge Solorzano (1):

Vladimir Sitnikov (8):

  • fix: handle nulls when the following clasess are used: PGbox, PGcircle, PGline, PGlseg, PGpath, PGpoint, PGpolygon, and PGmoney c745f4e5
  • chore: fix compileJava7 and compileJava6 0308ffca
  • chore: run GitHub actions when branch name has slash 433817d6
  • chore: seed build cache only when credentials exist (==skip on forks) eec708a8
  • test: add GitHub CI for testing source distribution 44d0923f
  • test: add tests for enum, json, and jsonb array 1bec4022
  • fix: make enum, json, and jsonb array result classes to be the same as 42.2.14 and earlier PR 1876 41855018
  • fix: avoid removal type annotations on “this” so the source archive is buildable 832bf21c

Contributors to this release

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

Dave Cramer

Jorge Solorzano

Vladimir Sitnikov