pg_trigger
This commit is contained in:
parent
ae86fef2b4
commit
7c7e72ae14
5 changed files with 90 additions and 2 deletions
28
pglablib/PgTrigger.h
Normal file
28
pglablib/PgTrigger.h
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
#ifndef PGTRIGGER_H
|
||||
#define PGTRIGGER_H
|
||||
|
||||
#include "Pgsql_Value.h"
|
||||
#include <QString>
|
||||
#include <libpq-fe.h>
|
||||
|
||||
class PgTrigger {
|
||||
public:
|
||||
Oid tgrelid;
|
||||
QString tgname;
|
||||
Oid tgfoid;
|
||||
int16_t tgtype;
|
||||
char tgenabled;
|
||||
bool tgisinternal;
|
||||
Oid tgconstrrelid;
|
||||
Oid tgconstrindid;
|
||||
Oid tgconstraint;
|
||||
bool tgdeferrable;
|
||||
bool tginitdeferred;
|
||||
int16_t tgnargs;
|
||||
QString tgattr;
|
||||
QString tgargs;
|
||||
QString tgqual;
|
||||
|
||||
};
|
||||
|
||||
#endif // PGTRIGGER_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue