PostgreSQL Source Code  git master
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.


typedef FormData_pg_authidForm_pg_authid


 CATALOG (pg_authid, 1260, AuthIdRelationId) BKI_SHARED_RELATION BKI_ROWTYPE_OID(2842
 DECLARE_TOAST_WITH_MACRO (pg_authid, 4175, 4176, PgAuthidToastTable, PgAuthidToastIndex)
 DECLARE_UNIQUE_INDEX (pg_authid_rolname_index, 2676, AuthIdRolnameIndexId, on pg_authid using btree(rolname name_ops))
 DECLARE_UNIQUE_INDEX_PKEY (pg_authid_oid_index, 2677, AuthIdOidIndexId, on pg_authid using btree(oid oid_ops))


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

Typedef Documentation

◆ Form_pg_authid

Definition at line 56 of file pg_authid.h.

Function Documentation


CATALOG ( pg_authid  ,
1260  ,


4175  ,
4176  ,
PgAuthidToastTable  ,


DECLARE_UNIQUE_INDEX ( pg_authid_rolname_index  ,
2676  ,
AuthIdRolnameIndexId  ,
on pg_authid using   btreerolname name_ops 


DECLARE_UNIQUE_INDEX_PKEY ( pg_authid_oid_index  ,
2677  ,
AuthIdOidIndexId  ,
on pg_authid using   btreeoid oid_ops 

Variable Documentation


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


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().