PgTablespace now inherits from PgServerObject.
This commit is contained in:
parent
0b6c1a8544
commit
aaa05f64ef
4 changed files with 21 additions and 17 deletions
|
|
@ -17,7 +17,16 @@ FROM pg_tablespace
|
|||
PgTablespace PgTablespaceContainer::loadElem(const Pgsql::Row &row)
|
||||
{
|
||||
Pgsql::Col col(row);
|
||||
PgTablespace v;
|
||||
col >> v.oid >> v.name >> v.owner >> v.acl >> v.options;
|
||||
Oid oid = col.nextValue();
|
||||
QString name = col.nextValue();
|
||||
Oid owner = col.nextValue();
|
||||
PgTablespace v(m_catalog, oid, name);
|
||||
v.setOwnerOid(owner);
|
||||
|
||||
AclList acl_list;
|
||||
col >> acl_list;
|
||||
v.setAcls(std::move(acl_list));
|
||||
|
||||
col >> v.options;
|
||||
return v;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue