1/*-------------------------------------------------------------------------
4 * POSTGRES relation trigger definitions.
7 * Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
8 * Portions Copyright (c) 1994, Regents of the University of California
10 * src/include/utils/reltrigger.h
12 *-------------------------------------------------------------------------
19 * These struct really belongs to trigger.h, but we put it separately so that
20 * it can be cleanly included in rel.h and other places.
25 Oid tgoid;
/* OID of trigger (pg_trigger row) */
26 /* Remaining fields are copied from pg_trigger, see pg_trigger.h */
53 * These flags indicate whether the array contains at least one of each
54 * type of trigger. We use these to skip searching the array if not.
71 /* there are no row-level truncate triggers */
74 /* Is there at least one trigger specifying each transition relation? */
81#endif /* RELTRIGGER_H */
struct TriggerDesc TriggerDesc
bool trig_delete_before_row
bool trig_update_instead_row
bool trig_delete_instead_row
bool trig_update_after_row
bool trig_insert_instead_row
bool trig_update_new_table
bool trig_insert_after_row
bool trig_update_after_statement
bool trig_update_before_row
bool trig_truncate_before_statement
bool trig_insert_new_table
bool trig_update_before_statement
bool trig_truncate_after_statement
bool trig_insert_before_statement
bool trig_delete_old_table
bool trig_delete_after_row
bool trig_insert_before_row
bool trig_delete_after_statement
bool trig_delete_before_statement
bool trig_update_old_table
bool trig_insert_after_statement