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
25
pglablib/catalog/PgLanguageContainer.h
Normal file
25
pglablib/catalog/PgLanguageContainer.h
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
#ifndef PGLANGUAGECONTAINER_H
|
||||
#define PGLANGUAGECONTAINER_H
|
||||
|
||||
#include "PgLanguage.h"
|
||||
#include "PgContainer.h"
|
||||
|
||||
namespace Pgsql {
|
||||
|
||||
class Result;
|
||||
|
||||
}
|
||||
|
||||
class PgLanguageContainer: public PgContainer<PgLanguage> {
|
||||
public:
|
||||
using PgContainer<PgLanguage>::PgContainer;
|
||||
|
||||
virtual std::string getLoadQuery() const override;
|
||||
|
||||
protected:
|
||||
virtual PgLanguage loadElem(const Pgsql::Row &row) override;
|
||||
private:
|
||||
};
|
||||
|
||||
|
||||
#endif // PGLANGUAGECONTAINER_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue