.
This commit is contained in:
parent
8f1ba8130c
commit
1fe7d3c56d
8 changed files with 410 additions and 4 deletions
34
pglab/PgIndex.h
Normal file
34
pglab/PgIndex.h
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
#ifndef PGINDEX_H
|
||||
#define PGINDEX_H
|
||||
|
||||
#include "Pgsql_declare.h"
|
||||
#include <QString>
|
||||
#include <vector>
|
||||
|
||||
class PgIndex {
|
||||
public:
|
||||
|
||||
Oid indexrelid;
|
||||
Oid indrelid;
|
||||
int16_t indnatts;
|
||||
bool indisunique;
|
||||
bool indisprimary;
|
||||
bool indisexclusion;
|
||||
bool indimmediate;
|
||||
bool indisclustered;
|
||||
bool indisvalid;
|
||||
bool indcheckxmin;
|
||||
bool indisready;
|
||||
bool indislive;
|
||||
bool indisreplident;
|
||||
std::vector<int16_t> indkey;
|
||||
std::vector<Oid> indcollation;
|
||||
std::vector<Oid> indclass;
|
||||
std::vector<int16_t> indoption;
|
||||
QString indexprs;
|
||||
QString indpred;
|
||||
|
||||
PgIndex();
|
||||
};
|
||||
|
||||
#endif // PGINDEX_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue