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.

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, EventTriggerNameIndexId, pg_event_trigger, btree(evtname name_ops))
 
 DECLARE_UNIQUE_INDEX_PKEY (pg_event_trigger_oid_index, 3468, EventTriggerOidIndexId, pg_event_trigger, btree(oid oid_ops))
 
 MAKE_SYSCACHE (EVENTTRIGGERNAME, pg_event_trigger_evtname_index, 8)
 
 MAKE_SYSCACHE (EVENTTRIGGEROID, pg_event_trigger_oid_index, 8)
 

Variables

 FormData_pg_event_trigger
 

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 BKI_LOOKUP(pg_authid); /* trigger's owner */
35  Oid evtfoid BKI_LOOKUP(pg_proc); /* OID of function to be
36  * called */
37  char evtenabled; /* trigger's firing configuration WRT
38  * session_replication_role */
39 
40 #ifdef CATALOG_VARLEN
41  text evttags[1]; /* command TAGs this event trigger targets */
42 #endif
#define BKI_LOOKUP(catalog)
Definition: genbki.h:46
FormData_pg_event_trigger
unsigned int Oid
Definition: postgres_ext.h:31
Definition: c.h:695
Definition: c.h:641

References BKI_LOOKUP.

◆ DECLARE_TOAST()

DECLARE_TOAST ( pg_event_trigger  ,
4145  ,
4146   
)

◆ DECLARE_UNIQUE_INDEX()

DECLARE_UNIQUE_INDEX ( pg_event_trigger_evtname_index  ,
3467  ,
EventTriggerNameIndexId  ,
pg_event_trigger  ,
btree(evtname name_ops)   
)

◆ DECLARE_UNIQUE_INDEX_PKEY()

DECLARE_UNIQUE_INDEX_PKEY ( pg_event_trigger_oid_index  ,
3468  ,
EventTriggerOidIndexId  ,
pg_event_trigger  ,
btree(oid oid_ops)   
)

◆ MAKE_SYSCACHE() [1/2]

MAKE_SYSCACHE ( EVENTTRIGGERNAME  ,
pg_event_trigger_evtname_index  ,
 
)

◆ MAKE_SYSCACHE() [2/2]

MAKE_SYSCACHE ( EVENTTRIGGEROID  ,
pg_event_trigger_oid_index  ,
 
)

Variable Documentation

◆ FormData_pg_event_trigger

FormData_pg_event_trigger

Definition at line 43 of file pg_event_trigger.h.