PostgreSQL Source Code  git master
pg_policy.h File Reference
#include "catalog/genbki.h"
#include "catalog/pg_policy_d.h"
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.

Typedefs

typedef FormData_pg_policyForm_pg_policy
 

Functions

 CATALOG (pg_policy, 3256, PolicyRelationId)
 

Variables

 FormData_pg_policy
 

Typedef Documentation

◆ Form_pg_policy

Definition at line 48 of file pg_policy.h.

Function Documentation

◆ CATALOG()

CATALOG ( pg_policy  ,
3256  ,
PolicyRelationId   
)

Definition at line 29 of file pg_policy.h.

30 {
31  NameData polname; /* Policy name. */
32  Oid polrelid; /* Oid of the relation with policy. */
33  char polcmd; /* One of ACL_*_CHR, or '*' for all */
34  bool polpermissive; /* restrictive or permissive policy */
35 
36 #ifdef CATALOG_VARLEN
37  Oid polroles[1]; /* Roles associated with policy, not-NULL */
38  pg_node_tree polqual; /* Policy quals. */
39  pg_node_tree polwithcheck; /* WITH CHECK quals. */
40 #endif
FormData_pg_policy
Definition: pg_policy.h:41
unsigned int Oid
Definition: postgres_ext.h:31
Definition: c.h:570

Variable Documentation

◆ FormData_pg_policy

FormData_pg_policy

Definition at line 41 of file pg_policy.h.