OSDN Git Service

remove:
[pg-rex/syncrep.git] / src / include / catalog / pg_inherits.h
1 /*-------------------------------------------------------------------------
2  *
3  * pg_inherits.h--
4  *    definition of the system "inherits" relation (pg_inherits)
5  *    along with the relation's initial contents.
6  *
7  *
8  * Copyright (c) 1994, Regents of the University of California
9  *
10  * $Id: pg_inherits.h,v 1.2 1996/10/31 09:47:35 scrappy Exp $
11  *
12  * NOTES
13  *    the genbki.sh script reads this file and generates .bki
14  *    information from the DATA() statements.
15  *
16  *-------------------------------------------------------------------------
17  */
18 #ifndef PG_INHERITS_H
19 #define PG_INHERITS_H
20
21 /* ----------------
22  *      postgres.h contains the system type definintions and the
23  *      CATALOG(), BOOTSTRAP and DATA() sugar words so this file
24  *      can be read by both genbki.sh and the C compiler.
25  * ----------------
26  */
27
28 /* ----------------
29  *      pg_inherits definition.  cpp turns this into
30  *      typedef struct FormData_pg_inherits
31  * ----------------
32  */ 
33 CATALOG(pg_inherits) {
34     Oid         inhrel;
35     Oid         inhparent;
36     int4        inhseqno;
37 } FormData_pg_inherits;
38
39 /* ----------------
40  *      Form_pg_inherits corresponds to a pointer to a tuple with
41  *      the format of pg_inherits relation.
42  * ----------------
43  */
44 typedef FormData_pg_inherits    *InheritsTupleForm;
45
46 /* ----------------
47  *      compiler constants for pg_inherits
48  * ----------------
49  */
50 #define Natts_pg_inherits               3
51 #define Anum_pg_inherits_inhrel         1
52 #define Anum_pg_inherits_inhparent      2
53 #define Anum_pg_inherits_inhseqno       3
54
55
56 #endif /* PG_INHERITS_H */