PostgreSQL Source Code  git master
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-2018, 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"
24 
25 /* ----------------
26  * pg_largeobject_metadata definition. cpp turns this into
27  * typedef struct FormData_pg_largeobject_metadata
28  * ----------------
29  */
30 CATALOG(pg_largeobject_metadata,2995,LargeObjectMetadataRelationId)
31 {
32  Oid lomowner; /* OID of the largeobject owner */
33 
34 #ifdef CATALOG_VARLEN /* variable-length fields start here */
35  aclitem lomacl[1]; /* access permissions */
36 #endif
38 
39 /* ----------------
40  * Form_pg_largeobject_metadata corresponds to a pointer to a tuple
41  * with the format of pg_largeobject_metadata relation.
42  * ----------------
43  */
45 
46 #endif /* PG_LARGEOBJECT_METADATA_H */
unsigned int Oid
Definition: postgres_ext.h:31
CATALOG(pg_largeobject_metadata, 2995, LargeObjectMetadataRelationId)
FormData_pg_largeobject_metadata * Form_pg_largeobject_metadata
FormData_pg_largeobject_metadata