Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qorE2-003CSP-JO for pgsql-jdbc-commits@arkaria.postgresql.org; Fri, 06 Oct 2023 20:15:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qorE0-00BXtv-6N for pgsql-jdbc-commits@arkaria.postgresql.org; Fri, 06 Oct 2023 20:15:05 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qorDz-00BXtg-Tb for pgsql-jdbc-commits@lists.postgresql.org; Fri, 06 Oct 2023 20:15:04 +0000 Received: from out-20.smtp.github.com ([192.30.252.203]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qorDy-000MoM-3h for pgsql-jdbc-commits@lists.postgresql.org; Fri, 06 Oct 2023 20:15:03 +0000 Received: from github.com (hubbernetes-node-41d45f5.va3-iad.github.net [10.48.206.75]) by smtp.github.com (Postfix) with ESMTPA id 0777C8C0FFA for ; Fri, 6 Oct 2023 13:15:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2023; t=1696623301; bh=z5k534u8Nu6eQ5+FZzu6aZMXPpr9ED1vWikaIxmIsvM=; h=Date:From:To:Subject:From; b=Jpm3jOmPjfkDHzyRTFy006ITzQvvJciRy771YvV7TU59sBE072Mm/DVzCiB3Pd6Db WWsXskhQYTWq6RBpdnQqqrMl+9zBRKMxc+VJMxP055tki/JUVErsFkLzyUEQtnc1BO Oon1zcRjaExRfYZZoGofABdnalaot3ifYc64l3pI= Date: Fri, 06 Oct 2023 13:15:01 -0700 From: Faizan Qazi To: pgsql-jdbc-commits@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] 9bc47e: fix: add varbit as a basic type inside the TypeInf... Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Approved: 58GruLoMopuc X-GitHub-Recipient-Address: pgsql-jdbc-commits@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/master Home: https://github.com/pgjdbc/pgjdbc Commit: 9bc47ec8419285d2fc7032781961af421d5b0e43 https://github.com/pgjdbc/pgjdbc/commit/9bc47ec8419285d2fc7032781961af421d5b0e43 Author: Faizan Qazi Date: 2023-10-06 (Fri, 06 Oct 2023) Changed paths: M pgjdbc/src/main/java/org/postgresql/jdbc/TypeInfoCache.java M pgjdbc/src/test/java/org/postgresql/jdbc/BitFieldTest.java Log Message: ----------- fix: add varbit as a basic type inside the TypeInfoCache (#2960) Currently, extra queries are needed to resolve type information for the varbit type, even though the OID and type information are entirely predictable. This patch will adds the builtin type into the TypeInfoCache, to avoid extra round trips on high latency connections. Fixes: #2959