You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+35-20Lines changed: 35 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,13 +9,32 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
9
9
### Added
10
10
11
11
### Fixed
12
-
- Fix "Avoid leaking server error details through BatchUpdateException when logServerErrorDetail=false" [PR #2148](https://github.com/pgjdbc/pgjdbc/pull/2148) fixes Issue #2147
13
12
14
-
[42.2.23] (2021-07-06 09:17:32 -0400)
15
13
14
+
## [42.2.24] (2021-09-23)
15
+
### Fixed
16
+
- Fix startup regressions caused by [PR #1949](https://github.com/pgjdbc/pgjdbc/pull/1949). Instead of checking all types by OID, we can return types for well known types [PR #2257](https://github.com/pgjdbc/pgjdbc/pull/2257)
QueryExecutorImpl.receiveFastpathResult did not properly handle ParameterStatus messages.
21
+
This in turn caused failures for some LargeObjectManager operations. Closes [Issue #2237](https://github.com/pgjdbc/pgjdbc/issues/2237)
22
+
Fixed by adding the missing code path, based on the existing handling in processResults. [PR #2253](https://github.com/pgjdbc/pgjdbc/pull/2253)
23
+
- Backpatch [PR #2242](https://github.com/pgjdbc/pgjdbc/pull/2242) PgDatabaseMetaData.getIndexInfo() cast operands to smallint [PR#2253](https://github.com/pgjdbc/pgjdbc/pull/2253)
24
+
It is possible to break method PgDatabaseMetaData.getIndexInfo() by adding certain custom operators. This PR fixes it.
25
+
- Backpatching [PR #2251](https://github.com/pgjdbc/pgjdbc/pull/2251) into 42.2 Clean up open connections to fix test failures on omni and appveyor
26
+
use older syntax for COMMENT ON FUNCTION with explicit no-arg parameter parentheses as it is required on server versions before v10.
27
+
Handle cleanup of connection creation in StatementTest, handle cleanup of privileged connection in DatabaseMetaDataTest
28
+
- Backpatch [PR #2245](https://github.com/pgjdbc/pgjdbc/pull/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](https://github.com/pgjdbc/pgjdbc/pull/2248)
29
+
- Change to updatable result set to use correctly primary or unique keys [PR #2228](https://github.com/pgjdbc/pgjdbc/pull/2228)
30
+
fixes issues introduced in [PR #2199](https://github.com/pgjdbc/pgjdbc/pull/2199) closes [Issue #2196](https://github.com/pgjdbc/pgjdbc/issues/2196)
31
+
- Fix NPE calling getTypeInfo when alias is null [PR #2220](https://github.com/pgjdbc/pgjdbc/pull/2220)
32
+
- Backpatch [PR #2217](https://github.com/pgjdbc/pgjdbc/pull/2217) to fix [Issue #2215](https://github.com/pgjdbc/pgjdbc/issues/2215). OIDs are unsigned integers and were not being handled correctly when they exceeded the size of signed integers
33
+
34
+
35
+
## [42.2.23] (2021-07-06)
16
36
### Changed
17
37
- renewed the SSL keys for testing
18
-
### Added
19
38
20
39
### Fixed
21
40
- getColumnPrecision for Numeric when scale and precision not specified now returns 0 instead of 131089 fixes: Issue #2188
@@ -24,35 +43,27 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
24
43
- Rework sql type gathering to use OID instead of typname.
25
44
This does not have the issue of name shadowing / qual-names, and has the added benefit of fixing #1948.
26
45
27
-
[42.2.22] (2021-06-16 10:09:33 -0400)
28
-
### Changed
29
-
30
-
### Added
31
46
47
+
## [42.2.22] (2021-06-16)
32
48
### Fixed
33
49
- Regression caused by https://github.com/pgjdbc/pgjdbc/commit/4fa2d5bc1ed8c0086a3a197fc1c28f7173d53cac. Unfortunately
34
50
due to the blocking nature of the driver and issues with seeing if there is a byte available on a blocking stream when it is encrypted
35
51
this introduces unacceptable delays in returning from peek(). At this time there is no simple solution to this.
36
-
37
-
[42.2.21] (2021-06-10 10:08:21 -0400)
52
+
53
+
54
+
## [42.2.21] (2021-06-10)
38
55
### Changed
39
56
- update docs to reflect deprecated DataSource API setServerName backpatch [PR#2057](https://github.com/pgjdbc/pgjdbc/pull/2057)[PR #2105](https://github.com/pgjdbc/pgjdbc/pull/2105)
40
57
41
-
### Added
42
-
43
58
### Fixed
44
59
- make sure the table has defined primary keys when using updateable resultset backpatch [PR#2101](https://github.com/pgjdbc/pgjdbc/pull/2101) fixes [Issue 1975](https://github.com/pgjdbc/pgjdbc/issues/1975)[PR #2106](https://github.com/pgjdbc/pgjdbc/pull/2106)
45
60
- backpatch [PR #2143](https://github.com/pgjdbc/pgjdbc/pull/2143) read notifies or errors that come in asynchronously after the ready for query [PR #2168](https://github.com/pgjdbc/pgjdbc/pull/2168)
- Fix database metadata getFunctions() and getProcedures() to ignore search_path when no schema pattern is specified. backpatch [PR #2174](https://github.com/pgjdbc/pgjdbc/pull/2174)
- Partitioned indexes were not found fixes [#2078](https://github.com/pgjdbc/pgjdbc/issues/2078) PR [#2087](https://github.com/pgjdbc/pgjdbc/pull/2087)
58
69
@@ -61,8 +72,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
61
72
The timeouts are blocking each other with this approach.
62
73
- DatabaseMetaData.getTables returns columns in UPPER case as per the spec [PR #2092](https://github.com/pgjdbc/pgjdbc/pull/2092) fixes [Issue #830](https://github.com/pgjdbc/pgjdbc/issues/830)
63
74
64
-
## [42.2.19] (2021-02-18)
65
75
76
+
## [42.2.19] (2021-02-18)
66
77
**Notable Changes**
67
78
- Now the driver uses SASLprep normalization for SCRAM authentication fixing some issues with spaces in passwords.
68
79
- If closeOnCompletion is called on an existing statement and the statement
@@ -89,12 +100,14 @@ is executed a second time it will fail.
89
100
- Fix Resolve ParseError in PGtokenizer fixes #2050
90
101
- Fix return metadata privileges for views and foreign tables
91
102
92
-
## [42.2.18]
103
+
104
+
## [42.2.18] (2020-10-15)
93
105
### Fixed
94
106
- Unfortunately changing the default of gssEncMode to ALLOW was not enough. The GSSEncMode Enum was not changed as well
95
107
fixed in #1920
96
108
97
-
## [42.2.17]
109
+
110
+
## [42.2.17] (2020-10-09)
98
111
### Changed
99
112
- 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](https://github.com/pgjdbc/pgjdbc/pull/1913)
100
113
@@ -107,6 +120,7 @@ fixed in #1920
107
120
- PgTokenizer was ignoring last empty token [PR #1882](https://github.com/pgjdbc/pgjdbc/pull/1882)
108
121
- Remove osgi from karaf fixes Issue #1891[PR #1902](https://github.com/pgjdbc/pgjdbc/pull/1902)
109
122
123
+
110
124
## [42.2.16] (2020-08-20)
111
125
### Known issues
112
126
- The driver returns enum and jsonb arrays elements are returned as PGobject instances (fixed in 42.2.17)
@@ -509,5 +523,6 @@ thrown to caller to be dealt with so no need to log at this verbosity by pgjdbc
- Fix startup regressions caused by [PR #1949](https://github.com/pgjdbc/pgjdbc/pull/1949). Instead of checking all types by OID, we can return types for well known types [PR #2257](https://github.com/pgjdbc/pgjdbc/pull/2257)
QueryExecutorImpl.receiveFastpathResult did not properly handle ParameterStatus messages.
15
+
This in turn caused failures for some LargeObjectManager operations. Closes [Issue #2237](https://github.com/pgjdbc/pgjdbc/issues/2237)
16
+
Fixed by adding the missing code path, based on the existing handling in processResults. [PR #2253](https://github.com/pgjdbc/pgjdbc/pull/2253)
17
+
- Backpatch [PR #2242](https://github.com/pgjdbc/pgjdbc/pull/2242) PgDatabaseMetaData.getIndexInfo() cast operands to smallint [PR#2253](https://github.com/pgjdbc/pgjdbc/pull/2253)
18
+
It is possible to break method PgDatabaseMetaData.getIndexInfo() by adding certain custom operators. This PR fixes it.
19
+
- Backpatching [PR #2251](https://github.com/pgjdbc/pgjdbc/pull/2251) into 42.2 Clean up open connections to fix test failures on omni and appveyor
20
+
use older syntax for COMMENT ON FUNCTION with explicit no-arg parameter parentheses as it is required on server versions before v10.
21
+
Handle cleanup of connection creation in StatementTest, handle cleanup of privileged connection in DatabaseMetaDataTest
22
+
- Backpatch [PR #2245](https://github.com/pgjdbc/pgjdbc/pull/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](https://github.com/pgjdbc/pgjdbc/pull/2248)
23
+
- Change to updatable result set to use correctly primary or unique keys [PR #2228](https://github.com/pgjdbc/pgjdbc/pull/2228)
24
+
fixes issues introduced in [PR #2199](https://github.com/pgjdbc/pgjdbc/pull/2199) closes [Issue #2196](https://github.com/pgjdbc/pgjdbc/issues/2196)
25
+
- Fix NPE calling getTypeInfo when alias is null [PR #2220](https://github.com/pgjdbc/pgjdbc/pull/2220)
26
+
- Backpatch [PR #2217](https://github.com/pgjdbc/pgjdbc/pull/2217) to fix [Issue #2215](https://github.com/pgjdbc/pgjdbc/issues/2215). OIDs are unsigned integers and were not being handled correctly when they exceeded the size of signed integers
* fix: NPE calling getTypeInfo when alias is null [PR 2220](https://github.com/pgjdbc/pgjdbc/pull/2220)[77c7d94e](https://github.com/pgjdbc/pgjdbc/commit/77c7d94e05003db7bece1d7baeb059272e3bcda2)
37
+
* remove old changelog information from post. Incorrectly added by development script that is clearly still in development [PR 2240](https://github.com/pgjdbc/pgjdbc/pull/2240)[a70834e8](https://github.com/pgjdbc/pgjdbc/commit/a70834e8c5c9c2c3ab7024c5c605d3a978c00272)
38
+
* backpatch pr[PR 2245](https://github.com/pgjdbc/pgjdbc/pull/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](https://github.com/pgjdbc/pgjdbc/commit/f4928cee038543202e0f09a77348f249155fec12)
* fix startup regressions caused by PR [PR 1949](https://github.com/pgjdbc/pgjdbc/pull/1949). Instead of checking all types by OID, we can return types for well known types (#2257) [88cfccab](https://github.com/pgjdbc/pgjdbc/commit/88cfccab1ce41c8fb9f238d2ff09eba969c41a02)
41
+
* Bump version to 42.2.24 and update changelog [233c5181](https://github.com/pgjdbc/pgjdbc/commit/233c51810dc34d34ebb7efcd4d4b960d626b8c53)
42
+
43
+
Jens Peters (1):
44
+
45
+
* Backport PR2148 into 42.2.x [PR 2254](https://github.com/pgjdbc/pgjdbc/pull/2254)[2917c1f2](https://github.com/pgjdbc/pgjdbc/commit/2917c1f2d448f68419c89530ffc742a3d693ed1e)
46
+
47
+
Juha Syrjälä (1):
48
+
49
+
* PgDatabaseMetaData.getIndexInfo() cast operands to smallint [PR 2242](https://github.com/pgjdbc/pgjdbc/pull/2242) (#2253) [33af6a78](https://github.com/pgjdbc/pgjdbc/commit/33af6a780af0083b382d536c909a20145d5ff195)
50
+
51
+
Sehrope Sarkuni (3):
52
+
53
+
* test: Fix database metadata to handle older versions for function comment [bb1f7285](https://github.com/pgjdbc/pgjdbc/commit/bb1f7285b7884f3d8032a637b38f49f4b2faaac1)
54
+
* test: Handle cleanup of connection creation in StatementTest [1c5f5271](https://github.com/pgjdbc/pgjdbc/commit/1c5f52712a5d6757b69effdb2c5d9eb06657a871)
55
+
* test: Handle cleanup of privileged connection in DatabaseMetaDataTest [5c6041b4](https://github.com/pgjdbc/pgjdbc/commit/5c6041b49146cecee1e360a18789197827aa6adf)
56
+
57
+
chalmagr (1):
58
+
59
+
* Fix updateable result set when there are primary keys and unique keys [PR 2228](https://github.com/pgjdbc/pgjdbc/pull/2228)[c596587a](https://github.com/pgjdbc/pgjdbc/commit/c596587aa52db6573d5cf41f29f1f6b8afe29cb5)
60
+
61
+
<aname="contributors_{{ page.version }}"></a>
62
+
### Contributors to this release
63
+
64
+
We thank the following people for their contributions to this release.
0 commit comments