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,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