PostgreSQL Source Code
git master
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
c
d
g
h
i
k
l
m
p
r
s
t
Functions
Variables
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
c
d
f
h
i
n
o
p
r
s
t
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
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
20
typedef
enum
21
{
22
EVT_DDLCommandStart
,
23
EVT_DDLCommandEnd
,
24
EVT_SQLDrop
,
25
EVT_TableRewrite
,
26
EVT_Login
,
27
}
EventTriggerEvent
;
28
29
typedef
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 */
34
}
EventTriggerCacheItem
;
35
36
extern
List
*
EventCacheLookup
(
EventTriggerEvent
event);
37
38
#endif
/* EVTCACHE_H */
bitmapset.h
EventCacheLookup
List * EventCacheLookup(EventTriggerEvent event)
Definition:
evtcache.c:63
EventTriggerEvent
EventTriggerEvent
Definition:
evtcache.h:21
EVT_SQLDrop
@ EVT_SQLDrop
Definition:
evtcache.h:24
EVT_Login
@ EVT_Login
Definition:
evtcache.h:26
EVT_DDLCommandEnd
@ EVT_DDLCommandEnd
Definition:
evtcache.h:23
EVT_DDLCommandStart
@ EVT_DDLCommandStart
Definition:
evtcache.h:22
EVT_TableRewrite
@ EVT_TableRewrite
Definition:
evtcache.h:25
pg_list.h
Oid
unsigned int Oid
Definition:
postgres_ext.h:32
Bitmapset
Definition:
bitmapset.h:50
EventTriggerCacheItem
Definition:
evtcache.h:30
EventTriggerCacheItem::fnoid
Oid fnoid
Definition:
evtcache.h:31
EventTriggerCacheItem::tagset
Bitmapset * tagset
Definition:
evtcache.h:33
EventTriggerCacheItem::enabled
char enabled
Definition:
evtcache.h:32
List
Definition:
pg_list.h:54
src
include
utils
evtcache.h
Generated on Sat Mar 15 2025 06:13:25 for PostgreSQL Source Code by
1.9.4