PostgreSQL Source Code  git master
pg_event_trigger.h File Reference
#include "catalog/genbki.h"
#include "catalog/pg_event_trigger_d.h"
Include dependency graph for pg_event_trigger.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define EventTriggerNameIndexId   3467
 
#define EventTriggerOidIndexId   3468
 

Typedefs

typedef FormData_pg_event_triggerForm_pg_event_trigger
 

Functions

 CATALOG (pg_event_trigger, 3466, EventTriggerRelationId)
 
 DECLARE_TOAST (pg_event_trigger, 4145, 4146)
 
 DECLARE_UNIQUE_INDEX (pg_event_trigger_evtname_index, 3467, on pg_event_trigger using btree(evtname name_ops))
 
 DECLARE_UNIQUE_INDEX (pg_event_trigger_oid_index, 3468, on pg_event_trigger using btree(oid oid_ops))
 

Variables

 FormData_pg_event_trigger
 

Macro Definition Documentation

◆ EventTriggerNameIndexId

#define EventTriggerNameIndexId   3467

Definition at line 54 of file pg_event_trigger.h.

Referenced by BuildEventTriggerCache().

◆ EventTriggerOidIndexId

#define EventTriggerOidIndexId   3468

Definition at line 56 of file pg_event_trigger.h.

Referenced by insert_event_trigger_tuple().

Typedef Documentation

◆ Form_pg_event_trigger

Function Documentation

◆ CATALOG()

CATALOG ( pg_event_trigger  ,
3466  ,
EventTriggerRelationId   
)

Definition at line 29 of file pg_event_trigger.h.

30 {
31  Oid oid; /* oid */
32  NameData evtname; /* trigger's name */
33  NameData evtevent; /* trigger's event */
34  Oid evtowner; /* trigger's owner */
35  Oid evtfoid; /* OID of function to be called */
36  char evtenabled; /* trigger's firing configuration WRT
37  * session_replication_role */
38 
39 #ifdef CATALOG_VARLEN
40  text evttags[1]; /* command TAGs this event trigger targets */
41 #endif
unsigned int Oid
Definition: postgres_ext.h:31
Definition: c.h:663
Definition: c.h:609
FormData_pg_event_trigger

◆ DECLARE_TOAST()

DECLARE_TOAST ( pg_event_trigger  ,
4145  ,
4146   
)

◆ DECLARE_UNIQUE_INDEX() [1/2]

DECLARE_UNIQUE_INDEX ( pg_event_trigger_evtname_index  ,
3467  ,
on pg_event_trigger using   btreeevtname name_ops 
)

◆ DECLARE_UNIQUE_INDEX() [2/2]

DECLARE_UNIQUE_INDEX ( pg_event_trigger_oid_index  ,
3468  ,
on pg_event_trigger using   btreeoid oid_ops 
)

Variable Documentation

◆ FormData_pg_event_trigger

FormData_pg_event_trigger

Definition at line 42 of file pg_event_trigger.h.