[jOOQ/jOOQ#11255] Meta.getTables() does not include PostgreSQL foreign data wrapper tables

This commit is contained in:
Lukas Eder 2021-01-20 10:01:44 +01:00
parent 331bed7a19
commit 154e435611

View File

@ -351,13 +351,13 @@ final class MetaImpl extends AbstractMeta {
switch (family()) {
// [#3977] PostgreSQL returns other object types, too
// [#3977] [#11255] PostgreSQL returns other object types, too
case POSTGRES:
types = new String[] { "TABLE", "VIEW", "SYSTEM_TABLE", "SYSTEM_VIEW", "MATERIALIZED VIEW" };
types = new String[] { "FOREIGN TABLE", "MATERIALIZED VIEW", "SYSTEM_TABLE", "SYSTEM_VIEW", "TABLE", "VIEW" };
break;