29 lines
432 B
C
29 lines
432 B
C
|
|
#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
|