Navigation :
PostgreSQL JDBC Driver 42.7.8 Released
Notable changes
Added
- feat: Add configurable boolean-to-numeric conversion for ResultSet getters PR #3796
Changed
- perf: remove QUERY_ONESHOT flag when calling getMetaData PR #3783
- perf: use
BufferedInputStream with FileInputStream PR #3750
- perf: enable server-prepared statements for DatabaseMetaData
Fixed
-
fix: avoid IllegalStateException: Timer already cancelled when StatementCancelTimerTask.run throws a runtime error PR #3778
-
fix: avoid NullPointerException when cancelling a query if cancel key is not known yet
-
fix: Change “PST” timezone in TimestampTest to “Pacific Standard Time” PR #3774
-
fix: traverse the current dimension to get the correct pos in PgArray#calcRemainingDataLength PR #3746
-
fix: make sure getImportedExportedKeys returns columns in consistent order
-
fix: Add “SELF_REFERENCING_COL_NAME” field to getTables' ResultSetMetaData to fix NullPointerException PR #3660
-
fix: unable to open replication connection to servers < 12
-
fix: avoid closing statement caused by driver’s internal ResultSet#close()
-
fix: return empty metadata for empty catalog names as it was before
-
fix: Incorrect class comparison in PGXmlFactoryFactory validation
-
deps: Update dependency om.ongres.scram:scram-client to 3.2
Commits by author
Vladimir Sitnikov (46 commits)
- fix: avoid IllegalStateException: Timer already cancelled when StatementCancelTimerTask.run throws a runtime error
- feat: use PreparedStatement for DatabaseMetaData.getCrossReference, getImportedKeys, getExportedKeys
- perf: enable server-prepared statements for DatabaseMetaData
- fix: avoid NullPointerException when cancelling a query if cancel key is not known yet
- fix: avoid closing statement caused by driver’s internal ResultSet#close()
- fix: make sure getImportedExportedKeys returns columns in consistent order
- fix: return empty metadata for empty catalog names as it was before
- fix: unable to open replication connection to servers < 12
- fix: remove excessive ReentrantLock.lock usages
- Various infrastructure, testing, and code quality improvements
Dave Cramer (2 commits)
Vivek Wassan (1 commit)
shenfeng (1 commit)
sly461 (1 commit)
Sophiah Ho (1 commit)
Simon Greatrix (1 commit)
Robert von Burg (1 commit)
- fix: Incorrect class comparison in PGXmlFactoryFactory validation
Mohit-Attry (1 commit)
Joshua Gardner (1 commit)
Atsushi Torikoshi (1 commit)
- Fix a typo in PGReplicationStream.java
Aleksander Lantsov (1 commit)
Jorge Solorzano (1 commit)