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
|
|
@ -2,6 +2,7 @@
|
|||
#define PGPROC_H
|
||||
|
||||
#include "PgNamespaceObject.h"
|
||||
#include "PgOwnedObject.h"
|
||||
#include <QString>
|
||||
#include <libpq-fe.h>
|
||||
#include "Pgsql_Value.h"
|
||||
|
|
@ -24,14 +25,14 @@ public:
|
|||
};
|
||||
|
||||
|
||||
class PgProc: public PgNamespaceObject {
|
||||
class PgProc: public PgNamespaceObject, public PgOwnedObject {
|
||||
public:
|
||||
using PgNamespaceObject::PgNamespaceObject;
|
||||
|
||||
// Oid oid = InvalidOid; // oid
|
||||
// QString name; // name
|
||||
// Oid pronamespace = InvalidOid; // oid, namespace
|
||||
Oid owner = InvalidOid; // oid
|
||||
// Oid owner = InvalidOid; // oid
|
||||
Oid lang = InvalidOid; // oid
|
||||
float cost = 0.f; // float4
|
||||
float rows = 0.f; // float4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue