Added pg_proc table to the catalog. Contains the definition of functions.

Also improved the loading code for some catalog tables.
This commit is contained in:
eelke 2018-11-17 19:38:07 +01:00
parent d8fc14c823
commit 35813ae926
10 changed files with 152 additions and 17 deletions

View file

@ -18,8 +18,6 @@ PgTablespace PgTablespaceContainer::loadElem(const Pgsql::Row &row)
{
Pgsql::Col col(row);
PgTablespace v;
col >> v.oid >> v.name >> v.owner;
col.getAsArray<QString>(std::back_inserter(v.acl), Pgsql::NullHandling::Ignore);
col.getAsArray<QString>(std::back_inserter(v.options), Pgsql::NullHandling::Ignore);
col >> v.oid >> v.name >> v.owner >> v.acl >> v.options;
return v;
}