Rework of catalog objects. Several of them are now inheriting from common
base classes that implement common functionality.
This commit is contained in:
parent
840af1e0a9
commit
73c4cf4790
45 changed files with 340 additions and 265 deletions
|
|
@ -11,8 +11,11 @@ std::string PgNamespaceContainer::getLoadQuery() const
|
|||
PgNamespace PgNamespaceContainer::loadElem(const Pgsql::Row &row)
|
||||
{
|
||||
Pgsql::Col col(row);
|
||||
PgNamespace v;
|
||||
col >> v.oid >> v.name >> v.owner >> v.acl;
|
||||
|
||||
Oid oid = col.nextValue();
|
||||
QString name = col.nextValue();
|
||||
PgNamespace v(m_catalog, oid, name);
|
||||
col >> v.owner >> v.acl;
|
||||
return v;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue