Sequence and Function pages are now properly filtered on namespace.
This commit is contained in:
parent
7ca671a078
commit
f2808de613
17 changed files with 136 additions and 48 deletions
|
|
@ -43,13 +43,13 @@ void TablesTableModel::reloadData()
|
|||
if (e.kind == RelKind::Table || e.kind == RelKind::View
|
||||
|| e.kind == RelKind::MaterializedView || e.kind == RelKind::ForeignTable) {
|
||||
switch (m_namespaceFilter) {
|
||||
case TablesTableModel::User:
|
||||
case NamespaceFilter::User:
|
||||
add = !e.ns().isSystemCatalog();
|
||||
break;
|
||||
case TablesTableModel::PgCatalog:
|
||||
case NamespaceFilter::PgCatalog:
|
||||
add = e.ns().objectName() == "pg_catalog";
|
||||
break;
|
||||
case TablesTableModel::InformationSchema:
|
||||
case NamespaceFilter::InformationSchema:
|
||||
add = e.ns().objectName() == "information_schema";
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue