Removed the acl field from several Pg* classes as the acl is now stored in the PgServerObject base class they inherit from.

This commit is contained in:
eelke 2018-12-27 12:05:48 +01:00
parent aaa05f64ef
commit 93687df959
12 changed files with 30 additions and 30 deletions

View file

@ -14,9 +14,13 @@ PgLanguage PgLanguageContainer::loadElem(const Pgsql::Row &row)
Pgsql::Col col(row);
Oid lan_oid = col.nextValue();
QString name = col.nextValue();
Oid owner = col.nextValue();
PgLanguage v(m_catalog, lan_oid, name);
col >> v.ispl >> v.pltrusted >> v.plcallfoid >> v.inline_ >> v.validator >> v.acl;
Oid owner;
AclList acl_list;
col >> owner >> v.ispl >> v.pltrusted >> v.plcallfoid >> v.inline_ >> v.validator >> acl_list;
v.setOwnerOid(owner);
v.setAcls(std::move(acl_list));
return v;
}