PgServerObject now contains a list of acl's for the object so all the different objects

can use this implementation.
This commit is contained in:
eelke 2018-12-24 07:51:27 +01:00
parent efb3e71556
commit 93c8b49f61
6 changed files with 284 additions and 36 deletions

View file

@ -49,8 +49,10 @@ PgProc PgProcContainer::loadElem(const Pgsql::Row &row)
std::optional<QString> argdefaults; // pg_node_tree
col.getAsVector<Oid>(std::back_inserter(argtypes));
col >> allargtypes >> argmodes >> argnames >> argdefaults
>> v.src >> v.bin >> v.config >> v.acl;
>> v.src >> v.bin >> v.config; // >> v.acl;
AclList acl_list;
col >> acl_list;
v.setAcls(std::move(acl_list));
v.setArgs(argtypes, allargtypes, argmodes, argnames, argdefaults);
if (minimumVersion(90500)) {