1 /*-------------------------------------------------------------------------
4 * definition of the system "attribute defaults" relation (pg_attrdef)
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_attrdef.h,v 1.14 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_attrdef definition. cpp turns this into
31 * typedef struct FormData_pg_attrdef
40 } FormData_pg_attrdef;
43 * Form_pg_attrdef corresponds to a pointer to a tuple with
44 * the format of pg_attrdef relation.
47 typedef FormData_pg_attrdef *Form_pg_attrdef;
50 * compiler constants for pg_attrdef
53 #define Natts_pg_attrdef 4
54 #define Anum_pg_attrdef_adrelid 1
55 #define Anum_pg_attrdef_adnum 2
56 #define Anum_pg_attrdef_adbin 3
57 #define Anum_pg_attrdef_adsrc 4
59 #endif /* PG_ATTRDEF_H */