PostgreSQL Source Code git master
Loading...
Searching...
No Matches
pg_auth_members.h
Go to the documentation of this file.
1/*-------------------------------------------------------------------------
2 *
3 * pg_auth_members.h
4 * definition of the "authorization identifier members" system catalog
5 * (pg_auth_members).
6 *
7 *
8 * Portions Copyright (c) 1996-2026, 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 Catalog.pm module reads this file and derives schema
15 * information.
16 *
17 *-------------------------------------------------------------------------
18 */
19#ifndef PG_AUTH_MEMBERS_H
20#define PG_AUTH_MEMBERS_H
21
22#include "catalog/genbki.h"
23#include "catalog/pg_auth_members_d.h" /* IWYU pragma: export */
24
25/* ----------------
26 * pg_auth_members definition. cpp turns this into
27 * typedef struct FormData_pg_auth_members
28 * ----------------
29 */
31
33{
34 /* OID for this record (needed for dependencies) */
35 Oid oid;
36
37 /* ID of a role */
39
40 /* ID of a member of that role */
41 Oid member BKI_LOOKUP(pg_authid);
42
43 /* who granted the membership */
45
46 /* granted with admin option? */
48
49 /* exercise privileges without SET ROLE? */
51
52 /* use SET ROLE to the target role? */
53 bool set_option BKI_DEFAULT(t);
55
57
58/* ----------------
59 * Form_pg_auth_members corresponds to a pointer to a tuple with
60 * the format of pg_auth_members relation.
61 * ----------------
62 */
64
69
72
73#endif /* PG_AUTH_MEMBERS_H */
void set_option(char *arg)
Definition args.c:261
#define BEGIN_CATALOG_STRUCT
Definition genbki.h:37
#define DECLARE_UNIQUE_INDEX_PKEY(name, oid, oidmacro, tblname, decl)
Definition genbki.h:105
#define BKI_LOOKUP(catalog)
Definition genbki.h:65
#define END_CATALOG_STRUCT
Definition genbki.h:38
#define BKI_DEFAULT(value)
Definition genbki.h:54
#define DECLARE_UNIQUE_INDEX(name, oid, oidmacro, tblname, decl)
Definition genbki.h:104
#define CATALOG(name, oid, oidmacro)
Definition genbki.h:42
#define DECLARE_INDEX(name, oid, oidmacro, tblname, decl)
Definition genbki.h:103
#define MAKE_SYSCACHE(name, idxname, nbuckets)
Definition genbki.h:146
#define BKI_SHARED_RELATION
Definition genbki.h:46
#define BKI_ROWTYPE_OID(oid, oidmacro)
Definition genbki.h:47
END_CATALOG_STRUCT typedef FormData_pg_auth_members * Form_pg_auth_members
FormData_pg_auth_members
BEGIN_CATALOG_STRUCT AuthMemRelation_Rowtype_Id BKI_SCHEMA_MACRO
unsigned int Oid
static int fb(int x)