PostgreSQL JDBC Driver 42.2.24 Released

Fixed

  • Fix startup regressions caused by PR #1949. Instead of checking all types by OID, we can return types for well known types PR #2257
  • Backport PR #2148 Avoid leaking server error details through BatchUpdateException when logServerErrorDetail PR #2254
  • Backpatch PR #2247 QueryExecutorImpl.receiveFastpathResult did not properly handle ParameterStatus messages. This in turn caused failures for some LargeObjectManager operations. Closes Issue #2237 Fixed by adding the missing code path, based on the existing handling in processResults. PR #2253
  • Backpatch PR #2242 PgDatabaseMetaData.getIndexInfo() cast operands to smallint PR#2253 It is possible to break method PgDatabaseMetaData.getIndexInfo() by adding certain custom operators. This PR fixes it.
  • Backpatching PR #2251 into 42.2 Clean up open connections to fix test failures on omni and appveyor use older syntax for COMMENT ON FUNCTION with explicit no-arg parameter parentheses as it is required on server versions before v10. Handle cleanup of connection creation in StatementTest, handle cleanup of privileged connection in DatabaseMetaDataTest
  • Backpatch PR #2245 fixes case where duplicate tables are returned if there are duplicate descriptions oids are not guaranteed to be unique in the catalog PR #2248
  • Change to updatable result set to use correctly primary or unique keys PR #2228 fixes issues introduced in PR #2199 closes Issue #2196
  • Fix NPE calling getTypeInfo when alias is null PR #2220
  • Backpatch PR #2217 to fix Issue #2215. OIDs are unsigned integers and were not being handled correctly when they exceeded the size of signed integers

Commits by author

Dave Cramer (7):

  • fix: backpatch PRPR 2217 to fix issue #2215. (#2218) be1d4aa0
  • fix: NPE calling getTypeInfo when alias is null PR 2220 77c7d94e
  • remove old changelog information from post. Incorrectly added by development script that is clearly still in development PR 2240 a70834e8
  • backpatch prPR 2245 fixes case where duplicate tables are returned if there are duplicate descriptions oids are not guaranteed to be unique in the catalog (#2248) f4928cee
  • backpatch PRPR 2247 (#2249) 7bf89c8b
  • fix startup regressions caused by PR PR 1949. Instead of checking all types by OID, we can return types for well known types (#2257) 88cfccab
  • Bump version to 42.2.24 and update changelog 233c5181

Jens Peters (1):

Juha Syrjälä (1):

  • PgDatabaseMetaData.getIndexInfo() cast operands to smallint PR 2242 (#2253) 33af6a78

Sehrope Sarkuni (3):

  • test: Fix database metadata to handle older versions for function comment bb1f7285
  • test: Handle cleanup of connection creation in StatementTest 1c5f5271
  • test: Handle cleanup of privileged connection in DatabaseMetaDataTest 5c6041b4

chalmagr (1):

  • Fix updateable result set when there are primary keys and unique keys PR 2228 c596587a

Contributors to this release

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

chalmagr

Dave Cramer

Jens Peters

Juha Syrjälä

Sehrope Sarkuni