Switching to linux for development of pglab.
Switched from qmake to cmake. Code changes to make it compile.
This commit is contained in:
parent
dd9906dbd8
commit
04723a289b
142 changed files with 124 additions and 83 deletions
26
pglab/PgClass.h
Normal file
26
pglab/PgClass.h
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
#ifndef PGCLASS_H
|
||||
#define PGCLASS_H
|
||||
|
||||
#include <QString>
|
||||
#include <pgsql/libpq-fe.h>
|
||||
|
||||
class PgClass {
|
||||
public:
|
||||
PgClass();
|
||||
|
||||
Oid oid = InvalidOid;
|
||||
QString relname;
|
||||
Oid relnamespace = InvalidOid;
|
||||
Oid reltype = InvalidOid;
|
||||
Oid reloftype = InvalidOid;
|
||||
Oid relowner = InvalidOid;
|
||||
Oid relam = InvalidOid;
|
||||
Oid relfilename = InvalidOid;
|
||||
Oid reltablespace = InvalidOid;
|
||||
int relpages_est = 0;
|
||||
float reltuples_est = 0;
|
||||
int relallvisible = 0;
|
||||
|
||||
};
|
||||
|
||||
#endif // PGCLASS_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue