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

15 October 2020

PostgreSQL JDBC Driver 42.2.18 Released

Notable changes


  • 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

09 October 2020

PostgreSQL JDBC Driver 42.2.17 Released

Notable changes


  • 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


  • Add smallserial metadata [PR #899(


  • Avoid NullPointerException when receiving PGbox, PGcircle, PGline, PGlseg, PGpath, PGpoint, PGpolygon, and PGmoney PR 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

See full changelog for 42.2.17

20 August 2020

PostgreSQL JDBC Driver 42.2.16 Released

Notable changes

Known issues

  • The driver returns enum and jsonb arrays elements are returned as PGobject instances (fixed in 42.2.17)


  • Arrays sent in binary format are now sent as 1 based. This was a regression for multi-dimensional arrays as well as text/varchar, oid and bytea arrays. Since 42.2.0 single dimensional arrays were stored 0 based. They are now sent 1 based which is the SQL standard, and the default for Postgres when sent as strings such as '{1,2,3}'. Fixes issue 1860 in PR 1863.

See full changelog for 42.2.16

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

Latest Releases

42.2.18 · 15 Oct 2020 · Notes
42.2.17 · 09 Oct 2020 · Notes
42.2.16 · 20 Aug 2020 · Notes
42.2.15 · 14 Aug 2020 · Notes
42.2.14 · 10 Jun 2020 · Notes

Support Us

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

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