Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kugsQ-0004wQ-Jd for pgsql-jdbc@arkaria.postgresql.org; Wed, 30 Dec 2020 19:11:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kugsP-0008U1-I5 for pgsql-jdbc@arkaria.postgresql.org; Wed, 30 Dec 2020 19:11:17 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kugsP-0008Ti-Bl for pgsql-jdbc@lists.postgresql.org; Wed, 30 Dec 2020 19:11:17 +0000 Received: from out-24.smtp.github.com ([192.30.252.207]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kugsN-0007fc-16 for pgsql-jdbc@lists.postgresql.org; Wed, 30 Dec 2020 19:11:17 +0000 Received: from github.com (hubbernetes-node-70f3dd3.ac4-iad.github.net [10.52.119.45]) by smtp.github.com (Postfix) with ESMTPA id 9FDC6600376 for ; Wed, 30 Dec 2020 11:11:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1609355473; bh=9iRsT6ZwljQl/OpAvHNZsEVU+NP9LdzoL6G8oA2kvcM=; h=Date:From:To:Subject:From; b=vFwa42HLIDv43jlXSkirUftulIVgSFavSF7zd0z/PCkbsY/1qX5KZz/aGUoaguwYX wcQ3MIfsQHB2x8VFQbrb6K8X08tYW+F760hR+aKF/5OZr05SmacuXicrTbWLWI2M/y dTtF9a3LQbKPcWbX8wcU49oqpBWWfV83CNr/kPLI= Date: Wed, 30 Dec 2020 11:11:13 -0800 From: Brett Okken To: pgsql-jdbc@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] 0b27e2: improv: type alias handling in TypeInfoCache (#1986) 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: 0b27e26af62e8345c5045bbbc384db6d95bfd5f1 https://github.com/pgjdbc/pgjdbc/commit/0b27e26af62e8345c5045bbbc384db6d95bfd5f1 Author: Brett Okken Date: 2020-12-30 (Wed, 30 Dec 2020) Changed paths: M pgjdbc/src/main/java/org/postgresql/jdbc/TypeInfoCache.java M pgjdbc/src/test/java/org/postgresql/test/jdbc2/DatabaseMetaDataCacheTest.java Log Message: ----------- improv: type alias handling in TypeInfoCache (#1986) populate the "real" types into the map to avoid case conversions to check for alternate representations. populate new mappings to optimize future use