The list of indexes on a table now also shows the access method (ie btree)

This commit is contained in:
eelke 2018-08-25 18:11:12 +02:00
parent 7c4f1a4752
commit 50cb21b6f9
17 changed files with 198 additions and 26 deletions

View file

@ -0,0 +1,17 @@
#include "PgAmContainer.h"
#include "Pgsql_Col.h"
std::string PgAmContainer::getLoadQuery() const
{
std::string q = "SELECT oid, amname FROM pg_am";
return q;
}
PgAm PgAmContainer::loadElem(const Pgsql::Row &row)
{
Pgsql::Col col(row);
PgAm v;
col >> v.oid >> v.name;
return v;
}