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
|
|
@ -15,6 +15,7 @@
|
|||
#include "PgProcContainer.h"
|
||||
#include "PgCollationContainer.h"
|
||||
#include "PgInheritsContainer.h"
|
||||
#include "PgLanguageContainer.h"
|
||||
#include "Pgsql_Connection.h"
|
||||
#include "Pgsql_oids.h"
|
||||
|
||||
|
|
@ -151,6 +152,9 @@ void PgDatabaseCatalog::loadAll(Pgsql::Connection &conn,
|
|||
return;
|
||||
|
||||
// Load database objects
|
||||
load2(m_languages, conn);
|
||||
if (progress_callback && !progress_callback(++n, count))
|
||||
return;
|
||||
load2(m_namespaces, conn);
|
||||
if (progress_callback && !progress_callback(++n, count))
|
||||
return;
|
||||
|
|
@ -302,3 +306,8 @@ std::shared_ptr<const PgInheritsContainer> PgDatabaseCatalog::inherits() const
|
|||
{
|
||||
return m_inherits;
|
||||
}
|
||||
|
||||
std::shared_ptr<const PgLanguageContainer> PgDatabaseCatalog::languages() const
|
||||
{
|
||||
return m_languages;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue