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 1iwsXw-0001ug-96 for pgsql-jdbc@arkaria.postgresql.org; Wed, 29 Jan 2020 18:58:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iwsXu-0002gm-G8 for pgsql-jdbc@arkaria.postgresql.org; Wed, 29 Jan 2020 18:58:38 +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 1iwsXu-0002gb-78 for pgsql-jdbc@lists.postgresql.org; Wed, 29 Jan 2020 18:58:38 +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 1iwsXr-0003gL-4d for pgsql-jdbc@lists.postgresql.org; Wed, 29 Jan 2020 18:58:37 +0000 Received: from github-lowworker-c5134a3.ac4-iad.github.net (github-lowworker-c5134a3.ac4-iad.github.net [10.52.23.55]) by smtp.github.com (Postfix) with ESMTP id C23676A098B for ; Wed, 29 Jan 2020 10:58:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1580324312; bh=A0f924n+NzoOi3mJ6GI6kkkagryTRDBYAh7eCNz45NU=; h=Date:From:To:Subject:From; b=kOYDuT9kv0otlnqcG8ZX+8ckK31r+LxwYy5TYnfokCEl6ssvT6nyFRRlQh5TX0c2q eyThsLBP0hLwW60NgjCO62F3RYCu6seuiFC8Vc1qWNFnqACAxq1qLJeB4SuhE2dYDt ROBfqnBE+vH6M9Ld4NqUqcu7a3TVIsqhYHDh9SAM= Date: Wed, 29 Jan 2020 10:58:32 -0800 From: Russell Briggs To: pgsql-jdbc@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] beb354: Fix Network Performance of PgDatabaseMetaData.getT... 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: beb354eb4dd8196c72b6fa7780187d9f7a491a6d https://github.com/pgjdbc/pgjdbc/commit/beb354eb4dd8196c72b6fa7780187d9f7a491a6d Author: Russell Briggs Date: 2020-01-29 (Wed, 29 Jan 2020) Changed paths: M pgjdbc/src/main/java/org/postgresql/jdbc/PgDatabaseMetaData.java M pgjdbc/src/main/java/org/postgresql/jdbc/TypeInfoCache.java A pgjdbc/src/test/java/org/postgresql/test/jdbc2/DatabaseMetaDataCacheTest.java A pgjdbc/src/test/java/org/postgresql/util/TestLogHandler.java Log Message: ----------- Fix Network Performance of PgDatabaseMetaData.getTypeInfo() method (#1668) * Write failing test for use of cache for PgDatabaseMetadata.getTypeInfo() * Implement cacheSQLTypes() and call from PgDatabaseMetaData.getTypeInfo()