Header And Logo

PostgreSQL
| The world's most advanced open source database.

Defines | Functions | Variables

pg_seclabel.h File Reference

#include "catalog/genbki.h"
Include dependency graph for pg_seclabel.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define SecLabelRelationId   3596
#define Natts_pg_seclabel   5
#define Anum_pg_seclabel_objoid   1
#define Anum_pg_seclabel_classoid   2
#define Anum_pg_seclabel_objsubid   3
#define Anum_pg_seclabel_provider   4
#define Anum_pg_seclabel_label   5

Functions

 CATALOG (pg_seclabel, 3596) BKI_WITHOUT_OIDS

Variables

 FormData_pg_seclabel

Define Documentation

#define Anum_pg_seclabel_classoid   2

Definition at line 41 of file pg_seclabel.h.

Referenced by DeleteSecurityLabel(), GetSecurityLabel(), and SetSecurityLabel().

#define Anum_pg_seclabel_label   5

Definition at line 44 of file pg_seclabel.h.

Referenced by GetSecurityLabel(), and SetSecurityLabel().

#define Anum_pg_seclabel_objoid   1

Definition at line 40 of file pg_seclabel.h.

Referenced by DeleteSecurityLabel(), GetSecurityLabel(), and SetSecurityLabel().

#define Anum_pg_seclabel_objsubid   3

Definition at line 42 of file pg_seclabel.h.

Referenced by DeleteSecurityLabel(), GetSecurityLabel(), and SetSecurityLabel().

#define Anum_pg_seclabel_provider   4

Definition at line 43 of file pg_seclabel.h.

Referenced by GetSecurityLabel(), and SetSecurityLabel().

#define Natts_pg_seclabel   5

Definition at line 39 of file pg_seclabel.h.

#define SecLabelRelationId   3596

Definition at line 21 of file pg_seclabel.h.

Referenced by DeleteSecurityLabel(), GetSecurityLabel(), and SetSecurityLabel().


Function Documentation

CATALOG ( pg_seclabel  ,
3596   
)

Definition at line 23 of file pg_seclabel.h.

References label.

{
    Oid         objoid;         /* OID of the object itself */
    Oid         classoid;       /* OID of table containing the object */
    int32       objsubid;       /* column number, or 0 if not used */

#ifdef CATALOG_VARLEN           /* variable-length fields start here */
    text        provider;       /* name of label provider */
    text        label;          /* security label of the object */
#endif
} FormData_pg_seclabel;


Variable Documentation

Definition at line 33 of file pg_seclabel.h.