pg_trigger

This commit is contained in:
eelke 2018-09-23 10:43:32 +02:00
parent ae86fef2b4
commit 7c7e72ae14
5 changed files with 90 additions and 2 deletions

28
pglablib/PgTrigger.h Normal file
View 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