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:
eelke 2018-12-17 21:51:14 +01:00
parent c0a11f9b3b
commit f692569d27
11 changed files with 118 additions and 18 deletions

View 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