PostgreSQL Source Code git master
Loading...
Searching...
No Matches
pg_largeobject_metadata.h
Go to the documentation of this file.
1/*-------------------------------------------------------------------------
2 *
3 * pg_largeobject_metadata.h
4 * definition of the "large object metadata" system catalog
5 * (pg_largeobject_metadata)
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_largeobject_metadata.h
12 *
13 * NOTES
14 * The Catalog.pm module reads this file and derives schema
15 * information.
16 *
17 *-------------------------------------------------------------------------
18 */
19#ifndef PG_LARGEOBJECT_METADATA_H
20#define PG_LARGEOBJECT_METADATA_H
21
22#include "catalog/genbki.h"
23#include "catalog/pg_largeobject_metadata_d.h" /* IWYU pragma: export */
24
25/* ----------------
26 * pg_largeobject_metadata definition. cpp turns this into
27 * typedef struct FormData_pg_largeobject_metadata
28 * ----------------
29 */
31{
32 Oid oid; /* oid */
33
34 Oid lomowner BKI_LOOKUP(pg_authid); /* OID of the largeobject
35 * owner */
36
37#ifdef CATALOG_VARLEN /* variable-length fields start here */
38 aclitem lomacl[1]; /* access permissions */
39#endif
41
42/* ----------------
43 * Form_pg_largeobject_metadata corresponds to a pointer to a tuple
44 * with the format of pg_largeobject_metadata relation.
45 * ----------------
46 */
48
50
51#endif /* PG_LARGEOBJECT_METADATA_H */
#define DECLARE_UNIQUE_INDEX_PKEY(name, oid, oidmacro, tblname, decl)
Definition genbki.h:86
#define BKI_LOOKUP(catalog)
Definition genbki.h:46
#define CATALOG(name, oid, oidmacro)
Definition genbki.h:23
FormData_pg_largeobject_metadata * Form_pg_largeobject_metadata
FormData_pg_largeobject_metadata
unsigned int Oid
static int fb(int x)