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
pglablib/catalog/PgLanguage.h
Normal file
29
pglablib/catalog/PgLanguage.h
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
#ifndef PGLANGUAGE_H
|
||||
#define PGLANGUAGE_H
|
||||
|
||||
#include "PgDatabaseObject.h"
|
||||
#include "PgOwnedObject.h"
|
||||
#include <QString>
|
||||
#include <libpq-fe.h>
|
||||
//#include "Pgsql_Value.h"
|
||||
|
||||
class PgLanguage: public PgDatabaseObject, public PgOwnedObject {
|
||||
public:
|
||||
|
||||
// Oid oid;
|
||||
// QString name;
|
||||
// Oid owner;
|
||||
bool ispl; // true "user installable language" language like plpgsql perl en pythong, false for internal, c and sql
|
||||
bool pltrusted;
|
||||
Oid plcallfoid;
|
||||
Oid inline_;
|
||||
Oid validator;
|
||||
QString acl;
|
||||
|
||||
using PgDatabaseObject::PgDatabaseObject;
|
||||
|
||||
QString createSql() const;
|
||||
QString dropSql() const;
|
||||
};
|
||||
|
||||
#endif // PGLANGUAGE_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue