[pgjdbc/pgjdbc] 6a0960: Add core type delimiters into cache for arraytype...
[pgjdbc/pgjdbc] 6a0960: Add core type delimiters into cache for arraytype...
От:
Doug Mayer <noreply@github.com>
Дата:
Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: 6a0960a66981a03577221e2d742865526cb2325d
https://github.com/pgjdbc/pgjdbc/commit/6a0960a66981a03577221e2d742865526cb2325d
Author: Doug Mayer
Date: 2019-02-22 (Fri, 22 Feb 2019)
Changed paths:
M pgjdbc/src/main/java/org/postgresql/jdbc/TypeInfoCache.java
Log Message:
-----------
Add core type delimiters into cache for array type OIDs. (#1416)
* Add core type delimiters into cache for array type OIDs.
In addition to caching the underlying core type mapped to a comma,
cache their array equivalent types to avoid querying from the server.
Fixes #1415.
* Initialize TypeInfoCache maps by anticipated size.