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 system "largeobject_metadata" relation (pg_largeobject_metadata)
5  * along with the relation's initial contents.
6  *
7  *
8  * Portions Copyright (c) 1996-2017, 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 genbki.pl script reads this file and generates .bki
15  * information from the DATA() statements.
16  *
17  *-------------------------------------------------------------------------
18  */
19 #ifndef PG_LARGEOBJECT_METADATA_H
20 #define PG_LARGEOBJECT_METADATA_H
21 
22 #include "catalog/genbki.h"
23 
24 /* ----------------
25  * pg_largeobject_metadata definition. cpp turns this into
26  * typedef struct FormData_pg_largeobject_metadata
27  * ----------------
28  */
29 #define LargeObjectMetadataRelationId 2995
30 
31 CATALOG(pg_largeobject_metadata,2995)
32 {
33  Oid lomowner; /* OID of the largeobject owner */
34 
35 #ifdef CATALOG_VARLEN /* variable-length fields start here */
36  aclitem lomacl[1]; /* access permissions */
37 #endif
39 
40 /* ----------------
41  * Form_pg_largeobject_metadata corresponds to a pointer to a tuple
42  * with the format of pg_largeobject_metadata relation.
43  * ----------------
44  */
46 
47 /* ----------------
48  * compiler constants for pg_largeobject_metadata
49  * ----------------
50  */
51 #define Natts_pg_largeobject_metadata 2
52 #define Anum_pg_largeobject_metadata_lomowner 1
53 #define Anum_pg_largeobject_metadata_lomacl 2
54 
55 #endif /* PG_LARGEOBJECT_METADATA_H */
unsigned int Oid
Definition: postgres_ext.h:31
CATALOG(pg_largeobject_metadata, 2995)
FormData_pg_largeobject_metadata * Form_pg_largeobject_metadata
FormData_pg_largeobject_metadata