pg_policy.h File Reference
Include dependency graph for pg_policy.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
CATALOG (pg_policy, 3256, PolicyRelationId)
DECLARE_UNIQUE_INDEX (pg_policy_polrelid_polname_index, 3258, PolicyPolrelidPolnameIndexId, pg_policy, btree(polrelid oid_ops, polname name_ops))
Typedef Documentation
◆ Form_pg_policy
Function Documentation
◆ CATALOG()
CATALOG
(
pg_policy
,
3256
,
PolicyRelationId
)
Definition at line 29 of file pg_policy.h.
30{
33 Oid polrelid
BKI_LOOKUP(pg_class);
/* Oid of the relation with
34 * policy. */
35 char polcmd; /* One of ACL_*_CHR, or '*' for all */
36 bool polpermissive; /* restrictive or permissive policy */
37
38#ifdef CATALOG_VARLEN
39 /* Roles to which the policy is applied; zero means PUBLIC */
41 pg_node_tree polqual; /* Policy quals. */
42 pg_node_tree polwithcheck; /* WITH CHECK quals. */
43#endif
#define BKI_LOOKUP(catalog)
#define BKI_LOOKUP_OPT(catalog)
#define BKI_FORCE_NOT_NULL
References BKI_FORCE_NOT_NULL, BKI_LOOKUP, and BKI_LOOKUP_OPT.
◆ DECLARE_TOAST()
DECLARE_TOAST
(
pg_policy
,
4167
,
4168
)
◆ DECLARE_UNIQUE_INDEX()
DECLARE_UNIQUE_INDEX
(
pg_policy_polrelid_polname_index
,
3258
,
PolicyPolrelidPolnameIndexId
,
pg_policy
,
btree(polrelid oid_ops, polname name_ops)
)
◆ DECLARE_UNIQUE_INDEX_PKEY()
DECLARE_UNIQUE_INDEX_PKEY
(
pg_policy_oid_index
,
3257
,
PolicyOidIndexId
,
pg_policy
,
btree(oid oid_ops)
)
Variable Documentation
◆ FormData_pg_policy