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 1lrfPh-0005Oh-EA for pgsql-jdbc@arkaria.postgresql.org; Fri, 11 Jun 2021 11:33:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lrfPf-0004fM-91 for pgsql-jdbc@arkaria.postgresql.org; Fri, 11 Jun 2021 11:33:23 +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 1lrfPf-0004fE-20 for pgsql-jdbc@lists.postgresql.org; Fri, 11 Jun 2021 11:33:23 +0000 Received: from out-21.smtp.github.com ([192.30.252.204] 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 1lrfPb-0005JY-Rk for pgsql-jdbc@lists.postgresql.org; Fri, 11 Jun 2021 11:33:22 +0000 Received: from github.com (hubbernetes-node-e13e174.ac4-iad.github.net [10.52.125.39]) by smtp.github.com (Postfix) with ESMTPA id C349C520565 for ; Fri, 11 Jun 2021 04:33:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1623411197; bh=QghERs/QO95wB9euBq1Q9zZZPSBo0DKgM+hn1eF8M0o=; h=Date:From:To:Subject:From; b=vdnHz3ZFwEt6YwVGFvLGMeotlDrEV9ObMaCSSwcOQr/OdfWTqYVuA/epXt2OP1lNv a7BvQfzygRCVRZHfjKciXY1Mltv9btEczrCBXmDC9JLmA9D5YeaeAsms+EcRHwHeBK LXaPE09hj9EvMHaqx+a74PoE1VzgRlPvoWd01nqY= Date: Fri, 11 Jun 2021 04:33:17 -0700 From: Sehrope Sarkuni To: pgsql-jdbc@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] 4f1142: fix: Change metadata getFunctions() and getProcedu... 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/master Home: https://github.com/pgjdbc/pgjdbc Commit: 4f1142e49201c4f3794b02548bfea1cbc536caaa https://github.com/pgjdbc/pgjdbc/commit/4f1142e49201c4f3794b02548bfea1cbc536caaa Author: Sehrope Sarkuni Date: 2021-06-11 (Fri, 11 Jun 2021) Changed paths: M CHANGELOG.md M pgjdbc/src/main/java/org/postgresql/jdbc/PgDatabaseMetaData.java M pgjdbc/src/test/java/org/postgresql/test/jdbc4/DatabaseMetaDataTest.java Log Message: ----------- fix: Change metadata getFunctions() and getProcedures() to ignore search_path visibility Previously if no schema pattern was specified then a default filter was added to getFunctions() and getProcedures() to restrict the returned set to only those that are visible to the user via search_path. This removes that filter so that calling either function with a null or empty schema pattern will return all functions or procedures. Commit: e4a3fb543aae7fca74a3325fcc0e6a2c6613fada https://github.com/pgjdbc/pgjdbc/commit/e4a3fb543aae7fca74a3325fcc0e6a2c6613fada Author: Sehrope Sarkuni Date: 2021-06-11 (Fri, 11 Jun 2021) Changed paths: M pgjdbc/src/test/java/org/postgresql/test/jdbc4/DatabaseMetaDataTest.java Log Message: ----------- test: Add test that getFunctions() without schema filter includes items not in search path Commit: 7aea51322293a8eaae5e75e5ec5f7eff3eecb863 https://github.com/pgjdbc/pgjdbc/commit/7aea51322293a8eaae5e75e5ec5f7eff3eecb863 Author: Sehrope Sarkuni Date: 2021-06-11 (Fri, 11 Jun 2021) Changed paths: M pgjdbc/src/test/java/org/postgresql/test/jdbc4/DatabaseMetaDataTest.java Log Message: ----------- test: Add test for verifying columns of getProcedures() Compare: https://github.com/pgjdbc/pgjdbc/compare/45a771fccd77...7aea51322293