mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
JdbcUtils.showTables support postgresql.
This commit is contained in:
@@ -793,6 +793,9 @@ public final class JdbcUtils implements JdbcConstants {
|
||||
return OracleUtils.showTables(conn);
|
||||
}
|
||||
|
||||
if (JdbcConstants.POSTGRESQL.equals(dbType)) {
|
||||
return PGUtils.showTables(conn);
|
||||
}
|
||||
throw new SQLException("show tables dbType not support for " + dbType);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user