Commit ac295f43 authored by Tom Lane's avatar Tom Lane

Update struct Trigger definition.

parent fa3aa5e1
...@@ -184,13 +184,18 @@ tg_trigger ...@@ -184,13 +184,18 @@ tg_trigger
typedef struct Trigger typedef struct Trigger
{ {
char *tgname; Oid tgoid;
Oid tgfoid; char *tgname;
func_ptr tgfunc; Oid tgfoid;
int16 tgtype; FmgrInfo tgfunc;
int16 tgnargs; int16 tgtype;
int16 tgattr[8]; bool tgenabled;
char **tgargs; bool tgisconstraint;
bool tgdeferrable;
bool tginitdeferred;
int16 tgnargs;
int16 tgattr[FUNC_MAX_ARGS];
char **tgargs;
} Trigger; } Trigger;
tgname is the trigger's name, tgnargs is number of arguments in tgargs, tgname is the trigger's name, tgnargs is number of arguments in tgargs,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment