PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
pg_auth_members.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * pg_auth_members.h
4  * definition of the system "authorization identifier members" relation
5  * (pg_auth_members) along with the relation's initial contents.
6  *
7  *
8  * Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group
9  * Portions Copyright (c) 1994, Regents of the University of California
10  *
11  * src/include/catalog/pg_auth_members.h
12  *
13  * NOTES
14  * the genbki.pl script reads this file and generates .bki
15  * information from the DATA() statements.
16  *
17  *-------------------------------------------------------------------------
18  */
19 #ifndef PG_AUTH_MEMBERS_H
20 #define PG_AUTH_MEMBERS_H
21 
22 #include "catalog/genbki.h"
23 
24 /* ----------------
25  * pg_auth_members definition. cpp turns this into
26  * typedef struct FormData_pg_auth_members
27  * ----------------
28  */
29 #define AuthMemRelationId 1261
30 #define AuthMemRelation_Rowtype_Id 2843
31 
33 {
34  Oid roleid; /* ID of a role */
35  Oid member; /* ID of a member of that role */
36  Oid grantor; /* who granted the membership */
37  bool admin_option; /* granted with admin option? */
39 
40 /* ----------------
41  * Form_pg_auth_members corresponds to a pointer to a tuple with
42  * the format of pg_auth_members relation.
43  * ----------------
44  */
46 
47 /* ----------------
48  * compiler constants for pg_auth_members
49  * ----------------
50  */
51 #define Natts_pg_auth_members 4
52 #define Anum_pg_auth_members_roleid 1
53 #define Anum_pg_auth_members_member 2
54 #define Anum_pg_auth_members_grantor 3
55 #define Anum_pg_auth_members_admin_option 4
56 
57 #endif /* PG_AUTH_MEMBERS_H */
#define BKI_SCHEMA_MACRO
Definition: genbki.h:30
#define BKI_SHARED_RELATION
Definition: genbki.h:27
unsigned int Oid
Definition: postgres_ext.h:31
FormData_pg_auth_members
#define BKI_WITHOUT_OIDS
Definition: genbki.h:28
#define BKI_ROWTYPE_OID(oid)
Definition: genbki.h:29
FormData_pg_auth_members * Form_pg_auth_members
CATALOG(pg_auth_members, 1261) BKI_SHARED_RELATION BKI_WITHOUT_OIDS BKI_ROWTYPE_OID(2843) BKI_SCHEMA_MACRO