diff --git a/lib/odbc_adapter/adapters/postgresql_odbc_adapter.rb b/lib/odbc_adapter/adapters/postgresql_odbc_adapter.rb index 41d0f4d6..285f7f4e 100644 --- a/lib/odbc_adapter/adapters/postgresql_odbc_adapter.rb +++ b/lib/odbc_adapter/adapters/postgresql_odbc_adapter.rb @@ -19,7 +19,7 @@ def arel_visitor # Filter for ODBCAdapter#tables # Omits table from #tables if table_filter returns true - def table_filter(schema_name, table_type) + def table_filtered?(schema_name, table_type) %w[information_schema pg_catalog].include?(schema_name) || table_type !~ /TABLE/i end