PostgreSQL Source Code
git master
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
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
f
h
i
n
o
p
r
s
~
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
test_rls_hooks.h
Go to the documentation of this file.
1
/*--------------------------------------------------------------------------
2
*
3
* test_rls_hooks.h
4
* Definitions for RLS hooks
5
*
6
* Copyright (c) 2015-2025, PostgreSQL Global Development Group
7
*
8
* IDENTIFICATION
9
* src/test/modules/test_rls_hooks/test_rls_hooks.h
10
*
11
* -------------------------------------------------------------------------
12
*/
13
14
#ifndef TEST_RLS_HOOKS_H
15
#define TEST_RLS_HOOKS_H
16
17
#include "
rewrite/rowsecurity.h
"
18
19
/* Return set of permissive hooks based on CmdType and Relation */
20
extern
List
*
test_rls_hooks_permissive
(
CmdType
cmdtype,
Relation
relation);
21
22
/* Return set of restrictive hooks based on CmdType and Relation */
23
extern
List
*
test_rls_hooks_restrictive
(
CmdType
cmdtype,
Relation
relation);
24
25
#endif
CmdType
CmdType
Definition:
nodes.h:263
rowsecurity.h
List
Definition:
pg_list.h:54
RelationData
Definition:
rel.h:56
test_rls_hooks_restrictive
List * test_rls_hooks_restrictive(CmdType cmdtype, Relation relation)
Definition:
test_rls_hooks.c:112
test_rls_hooks_permissive
List * test_rls_hooks_permissive(CmdType cmdtype, Relation relation)
Definition:
test_rls_hooks.c:44
src
test
modules
test_rls_hooks
test_rls_hooks.h
Generated on Tue Jan 21 2025 12:13:29 for PostgreSQL Source Code by
1.9.4