Overview of triggers extended with function name and arguments.
Did a lot of refactoring on the catalog to keep things clean.
This commit is contained in:
parent
35813ae926
commit
fcb191f2cc
44 changed files with 797 additions and 404 deletions
|
|
@ -25,9 +25,10 @@ PgClass PgClassContainer::loadElem(const Pgsql::Row &row)
|
|||
>> v.kind >> v.hasoids >> v.ispopulated >> v.frozenxid >> v.minmxid
|
||||
>> v.acl >> v.options;
|
||||
|
||||
auto cat = m_catalogue.lock();
|
||||
auto ns = cat->namespaces()->getByKey(v.relnamespace);
|
||||
v.relnamespace_name = ns.name;
|
||||
v.system_namespace = ns.isSystemCatalog();
|
||||
auto&& ns = m_catalog.namespaces()->getByKey(v.relnamespace);
|
||||
if (ns) {
|
||||
v.relnamespace_name = ns->name;
|
||||
v.system_namespace = ns->isSystemCatalog();
|
||||
}
|
||||
return v;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue