PostgreSQL Source Code git master
Loading...
Searching...
No Matches
pg_parameter_acl.h
Go to the documentation of this file.
1/*-------------------------------------------------------------------------
2 *
3 * pg_parameter_acl.h
4 * definition of the "configuration parameter ACL" system catalog
5 * (pg_parameter_acl).
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_parameter_acl.h
12 *
13 * NOTES
14 * The Catalog.pm module reads this file and derives schema
15 * information.
16 *
17 *-------------------------------------------------------------------------
18 */
19#ifndef PG_PARAMETER_ACL_H
20#define PG_PARAMETER_ACL_H
21
22#include "catalog/genbki.h"
23#include "catalog/pg_parameter_acl_d.h" /* IWYU pragma: export */
24
25/* ----------------
26 * pg_parameter_acl definition. cpp turns this into
27 * typedef struct FormData_pg_parameter_acl
28 * ----------------
29 */
31
33{
34 Oid oid; /* oid */
35
36#ifdef CATALOG_VARLEN /* variable-length fields start here */
37 /* name of parameter */
39
40 /* access permissions */
42#endif
44
46
47
48/* ----------------
49 * Form_pg_parameter_acl corresponds to a pointer to a tuple with
50 * the format of pg_parameter_acl relation.
51 * ----------------
52 */
54
56
59
62
63extern Oid ParameterAclLookup(const char *parameter, bool missing_ok);
64extern Oid ParameterAclCreate(const char *parameter);
65
66#endif /* PG_PARAMETER_ACL_H */
#define BEGIN_CATALOG_STRUCT
Definition genbki.h:37
#define DECLARE_UNIQUE_INDEX_PKEY(name, oid, oidmacro, tblname, decl)
Definition genbki.h:105
#define END_CATALOG_STRUCT
Definition genbki.h:38
#define BKI_DEFAULT(value)
Definition genbki.h:54
#define DECLARE_TOAST_WITH_MACRO(name, toastoid, indexoid, toastoidmacro, indexoidmacro)
Definition genbki.h:83
#define DECLARE_UNIQUE_INDEX(name, oid, oidmacro, tblname, decl)
Definition genbki.h:104
#define BKI_FORCE_NOT_NULL
Definition genbki.h:52
#define CATALOG(name, oid, oidmacro)
Definition genbki.h:42
#define MAKE_SYSCACHE(name, idxname, nbuckets)
Definition genbki.h:146
#define BKI_SHARED_RELATION
Definition genbki.h:46
END_CATALOG_STRUCT typedef FormData_pg_parameter_acl * Form_pg_parameter_acl
FormData_pg_parameter_acl
Oid ParameterAclLookup(const char *parameter, bool missing_ok)
Oid ParameterAclCreate(const char *parameter)
unsigned int Oid
static int fb(int x)
Definition c.h:718