[pgjdbc/pgjdbc] 6a0960: Add core type delimiters into cache for array type...

Doug Mayer <[email protected]> Fri, 22 Feb 2019 05:40:27 -0800
Newsgroups gmane.comp.db.postgresql.jdbc
Message-ID <pgjdbc/pgjdbc/push/refs/heads/master/[email protected]>
  Branch: refs/heads/master
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: 6a0960a66981a03577221e2d742865526cb2325d
      https://github.com/pgjdbc/pgjdbc/commit/6a0960a66981a03577221e2d742865526cb2325d
  Author: Doug Mayer <[email protected]>
  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.