Fix obsolete comment regarding FSM truncation.
[PostgreSQL.git] / src / include / catalog / pg_auth_members.h
blob6ee357a684843f7523044ee7634103c99af32732
1 /*-------------------------------------------------------------------------
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.
8 * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
9 * Portions Copyright (c) 1994, Regents of the University of California
11 * $PostgreSQL$
13 * NOTES
14 * the genbki.sh script reads this file and generates .bki
15 * information from the DATA() statements.
17 *-------------------------------------------------------------------------
19 #ifndef PG_AUTH_MEMBERS_H
20 #define PG_AUTH_MEMBERS_H
22 #include "catalog/genbki.h"
24 /* ----------------
25 * pg_auth_members definition. cpp turns this into
26 * typedef struct FormData_pg_auth_members
27 * ----------------
29 #define AuthMemRelationId 1261
31 CATALOG(pg_auth_members,1261) BKI_SHARED_RELATION BKI_WITHOUT_OIDS
33 Oid roleid; /* ID of a role */
34 Oid member; /* ID of a member of that role */
35 Oid grantor; /* who granted the membership */
36 bool admin_option; /* granted with admin option? */
37 } FormData_pg_auth_members;
39 /* ----------------
40 * Form_pg_auth_members corresponds to a pointer to a tuple with
41 * the format of pg_auth_members relation.
42 * ----------------
44 typedef FormData_pg_auth_members *Form_pg_auth_members;
46 /* ----------------
47 * compiler constants for pg_auth_members
48 * ----------------
50 #define Natts_pg_auth_members 4
51 #define Anum_pg_auth_members_roleid 1
52 #define Anum_pg_auth_members_member 2
53 #define Anum_pg_auth_members_grantor 3
54 #define Anum_pg_auth_members_admin_option 4
56 #endif /* PG_AUTH_MEMBERS_H */