35 lines
576 B
C
35 lines
576 B
C
|
|
#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
|