PostgreSQL JDBC Driver 42.7.4 Released

Notable changes

Added

  • chore: SCRAM dependency to 3.1 and support channel binding PR #3188
  • chore: Add PostgreSQL 15, 16, and 17beta1 to CI tests PR #3299
  • test: Update to 17beta3 PR #3308
  • chore: Implement direct SSL ALPN connections PR #3252
  • translation: Add Korean translation file PR #3276

Fixed

  • fix: PgInterval ignores case for represented interval string PR #3344
  • perf: Avoid extra copies when receiving int4 and int2 in PGStream PR #3295
  • fix: Add support for Infinity::numeric values in ResultSet.getObject PR #3304
  • fix: Ensure order of results for getDouble PR #3301
  • perf: Replace BufferedOutputStream with unsynchronized PgBufferedOutputStream, allow configuring different Java and SO_SNDBUF buffer sizes PR #3248
  • fix: Fix SSL tests PR #3260
  • fix: Support bytea in preferQueryMode=simple PR #3243
  • fix: Fix #3234 - Return -1 as update count for stored procedure calls PR #3235
  • fix: Fix #3224 - conversion for TIME ‘24:00’ to LocalTime breaks in binary-mode PR #3225
  • perf: Speed up getDate by parsing bytes instead of String PR #3141
  • fix: support PreparedStatement.setBlob(1, Blob) and PreparedStatement.setClob(1, Clob) for lobs that return -1 for length PR #3136
  • fix: Validates resultset Params in PGStatement constructor. uses assertThro… PR #3171
  • fix: Validates resultset parameters PR #3167
  • docs: Replace greater to with greater than PR #3315
  • docs: Clarify binaryTransfer and prepareThreshold PR #3338
  • docs: use.md, typo PR #3314
  • test: Use docker v2 which changes docker-compose to docker compose #3339
  • refactor: Merge PgPreparedStatement#setBinaryStream int and long methods PR #3165
  • test: Test both binaryMode=true,false when creating connections in DatabaseMetaDataTest PR #3231
  • docs: Fixed typos in all source code and documentations PR #3242
  • chore: Remove self-hosted runner PR #3227
  • docs: Add cancelSignalTimeout in README PR #3190
  • docs: Document READ_ONLY_MODE in README PR #3175
  • test: Test for +/- infinity double values PR #3294
  • test: Switch localhost and auth-test around for test-gss PR #3343
    • fix: remove preDescribe from internalExecuteBatch PR 2883

Deprecated

  • test: Deprecate all PostgreSQL versions older than 9.1 PR #3335

Commits by author

Alan (1): Document READ_ONLY_MODE in README PR 3175

Chris [SpareParts365] (1): docs: clarify binaryTransfer and prepareThreshold PR 3338

Christian Beikov (1): Fix PR 3234 - Return -1 as update count for stored procedure calls (#3235)

Dave Cramer (13): bump version to 42.7.4 PR 3164 correct download for jre7 PR 3198 Speed up getDate by parsing bytes instead of String PR 3141 remove self-hosted runner PR 3227 Fix SSL tests PR 3260 Test for +/- infinity double values PR 3294 chore: add PostgreSQL 15, 16, and 17beta1 to CI tests PR 3299 Ensure order of results for getDouble PR 3301 chore: implement direct SSL ALPN connections PR 3252 use docker v2 which changes docker-compose to docker compose PR 3339 Update to 17beta3 PR 3308 switch localhost and auth-test around PR 3343

Guoyu Feng (2): merge two setBinaryStream methodsPR 3165 Fix the bug with incorrect parameters in the setNull method.PR 3165

Hans Ginzel (1): Update use.md, typo PR 3314

Japin Li (1): Replace greater to with greater than PR 3315

Jorge Solórzano (3): Update SCRAM dependency to 3.1 and support channel binding PR 3188 Deprecate all PostgreSQL versions older than 9.1 PR 3335

Philipp Menke (1): Fix PR 3224 - conversion for TIME ‘24:00’ to LocalTime breaks in binary-mode (#3225)

SheerazMajeedM (2): Fixed typos in all source code and documentations PR 3242 Add translation file PR 3276

Vishal Raj (4): validates resultset parameters PR 3167 bug report: PgInterval ignores case for represented interval string PR 3344

Vladimir Sitnikov (9): fix: support PreparedStatement.setBlob(1, Blob) and PreparedStatement.setClob(1, Clob) for lobs that return -1 for length PR 3136 test: test both binaryMode=true,false when creating connections in DatabaseMetaDataTest PR 3231 fix: support bytea in preferQueryMode=simplePR 3243 perf: replace BufferedOutputStream with unsynchronized PgBufferedOutputStream, increase the send buffer size PR 3248 perf: remove PGStream.streamBuffer and reuse PgBufferedOutputStream’s buffer when sending data from InputStream PR 3248 feat: add maxSendBufferSize connection property PR 3248 test: improve tests for writeZeros PR 3248 perf: optimize Set which are used for checking if oid should be transferred with binary or text PR #3249 fix: remove preDescribe from internalExecuteBatch PR 2883

imran zaheer (1): Docs: Add cancelSignalTimeout in README PR 3190

mmm444 (1): Add support for Infinity::numeric values in ResultSet.getObject PR 3304