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 1mSpOg-0003KE-Bh for pgsql-jdbc@arkaria.postgresql.org; Tue, 21 Sep 2021 23:41:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mSpOf-0004Uk-Af for pgsql-jdbc@arkaria.postgresql.org; Tue, 21 Sep 2021 23:41:57 +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 1mSpOf-0004Ub-2a for pgsql-jdbc@lists.postgresql.org; Tue, 21 Sep 2021 23:41:57 +0000 Received: from out-17.smtp.github.com ([192.30.252.200] helo=smtp.github.com) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mSpOc-0002Ox-GN for pgsql-jdbc@lists.postgresql.org; Tue, 21 Sep 2021 23:41:56 +0000 Received: from github.com (hubbernetes-node-1f9e167.va3-iad.github.net [10.48.111.32]) by smtp.github.com (Postfix) with ESMTPA id 3D0FE5C06F3 for ; Tue, 21 Sep 2021 16:41:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1632267712; bh=YpsDQYxvwa2yijTwTJNMl7MgryeTcSpNe4swUebClWo=; h=Date:From:To:Subject:From; b=guk6eMPYptUV6OFM4qLdIe8Xr/geHjCNqJuwJZKd5OKyUQzw5RjItnngGxPtVF3iN ns9FITEa8SymtdTq+I3BOkI/WEBcjmke38tMsSv2/k/uVrKKfs8DxWmKmfLVV0ZyEa APnZqa6pkp15q7bLQbx6onGmtPeBbLd5JQqkFdEY= Date: Tue, 21 Sep 2021 16:41:52 -0700 From: Dave Cramer To: pgsql-jdbc@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] 88cfcc: fix startup regressions caused by PR #1949. Instea... 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: Archived-At: Precedence: bulk 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