PostgreSQL Source Code  git master
pg_publication_rel.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * pg_publication_rel.h
4  * definition of the publication to relation map (pg_publication_rel)
5  *
6  * Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group
7  * Portions Copyright (c) 1994, Regents of the University of California
8  *
9  * src/include/catalog/pg_publication_rel.h
10  *
11  * NOTES
12  * the genbki.pl script reads this file and generates .bki
13  * information from the DATA() statements.
14  *
15  *-------------------------------------------------------------------------
16  */
17 #ifndef PG_PUBLICATION_REL_H
18 #define PG_PUBLICATION_REL_H
19 
20 #include "catalog/genbki.h"
21 
22 /* ----------------
23  * pg_publication_rel definition. cpp turns this into
24  * typedef struct FormData_pg_publication_rel
25  *
26  * ----------------
27  */
28 #define PublicationRelRelationId 6106
29 
30 CATALOG(pg_publication_rel,6106)
31 {
32  Oid prpubid; /* Oid of the publication */
33  Oid prrelid; /* Oid of the relation */
35 
36 /* ----------------
37  * Form_pg_publication_rel corresponds to a pointer to a tuple with
38  * the format of pg_publication_rel relation.
39  * ----------------
40  */
42 
43 /* ----------------
44  * compiler constants for pg_publication_rel
45  * ----------------
46  */
47 
48 #define Natts_pg_publication_rel 2
49 #define Anum_pg_publication_rel_prpubid 1
50 #define Anum_pg_publication_rel_prrelid 2
51 
52 #endif /* PG_PUBLICATION_REL_H */
unsigned int Oid
Definition: postgres_ext.h:31
CATALOG(pg_publication_rel, 6106)
FormData_pg_publication_rel
FormData_pg_publication_rel * Form_pg_publication_rel