PostgreSQL Source Code git master
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
pg_authid.h File Reference
#include "catalog/genbki.h"
#include "catalog/pg_authid_d.h"
Include dependency graph for pg_authid.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef FormData_pg_authidForm_pg_authid
 

Functions

 CATALOG (pg_authid, 1260, AuthIdRelationId) BKI_SHARED_RELATION BKI_ROWTYPE_OID(2842
 
 DECLARE_UNIQUE_INDEX (pg_authid_rolname_index, 2676, AuthIdRolnameIndexId, pg_authid, btree(rolname name_ops))
 
 DECLARE_UNIQUE_INDEX_PKEY (pg_authid_oid_index, 2677, AuthIdOidIndexId, pg_authid, btree(oid oid_ops))
 
 MAKE_SYSCACHE (AUTHNAME, pg_authid_rolname_index, 8)
 
 MAKE_SYSCACHE (AUTHOID, pg_authid_oid_index, 8)
 

Variables

AuthIdRelation_Rowtype_Id BKI_SCHEMA_MACRO
 
NameData rolname
 
bool rolsuper
 
bool rolinherit
 
bool rolcreaterole
 
bool rolcreatedb
 
bool rolcanlogin
 
bool rolreplication
 
bool rolbypassrls
 
int32 rolconnlimit
 
 FormData_pg_authid
 

Typedef Documentation

◆ Form_pg_authid

Definition at line 56 of file pg_authid.h.

Function Documentation

◆ CATALOG()

CATALOG ( pg_authid  ,
1260  ,
AuthIdRelationId   
)

◆ DECLARE_UNIQUE_INDEX()

DECLARE_UNIQUE_INDEX ( pg_authid_rolname_index  ,
2676  ,
AuthIdRolnameIndexId  ,
pg_authid  ,
btree(rolname name_ops)   
)

◆ DECLARE_UNIQUE_INDEX_PKEY()

DECLARE_UNIQUE_INDEX_PKEY ( pg_authid_oid_index  ,
2677  ,
AuthIdOidIndexId  ,
pg_authid  ,
btree(oid oid_ops)   
)

◆ MAKE_SYSCACHE() [1/2]

MAKE_SYSCACHE ( AUTHNAME  ,
pg_authid_rolname_index  ,
 
)

◆ MAKE_SYSCACHE() [2/2]

MAKE_SYSCACHE ( AUTHOID  ,
pg_authid_oid_index  ,
 
)

Variable Documentation

◆ BKI_SCHEMA_MACRO

AuthIdRelation_Rowtype_Id BKI_SCHEMA_MACRO
Initial value:
{
Oid oid
unsigned int Oid
Definition: postgres_ext.h:31

Definition at line 31 of file pg_authid.h.

◆ FormData_pg_authid

FormData_pg_authid

Definition at line 49 of file pg_authid.h.

◆ rolbypassrls

bool rolbypassrls

Definition at line 41 of file pg_authid.h.

Referenced by has_bypassrls_privilege().

◆ rolcanlogin

bool rolcanlogin

Definition at line 39 of file pg_authid.h.

◆ rolconnlimit

int32 rolconnlimit

Definition at line 42 of file pg_authid.h.

◆ rolcreatedb

bool rolcreatedb

Definition at line 38 of file pg_authid.h.

Referenced by have_createdb_privilege().

◆ rolcreaterole

bool rolcreaterole

Definition at line 37 of file pg_authid.h.

Referenced by has_createrole_privilege().

◆ rolinherit

bool rolinherit

Definition at line 36 of file pg_authid.h.

◆ rolname

◆ rolreplication

bool rolreplication

Definition at line 40 of file pg_authid.h.

Referenced by has_rolreplication().

◆ rolsuper

bool rolsuper

Definition at line 35 of file pg_authid.h.

Referenced by superuser_arg().