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

19
pglablib/PgAm.h Normal file
View file

@ -0,0 +1,19 @@
#ifndef PGAM_H
#define PGAM_H
#include "Pgsql_declare.h"
#include <QString>
class PgAm {
public:
Oid oid;
QString name;
PgAm();
bool operator==(Oid rhs) const { return oid == rhs; }
bool operator<(Oid rhs) const { return oid < rhs; }
bool operator<(const PgAm &rhs) const { return oid < rhs.oid; }
};
#endif // PGAM_H