PostgreSQL Source Code: src/include/rewrite/rowsecurity.h Source File (original) (raw)
Go to the documentation of this file.
1
2
3
4
5
6
7
8
9
10
11
12
13#ifndef ROWSECURITY_H
14#define ROWSECURITY_H
15
19
21{
25 bool permissive;
28 bool hassublinks;
30
32{
36
37typedef List *(*row_security_policy_hook_type) (CmdType cmdtype,
39
41
43
46 List **securityQuals, List **withCheckOptions,
47 bool *hasRowSecurity, bool *hasSubLinks);
48
49#endif
struct RowSecurityPolicy RowSecurityPolicy
List *(* row_security_policy_hook_type)(CmdType cmdtype, Relation relation)
PGDLLIMPORT row_security_policy_hook_type row_security_policy_hook_restrictive
struct RowSecurityDesc RowSecurityDesc
PGDLLIMPORT row_security_policy_hook_type row_security_policy_hook_permissive
void get_row_security_policies(Query *root, RangeTblEntry *rte, int rt_index, List **securityQuals, List **withCheckOptions, bool *hasRowSecurity, bool *hasSubLinks)