35{
38 * attached to */
40 * trigger, if any */
41 NameData tgname;
/* trigger's name */
42 Oid tgfoid
BKI_LOOKUP(pg_proc);
/* OID of function to be called */
43 int16 tgtype;
/* BEFORE/AFTER/INSTEAD, UPDATE/DELETE/INSERT,
44 * ROW/STATEMENT; see below */
45 char tgenabled; /* trigger's firing configuration WRT
46 * session_replication_role */
47 bool tgisinternal; /* trigger is system-generated */
49 * table, if any */
51 * supporting index, if
52 * any */
54 * pg_constraint entry,
55 * if any */
56 bool tgdeferrable; /* constraint trigger is deferrable */
57 bool tginitdeferred; /* constraint trigger is deferred initially */
58 int16 tgnargs;
/* # of extra arguments in tgargs */
59
60 /*
61 * Variable-length fields start here, but we allow direct access to
62 * tgattr. Note: tgattr and tgargs must not be null.
63 */
65 * on columns */
66
67#ifdef CATALOG_VARLEN
69 pg_node_tree tgqual; /* WHEN expression, or NULL if none */
70 NameData tgoldtable;
/* old transition table, or NULL if none */
71 NameData tgnewtable;
/* new transition table, or NULL if none */
72#endif
#define BKI_LOOKUP(catalog)
#define BKI_LOOKUP_OPT(catalog)
#define BKI_FORCE_NOT_NULL