1 /*-------------------------------------------------------------------------
4 * definition of the system "statistic" relation (pg_statistic)
5 * along with the relation's initial contents.
8 * Copyright (c) 1994, Regents of the University of California
10 * $Id: pg_statistic.h,v 1.4 1997/09/08 02:35:27 momjian Exp $
13 * the genbki.sh script reads this file and generates .bki
14 * information from the DATA() statements.
16 *-------------------------------------------------------------------------
18 #ifndef PG_STATISTIC_H
19 #define PG_STATISTIC_H
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_statistic definition. cpp turns this into
30 * typedef struct FormData_pg_statistic
38 text stalokey; /* VARIABLE LENGTH FIELD */
39 text stahikey; /* VARIABLE LENGTH FIELD */
40 } FormData_pg_statistic;
43 * Form_pg_statistic corresponds to a pointer to a tuple with
44 * the format of pg_statistic relation.
47 typedef FormData_pg_statistic *Form_pg_statistic;
50 * compiler constants for pg_statistic
53 #define Natts_pg_statistic 5
54 #define Anum_pg_statistic_starelid 1
55 #define Anum_pg_statistic_staattnum 2
56 #define Anum_pg_statistic_staop 3
57 #define Anum_pg_statistic_stalokey 4
58 #define Anum_pg_statistic_stahikey 5
60 #endif /* PG_STATISTIC_H */