40.3. Writing Event Trigger Functions in C
CALLED_AS_EVENT_TRIGGER(fcinfo)((fcinfo)->context != NULL && IsA((fcinfo)->context, EventTriggerData))typedef struct EventTriggerData
{
NodeTag type;
const char *event; /* event name */
Node *parsetree; /* parse tree */
CommandTag tag; /* command tag */
} EventTriggerData;Was this helpful?