Skip to content
Snippets Groups Projects
Commit ac295f43 authored by Tom Lane's avatar Tom Lane
Browse files

Update struct Trigger definition.

parent fa3aa5e1
No related branches found
No related tags found
No related merge requests found
...@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment