From: Sehrope Sarkuni <noreply@github.com>
To: pgsql-jdbc@lists.postgresql.org
Subject: [pgjdbc/pgjdbc] 4f1142: fix: Change metadata getFunctions() and getProcedu...
Date: Fri, 11 Jun 2021 04:33:17 -0700
Message-ID: <pgjdbc/pgjdbc/push/refs/heads/master/45a771-7aea51@github.com> (raw)
Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: 4f1142e49201c4f3794b02548bfea1cbc536caaa
https://github.com/pgjdbc/pgjdbc/commit/4f1142e49201c4f3794b02548bfea1cbc536caaa
Author: Sehrope Sarkuni <sehrope@jackdb.com>
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 <sehrope@jackdb.com>
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 <sehrope@jackdb.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: noreply@github.com
Subject: Re: [pgjdbc/pgjdbc] 4f1142: fix: Change metadata getFunctions() and getProcedu...
In-Reply-To: <pgjdbc/pgjdbc/push/refs/heads/master/45a771-7aea51@github.com>
References: <pgjdbc/pgjdbc/push/refs/heads/master/45a771-7aea51@github.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox