[#3977] Meta.getTables() also returns entries for indexes for PostgreSQL

This commit is contained in:
lukaseder 2015-01-24 12:41:57 +01:00
parent 99d397e624
commit 80e02e2980

View File

@ -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: