postgresql-jdbc.git / summary / log / commit / refs

commit    03483e1eff6ff5fbe6f3c62bafd2cd68d1a8921f
Author:   Dave Cramer <davecramer@gmail.com>
Date:     Thu Sep 03 12:38:08 2015 +0000

    fix: implemented getFunctions in jdbc4


org/postgresql/jdbc4/AbstractJdbc4DatabaseMetaData.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/org/postgresql/jdbc4/AbstractJdbc4DatabaseMetaData.java b/org/postgresql/jdbc4/AbstractJdbc4DatabaseMetaData.java index 5182c734..b6a9e204 100644 --- a/org/postgresql/jdbc4/AbstractJdbc4DatabaseMetaData.java +++ b/org/postgresql/jdbc4/AbstractJdbc4DatabaseMetaData.java @@ -84,12 +84,12 @@ public abstract class AbstractJdbc4DatabaseMetaData extends org.postgresql.jdbc3 public ResultSet getFunctions(String catalog, String schemaPattern, String functionNamePattern) throws SQLException { - throw org.postgresql.Driver.notImplemented(this.getClass(), "getFunction(String, String, String)"); + return getProcedures(4,catalog, schemaPattern, functionNamePattern); } - + public ResultSet getFunctionColumns(String catalog, String schemaPattern, String functionNamePattern, String columnNamePattern) throws SQLException { - throw org.postgresql.Driver.notImplemented(this.getClass(), "getFunctionColumns(String, String, String, String)"); + return getFunctionColumns(4,catalog, schemaPattern, functionNamePattern, columnNamePattern); } public int getJDBCMajorVersion() throws SQLException [parent: c3399f15941b]