PostgreSQL Source Code
git master
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:265
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 Mon Mar 24 2025 06:13:27 for PostgreSQL Source Code by
1.9.4