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{
32 Oid oid; /* oid */
33
34#ifdef CATALOG_VARLEN /* variable-length fields start here */
35 /* name of parameter */
37
38 /* access permissions */
40#endif
42
43
44/* ----------------
45 * Form_pg_parameter_acl corresponds to a pointer to a tuple with
46 * the format of pg_parameter_acl relation.
47 * ----------------
48 */
50
52
55
58
59extern Oid ParameterAclLookup(const char *parameter, bool missing_ok);
60extern Oid ParameterAclCreate(const char *parameter);
61
62#endif /* PG_PARAMETER_ACL_H */
#define DECLARE_UNIQUE_INDEX_PKEY(name, oid, oidmacro, tblname, decl)
Definition genbki.h:86
#define BKI_DEFAULT(value)
Definition genbki.h:35
#define DECLARE_TOAST_WITH_MACRO(name, toastoid, indexoid, toastoidmacro, indexoidmacro)
Definition genbki.h:64
#define DECLARE_UNIQUE_INDEX(name, oid, oidmacro, tblname, decl)
Definition genbki.h:85
#define BKI_FORCE_NOT_NULL
Definition genbki.h:33
#define CATALOG(name, oid, oidmacro)
Definition genbki.h:23
#define MAKE_SYSCACHE(name, idxname, nbuckets)
Definition genbki.h:127
#define BKI_SHARED_RELATION
Definition genbki.h:27
FormData_pg_parameter_acl
Oid ParameterAclLookup(const char *parameter, bool missing_ok)
FormData_pg_parameter_acl * Form_pg_parameter_acl
Oid ParameterAclCreate(const char *parameter)
unsigned int Oid
static int fb(int x)
Definition c.h:706