Notable Changes
Known issues
- SQL_TSI_YEAR is treated as hour, SQL_TSI_WEEK is treated as hour, SQL_TSI_MINUTE is treated as second (fixed in 42.2.4)
Changed
- Reduce the severity of the error log messages when an exception is re-thrown. The error will be thrown to caller to be dealt with so no need to log at this verbosity by pgjdbc PR 1187
- Deprecate Fastpath API PR 903
- Support parenthesis in {oj …} JDBC escape syntax PR 1204
- ubenchmark module moved pgjdbc/benchmarks repository due to licensing issues PR 1215
- Include section on how to submit a bug report in CONTRIBUTING.md PR 951
Fixed
- getString for PGObject-based types returned “null” string instead of null PR 1154
- Field metadata cache can be disabled via databaseMetadataCacheFields=0 PR 1052
- Properly encode special symbols in passwords in BaseDataSource PR 1201
- Adjust date, hour, minute, second when rounding nanosecond part of a timestamp PR 1212
- perf: reduce memory allocations in query cache PR 1227
- perf: reduce memory allocations in SQL parser PR 1230, PR 1233
- Encode URL parameters in BaseDataSource PR 1201
- Improve JavaDoc formatting PR 1236
AlBundy33 (1):
AlexElin (3):
- refactor: deprecate Fastpath API PR 903 f8e21b63
- refactor: migrate MultiHostsConnectionTest to JUnit4 PR 886 17a4d6a5
- refactor: simplify PgConnection.java PR 1047 ba360f73
Dave Cramer (3):
- fixed spelling mistake in PostgreSQL PR 1202 b92bd65a
- docs: improve javadocs in PgResultSetMetaData PR 792 825c0924
- minor language updates PR 1241 e19ee7ae
Hari Babu Kommi (2):
- spelling mistake correction PR 1181 e88abd79
- fix: set the loggerName in ConnectionFactoryImpl.log PR 1188 f78a639d
Jesper Pedersen (1):
Jorge Solorzano (6):
- fix: error on Travis build head PR 1186 354d2857
- test: add coverage for extendedCacheEverything PR 1062 f4d503c2
- Update after_n_builds to 10 PR 1193 2f9fed45
- test: drop OpenJ9 CI tests PR 1196 9b6506df
- fix: logger should be generally quiet PR 1187 30f06e14
- docs: improve CONTRIBUTING.md PR 951 38c8845e
KimBisgaardDmi (1):
Marc Slemko (1):
Michele Mancioppi (1):
Pavel Raiskup (1):
- packaging: fix RPM build requirements 6bb72e69
Sidi Mohamed EL AATIFI (1):
Stephen Nelson (2):
- chore: add missing javadoc tags to avoid warnings PR 1164 e9ced455
- docs: correct the Javadoc and enforce with Checkstyle PR 1236 08631ccd
Vladimir Sitnikov (19):
- reflect 42.2.2 release in readme.md b1581e99
- fix: avoid NPE in PgConnection.finalize PR 1206 03a1441b
- chore: update gettext plugin, sort po files eb5c8fdd
- chore: sort messages in *.po files 10fc2fbb
- chore: remove obsolete translations ed1eab9e
- doc: add Russian translation to “No IOException expected…” eaa0acad
- fix: adjust date, hour, minute, second when rounding timestamp PR 1212 4dc98be8
- chore: remove ubenchmark module due to licensing issues PR 1215 88ec13bb
- chore: remove ubenchmark from packaging/rpm as well a699965a
- fix: support query timeouts exceeding 2147483 seconds (~25 days) PR 1224 b7fd9f3c
- perf: improve performance of replacing JDBC {…} escapes PR 1230 177f63be
- docs: use union merge strategy for CHANGELOG PR 1107 70189203
- chore: use 5432 as default port when running code from IDE 5dc03f63
- docs: use “PR 42” references instead of “PRPR 42” in the changelog (#1239) f4ae60ec
- test: close of replication connection has not been fixed at backend side, so disable the test till 12.1 PR 1243 481460a3
- perf: avoid string allocation for oid/rows parsing in command tag PR 1232 da831de5
- docs: prepare changelog for 42.2.3 release c5f5d8d2
- chore: fetch contributors’ URL via GitHub API d7297984
- docs: update site for 42.2.3
bazzargh (1):
benbenw (2):
- refactor: remove obsolete outParmBeforeFunc PR 1234 71028532
- perf: improve parsing performance of JDBC-style { call …} calls PR 1233 435e2f79
benoit (3):
- perf: reduce memory allocations when JDBC escapes ({fn …}) are used 2a1e0910
- refactor: use singleArgumentFunctionCall in EscapedFunctions 191d84eb
- perf: avoid BaseQueryKey.toString in CachedQuery.getSize PR 1227 669fc31e
bpd0018 (1):
Étienne BERSAC (1):
Contributors to this release
We thank the following people for their contributions to this release.