PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
evtcache.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * evtcache.c
4  * Special-purpose cache for event trigger data.
5  *
6  * Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group
7  * Portions Copyright (c) 1994, Regents of the University of California
8  *
9  * IDENTIFICATION
10  * src/backend/utils/cache/evtcache.c
11  *
12  *-------------------------------------------------------------------------
13  */
14 #ifndef EVTCACHE_H
15 #define EVTCACHE_H
16 
17 #include "nodes/pg_list.h"
18 
19 typedef enum
20 {
26 
27 typedef struct
28 {
29  Oid fnoid; /* function to be called */
30  char enabled; /* as SESSION_REPLICATION_ROLE_* */
31  int ntags; /* number of command tags */
32  char **tag; /* command tags in SORTED order */
34 
36 
37 #endif /* EVTCACHE_H */
unsigned int Oid
Definition: postgres_ext.h:31
EventTriggerEvent
Definition: evtcache.h:19
List * EventCacheLookup(EventTriggerEvent event)
Definition: evtcache.c:64
Definition: pg_list.h:45