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 50 of file pg_policy.h.

Function Documentation

◆ CATALOG()

CATALOG ( pg_policy  ,
3256  ,
PolicyRelationId   
)

Definition at line 29 of file pg_policy.h.

References BKI_FORCE_NOT_NULL.

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

Variable Documentation

◆ FormData_pg_policy

FormData_pg_policy

Definition at line 43 of file pg_policy.h.