[pgjdbc/pgjdbc] 88cfcc: fix startup regressions caused by PR #1949. Instea...
[pgjdbc/pgjdbc] 88cfcc: fix startup regressions caused by PR #1949. Instea...
От:
Dave Cramer <noreply@github.com>
Дата:
Branch: refs/heads/release/42.2
Home: https://github.com/pgjdbc/pgjdbc
Commit: 88cfccab1ce41c8fb9f238d2ff09eba969c41a02
https://github.com/pgjdbc/pgjdbc/commit/88cfccab1ce41c8fb9f238d2ff09eba969c41a02
Author: Dave Cramer
Date: 2021-09-21 (Tue, 21 Sep 2021)
Changed paths:
M pgjdbc/src/main/java/org/postgresql/jdbc/TypeInfoCache.java
Log Message:
-----------
fix startup regressions caused by PR #1949. Instead of checking all types by OID, we can return types for well known types (#2257)
* fix startup regressions caused by PR #1949. Instead of checking all types by OID, we can return types for well known types
* clarifiy code, add any new types to the pgNameToSQLType cache