1 /*-------------------------------------------------------------------------
4 * definition of the system "inherits" relation (pg_inherits)
5 * along with the relation's initial contents.
8 * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
9 * Portions Copyright (c) 1994, Regents of the University of California
11 * $Id: pg_inherits.h,v 1.15 2003/03/10 22:28:19 tgl Exp $
14 * the genbki.sh script reads this file and generates .bki
15 * information from the DATA() statements.
17 *-------------------------------------------------------------------------
23 * postgres.h contains the system type definitions and the
24 * CATALOG(), BOOTSTRAP and DATA() sugar words so this file
25 * can be read by both genbki.sh and the C compiler.
30 * pg_inherits definition. cpp turns this into
31 * typedef struct FormData_pg_inherits
34 CATALOG(pg_inherits) BKI_WITHOUT_OIDS
39 } FormData_pg_inherits;
42 * Form_pg_inherits corresponds to a pointer to a tuple with
43 * the format of pg_inherits relation.
46 typedef FormData_pg_inherits *Form_pg_inherits;
49 * compiler constants for pg_inherits
52 #define Natts_pg_inherits 3
53 #define Anum_pg_inherits_inhrelid 1
54 #define Anum_pg_inherits_inhparent 2
55 #define Anum_pg_inherits_inhseqno 3
57 #endif /* PG_INHERITS_H */