Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gxB46-0007yh-9i for pgsql-jdbc@arkaria.postgresql.org; Fri, 22 Feb 2019 13:40:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gxB44-0002Wg-AL for pgsql-jdbc@arkaria.postgresql.org; Fri, 22 Feb 2019 13:40:32 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gxB44-0002V1-2i for pgsql-jdbc@lists.postgresql.org; Fri, 22 Feb 2019 13:40:32 +0000 Received: from out-2.smtp.github.com ([192.30.252.193]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gxB41-0002l6-HP for pgsql-jdbc@lists.postgresql.org; Fri, 22 Feb 2019 13:40:31 +0000 Date: Fri, 22 Feb 2019 05:40:27 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1550842827; bh=nE/aRjAKYBCYVpdfq0pWvL38RlPsp9WWzUuUwWAynZI=; h=Date:From:To:Subject:From; b=KTVl29CY/WZIqpssfz9QKXDntrYBYhvZ2FTUF+26bXyERa6TRAV8xHhYfDbnM6/mA jNo2tJenTaV/O8aUMy9w4B5Dot2spxSFKwMulFJUrqho19iavbcIo4gU+mX0tNXPOs ymv8gTpLwHJwQ1CPKbogwPnFgnuLxjv3/R7GzNX0= From: Doug Mayer To: pgsql-jdbc@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] 6a0960: Add core type delimiters into cache for array type... Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Approved: 58GruLoMopuc X-GitHub-Recipient-Address: pgsql-jdbc@lists.postgresql.org X-Auto-Response-Suppress: All List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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.