PgTablespace now inherits from PgServerObject.
This commit is contained in:
parent
0b6c1a8544
commit
aaa05f64ef
4 changed files with 21 additions and 17 deletions
|
|
@ -72,11 +72,11 @@ QString getTablespaceDisplayString(const PgDatabaseCatalog &cat, Oid oid)
|
|||
auto dbname = cat.getDBName();
|
||||
oid = cat.databases()->getByName(dbname)->tablespace;
|
||||
auto ts = cat.tablespaces()->getByKey(oid);
|
||||
return ts->name + " (inherited)";
|
||||
return ts->objectName() + " (inherited)";
|
||||
}
|
||||
else {
|
||||
auto ts = cat.tablespaces()->getByKey(oid);
|
||||
return ts->name;
|
||||
return ts->objectName();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue