pg_trigger
The pg_trigger system catalog table stores triggers on tables.
Greengage DB does not support user-defined triggers.
| Column | Type | References | Description |
|---|---|---|---|
tgrelid |
oid |
|
The table this trigger is on |
tgname |
name |
— |
Trigger name (must be unique among triggers of the same table) |
tgfoid |
oid |
|
The function to be called |
tgtype |
int2 |
— |
Bit mask identifying trigger conditions |
tgenabled |
boolean |
— |
|
tgisinternal |
boolean |
— |
|
tgconstrrelid |
oid |
|
The table referenced by the referential integrity constraint |
tgconstrindid |
oid |
|
The index supporting a unique, primary key, or referential integrity constraint |
tgconstraint |
oid |
|
The |
tgdeferrable |
boolean |
— |
|
tginitdeferred |
boolean |
— |
|
tgnargs |
int2 |
— |
Number of argument strings passed to trigger function |
tgattr |
int2vector |
— |
Currently not used |
tgargs |
bytea |
— |
Argument strings to pass to trigger, each |
tgqual |
pg_node_tree |
— |
Expression tree (in |
Greengage DB does not enforce referential integrity.