Added the list of installed language to the catalog. The ProcTableModel now returns the owner name and language name instead of the oids.
This commit is contained in:
parent
c0a11f9b3b
commit
f692569d27
11 changed files with 118 additions and 18 deletions
|
|
@ -29,10 +29,11 @@ PgProc PgProcContainer::loadElem(const Pgsql::Row &row)
|
|||
Oid oid = col.nextValue();
|
||||
QString name = col.nextValue();
|
||||
Oid namespace_oid = col.nextValue();
|
||||
Oid owner_oid = col.nextValue();
|
||||
|
||||
PgProc v(m_catalog, oid, name, namespace_oid);
|
||||
|
||||
col >> v.owner >> v.lang >> v.cost >> v.rows
|
||||
v.setOwnerOid(m_catalog, owner_oid);
|
||||
col >> v.lang >> v.cost >> v.rows
|
||||
>> v.variadic >> v.transform >> v.isagg >> v.iswindow >> v.secdef >> v.leakproof
|
||||
>> v.isstrict >> v.retset >> v.provolatile >> v.nargs >> v.nargdefaults
|
||||
>> v.rettype;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue