Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
feat: WIP Filter DatabaseMetaData using privileges for the user (#1630)
* feat:Filter DatabaseMetaData using privileges for the user This replaces PR#647 as it required considerable work to merge. Original work done by Scott Langley @slangley adds a connection parameter: hideUnprivilegedObjects defaults to false
- Loading branch information
Showing
with
624 additions
and 1 deletion.
- +7 −0 pgjdbc/src/main/java/org/postgresql/PGProperty.java
- +16 −0 pgjdbc/src/main/java/org/postgresql/ds/common/BaseDataSource.java
- +8 −1 pgjdbc/src/main/java/org/postgresql/jdbc/PgConnection.java
- +23 −0 pgjdbc/src/main/java/org/postgresql/jdbc/PgDatabaseMetaData.java
- +569 −0 pgjdbc/src/test/java/org/postgresql/test/jdbc4/DatabaseMetaDataHideUnprivilegedObjectsTest.java
- +1 −0 pgjdbc/src/test/java/org/postgresql/test/jdbc4/Jdbc4TestSuite.java
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.