1 /*-------------------------------------------------------------------------
4 * definition of the system "inherits" relation (pg_inherits)
5 * along with the relation's initial contents.
8 * Copyright (c) 1994, Regents of the University of California
10 * $Id: pg_inherits.h,v 1.2 1996/10/31 09:47:35 scrappy Exp $
13 * the genbki.sh script reads this file and generates .bki
14 * information from the DATA() statements.
16 *-------------------------------------------------------------------------
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.
29 * pg_inherits definition. cpp turns this into
30 * typedef struct FormData_pg_inherits
33 CATALOG(pg_inherits) {
37 } FormData_pg_inherits;
40 * Form_pg_inherits corresponds to a pointer to a tuple with
41 * the format of pg_inherits relation.
44 typedef FormData_pg_inherits *InheritsTupleForm;
47 * compiler constants for pg_inherits
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
56 #endif /* PG_INHERITS_H */