Header And Logo

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

Defines | Typedefs | Functions | Variables

pg_authid.h File Reference

#include "catalog/genbki.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.

Defines

#define timestamptz   int
#define AuthIdRelationId   1260
#define AuthIdRelation_Rowtype_Id   2842
#define Natts_pg_authid   11
#define Anum_pg_authid_rolname   1
#define Anum_pg_authid_rolsuper   2
#define Anum_pg_authid_rolinherit   3
#define Anum_pg_authid_rolcreaterole   4
#define Anum_pg_authid_rolcreatedb   5
#define Anum_pg_authid_rolcatupdate   6
#define Anum_pg_authid_rolcanlogin   7
#define Anum_pg_authid_rolreplication   8
#define Anum_pg_authid_rolconnlimit   9
#define Anum_pg_authid_rolpassword   10
#define Anum_pg_authid_rolvaliduntil   11
#define BOOTSTRAP_SUPERUSERID   10

Typedefs

typedef FormData_pg_authidForm_pg_authid

Functions

 CATALOG (pg_authid, 1260) BKI_SHARED_RELATION BKI_ROWTYPE_OID(2842) BKI_SCHEMA_MACRO
 DATA (insert OID=10("POSTGRES"t t t t t t t-1 _null_ _null_))

Variables

 FormData_pg_authid

Define Documentation

#define Anum_pg_authid_rolcanlogin   7

Definition at line 83 of file pg_authid.h.

Referenced by AlterRole(), and CreateRole().

#define Anum_pg_authid_rolcatupdate   6

Definition at line 82 of file pg_authid.h.

Referenced by AlterRole(), and CreateRole().

#define Anum_pg_authid_rolconnlimit   9

Definition at line 85 of file pg_authid.h.

Referenced by AlterRole(), and CreateRole().

#define Anum_pg_authid_rolcreatedb   5

Definition at line 81 of file pg_authid.h.

Referenced by AlterRole(), and CreateRole().

#define Anum_pg_authid_rolcreaterole   4

Definition at line 80 of file pg_authid.h.

Referenced by AlterRole(), and CreateRole().

#define Anum_pg_authid_rolinherit   3

Definition at line 79 of file pg_authid.h.

Referenced by AlterRole(), and CreateRole().

#define Anum_pg_authid_rolname   1

Definition at line 77 of file pg_authid.h.

Referenced by CreateRole(), and RenameRole().

#define Anum_pg_authid_rolpassword   10

Definition at line 86 of file pg_authid.h.

Referenced by AlterRole(), CreateRole(), md5_crypt_verify(), and RenameRole().

#define Anum_pg_authid_rolreplication   8

Definition at line 84 of file pg_authid.h.

Referenced by AlterRole(), and CreateRole().

#define Anum_pg_authid_rolsuper   2

Definition at line 78 of file pg_authid.h.

Referenced by AlterRole(), and CreateRole().

#define Anum_pg_authid_rolvaliduntil   11

Definition at line 87 of file pg_authid.h.

Referenced by AlterRole(), CreateRole(), and md5_crypt_verify().

#define AuthIdRelation_Rowtype_Id   2842

Definition at line 43 of file pg_authid.h.

Referenced by RelationCacheInitializePhase2().

#define AuthIdRelationId   1260
#define BOOTSTRAP_SUPERUSERID   10
#define Natts_pg_authid   11

Definition at line 76 of file pg_authid.h.

Referenced by RelationCacheInitializePhase2().

#define timestamptz   int

Definition at line 34 of file pg_authid.h.

Referenced by CATALOG().


Typedef Documentation

Definition at line 70 of file pg_authid.h.


Function Documentation

CATALOG ( pg_authid  ,
1260   
)

Definition at line 45 of file pg_authid.h.

References timestamptz.

{
    NameData    rolname;        /* name of role */
    bool        rolsuper;       /* read this field via superuser() only! */
    bool        rolinherit;     /* inherit privileges from other roles? */
    bool        rolcreaterole;  /* allowed to create more roles? */
    bool        rolcreatedb;    /* allowed to create databases? */
    bool        rolcatupdate;   /* allowed to alter catalogs manually? */
    bool        rolcanlogin;    /* allowed to log in as session user? */
    bool        rolreplication; /* role used for streaming replication */
    int32       rolconnlimit;   /* max connections allowed (-1=no limit) */

    /* remaining fields may be null; use heap_getattr to read them! */
    text        rolpassword;    /* password, if any */
    timestamptz rolvaliduntil;  /* password expiration time, if any */
} FormData_pg_authid;

DATA ( insert  OID = 10("POSTGRES"t t t t t t t-1 _null_ _null_)  ) 

Variable Documentation

Definition at line 60 of file pg_authid.h.