Исходный код СУБД RuDB — свободной СУБД с открытым исходным кодом на базе PostgreSQL
rudb
3 days ago bd039d1e92813358c5c5a1e346b49074baf513f2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*--------------------------------------------------------------------------
 *
 * test_rls_hooks.h
 *      Definitions for RLS hooks
 *
 * Copyright (c) 2015-2026, PostgreSQL Global Development Group
 *
 * IDENTIFICATION
 *      src/test/modules/test_rls_hooks/test_rls_hooks.h
 *
 * -------------------------------------------------------------------------
 */
 
#ifndef TEST_RLS_HOOKS_H
#define TEST_RLS_HOOKS_H
 
#include "rewrite/rowsecurity.h"
 
/* Return set of permissive hooks based on CmdType and Relation */
extern List *test_rls_hooks_permissive(CmdType cmdtype, Relation relation);
 
/* Return set of restrictive hooks based on CmdType and Relation */
extern List *test_rls_hooks_restrictive(CmdType cmdtype, Relation relation);
 
#endif