[#3977] Meta.getTables() also returns entries for indexes for PostgreSQL
This commit is contained in:
parent
99d397e624
commit
80e02e2980
@ -274,6 +274,11 @@ class MetaImpl implements Meta, Serializable {
|
||||
|
||||
switch (configuration.dialect().family()) {
|
||||
|
||||
// [#3977] PostgreSQL returns other object types, too
|
||||
case POSTGRES:
|
||||
types = new String[] { "TABLE", "VIEW", "SYSTEM_TABLE", "SYSTEM_VIEW", "MATERIALIZED VIEW" };
|
||||
break;
|
||||
|
||||
// [#2323] SQLite JDBC drivers have a bug. They return other
|
||||
// object types, too: https://bitbucket.org/xerial/sqlite-jdbc/issue/68
|
||||
case SQLITE:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user