[pgjdbc/pgjdbc] 4f1142: fix: Change metadata getFunctions() and getProcedu...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[pgjdbc/pgjdbc] 4f1142: fix: Change metadata getFunctions() and getProcedu...

Dave Cramer-9
  Branch: refs/heads/master
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: 4f1142e49201c4f3794b02548bfea1cbc536caaa
      https://github.com/pgjdbc/pgjdbc/commit/4f1142e49201c4f3794b02548bfea1cbc536caaa
  Author: Sehrope Sarkuni <[hidden email]>
  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 <[hidden email]>
  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 <[hidden email]>
  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