跳至主要內容

KlustronDB小于 1 分钟

52.21. pg_event_trigger

The catalog pg_event_trigger stores event triggers. See Chapter 40 for more information.

Table 52.21. pg_event_trigger Columns

NameTypeReferencesDescription
evtnamenameTrigger name (must be unique)
evteventnameIdentifies the event for which this trigger fires
evtowneroidpg_authid.oidOwner of the event trigger
evtfoidoidpg_proc.oidThe function to be called
evtenabledcharControls in which session_replication_role modes the event trigger fires. O = trigger fires in “origin” and “local” modes, D = trigger is disabled, R = trigger fires in “replica” mode, A = trigger fires always.
evttagstext[]Command tags for which this trigger will fire. If NULL, the firing of this trigger is not restricted on the basis of the command tag.