PostgreSQL Source Code git master
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
evtcache.h
Go to the documentation of this file.
1/*-------------------------------------------------------------------------
2 *
3 * evtcache.h
4 * Special-purpose cache for event trigger data.
5 *
6 * Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
7 * Portions Copyright (c) 1994, Regents of the University of California
8 *
9 * IDENTIFICATION
10 * src/include/utils/evtcache.h
11 *
12 *-------------------------------------------------------------------------
13 */
14#ifndef EVTCACHE_H
15#define EVTCACHE_H
16
17#include "nodes/bitmapset.h"
18#include "nodes/pg_list.h"
19
20typedef enum
21{
28
29typedef struct
30{
31 Oid fnoid; /* function to be called */
32 char enabled; /* as SESSION_REPLICATION_ROLE_* */
33 Bitmapset *tagset; /* command tags, or NULL if empty */
35
37
38#endif /* EVTCACHE_H */
List * EventCacheLookup(EventTriggerEvent event)
Definition: evtcache.c:63
EventTriggerEvent
Definition: evtcache.h:21
@ EVT_SQLDrop
Definition: evtcache.h:24
@ EVT_Login
Definition: evtcache.h:26
@ EVT_DDLCommandEnd
Definition: evtcache.h:23
@ EVT_DDLCommandStart
Definition: evtcache.h:22
@ EVT_TableRewrite
Definition: evtcache.h:25
unsigned int Oid
Definition: postgres_ext.h:32
Bitmapset * tagset
Definition: evtcache.h:33
Definition: pg_list.h:54