1 /*-------------------------------------------------------------------------
4 * definition of the system "inherits" relation (pg_inherits)
5 * along with the relation's initial contents.
8 * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
9 * Portions Copyright (c) 1994, Regents of the University of California
11 * $PostgreSQL: pgsql/src/include/catalog/pg_inherits.h,v 1.20 2005/04/14 01:38:20 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(), BKI_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 #define InheritsRelationId 2611
36 CATALOG(pg_inherits,2611) BKI_WITHOUT_OIDS
41 } FormData_pg_inherits;
44 * Form_pg_inherits corresponds to a pointer to a tuple with
45 * the format of pg_inherits relation.
48 typedef FormData_pg_inherits *Form_pg_inherits;
51 * compiler constants for pg_inherits
54 #define Natts_pg_inherits 3
55 #define Anum_pg_inherits_inhrelid 1
56 #define Anum_pg_inherits_inhparent 2
57 #define Anum_pg_inherits_inhseqno 3
59 #endif /* PG_INHERITS_H */