OSDN Git Service

Create a 'type cache' that keeps track of the data needed for any particular
[pg-rex/syncrep.git] / src / include / catalog / pg_amproc.h
1 /*-------------------------------------------------------------------------
2  *
3  * pg_amproc.h
4  *        definition of the system "amproc" relation (pg_amproc)
5  *        along with the relation's initial contents.
6  *
7  * The amproc table identifies support procedures associated with index
8  * opclasses.  These procedures can't be listed in pg_amop since they are
9  * not associated with indexable operators for the opclass.
10  *
11  * Note: the primary key for this table is <amopclaid, amprocnum>.
12  *
13  *
14  * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
15  * Portions Copyright (c) 1994, Regents of the University of California
16  *
17  * $Id: pg_amproc.h,v 1.44 2003/08/17 19:58:06 tgl Exp $
18  *
19  * NOTES
20  *        the genbki.sh script reads this file and generates .bki
21  *        information from the DATA() statements.
22  *
23  *-------------------------------------------------------------------------
24  */
25 #ifndef PG_AMPROC_H
26 #define PG_AMPROC_H
27
28 /* ----------------
29  *              postgres.h contains the system type definitions and the
30  *              CATALOG(), BOOTSTRAP and DATA() sugar words so this file
31  *              can be read by both genbki.sh and the C compiler.
32  * ----------------
33  */
34
35 /* ----------------
36  *              pg_amproc definition.  cpp turns this into
37  *              typedef struct FormData_pg_amproc
38  * ----------------
39  */
40 CATALOG(pg_amproc) BKI_WITHOUT_OIDS
41 {
42         Oid                     amopclaid;              /* the index opclass this entry is for */
43         int2            amprocnum;              /* support procedure index */
44         regproc         amproc;                 /* OID of the proc */
45 } FormData_pg_amproc;
46
47 /* ----------------
48  *              Form_pg_amproc corresponds to a pointer to a tuple with
49  *              the format of pg_amproc relation.
50  * ----------------
51  */
52 typedef FormData_pg_amproc *Form_pg_amproc;
53
54 /* ----------------
55  *              compiler constants for pg_amproc
56  * ----------------
57  */
58 #define Natts_pg_amproc                                 3
59 #define Anum_pg_amproc_amopclaid                1
60 #define Anum_pg_amproc_amprocnum                2
61 #define Anum_pg_amproc_amproc                   3
62
63 /* ----------------
64  *              initial contents of pg_amproc
65  * ----------------
66  */
67
68 /* rtree */
69 DATA(insert (    422 1  193 ));
70 DATA(insert (    422 2  194 ));
71 DATA(insert (    422 3  196 ));
72 DATA(insert (    425 1  193 ));
73 DATA(insert (    425 2  194 ));
74 DATA(insert (    425 3  195 ));
75 DATA(insert (   1993 1  197 ));
76 DATA(insert (   1993 2  198 ));
77 DATA(insert (   1993 3  199 ));
78
79
80 /* btree */
81 DATA(insert (    397 1  382 ));
82 DATA(insert (    421 1  357 ));
83 DATA(insert (    423 1 1596 ));
84 DATA(insert (    424 1 1693 ));
85 DATA(insert (    426 1 1078 ));
86 DATA(insert (    428 1 1954 ));
87 DATA(insert (    429 1  358 ));
88 DATA(insert (    432 1  926 ));
89 DATA(insert (    434 1 1092 ));
90 DATA(insert (   1970 1  354 ));
91 DATA(insert (   1972 1  355 ));
92 DATA(insert (   1974 1  926 ));
93 DATA(insert (   1976 1  350 ));
94 DATA(insert (   1978 1  351 ));
95 DATA(insert (   1980 1  842 ));
96 DATA(insert (   1982 1 1315 ));
97 DATA(insert (   1984 1  836 ));
98 DATA(insert (   1986 1  359 ));
99 DATA(insert (   1988 1 1769 ));
100 DATA(insert (   1989 1  356 ));
101 DATA(insert (   1991 1  404 ));
102 DATA(insert (   1994 1  360 ));
103 DATA(insert (   1996 1 1107 ));
104 DATA(insert (   1998 1 1314 ));
105 DATA(insert (   2000 1 1358 ));
106 DATA(insert (   2002 1 1672 ));
107 DATA(insert (   2003 1  360 ));
108 DATA(insert (   2039 1 2045 ));
109 DATA(insert (   2095 1 2166 ));
110 DATA(insert (   2096 1 2166 ));
111 DATA(insert (   2097 1 2180 ));
112 DATA(insert (   2098 1 2187 ));
113 DATA(insert (   2099 1  377 ));
114 DATA(insert (   2233 1  380 ));
115 DATA(insert (   2234 1  381 ));
116
117
118 /* hash */
119 DATA(insert (    427 1 1080 ));
120 DATA(insert (    431 1  454 ));
121 DATA(insert (    433 1  456 ));
122 DATA(insert (    435 1  450 ));
123 DATA(insert (   1971 1  451 ));
124 DATA(insert (   1973 1  452 ));
125 DATA(insert (   1975 1  456 ));
126 DATA(insert (   1977 1  449 ));
127 DATA(insert (   1979 1  450 ));
128 DATA(insert (   1981 1  949 ));
129 DATA(insert (   1983 1 1697 ));
130 DATA(insert (   1985 1  399 ));
131 DATA(insert (   1987 1  455 ));
132 DATA(insert (   1990 1  453 ));
133 DATA(insert (   1992 1  457 ));
134 DATA(insert (   1995 1  400 ));
135 DATA(insert (   1997 1  452 ));
136 DATA(insert (   1999 1  452 ));
137 DATA(insert (   2001 1 1696 ));
138 DATA(insert (   2004 1  400 ));
139 DATA(insert (   2040 1  452 ));
140 DATA(insert (   2222 1  454 ));
141 DATA(insert (   2223 1  456 ));
142 DATA(insert (   2224 1  398 ));
143 DATA(insert (   2225 1  450 ));
144 DATA(insert (   2226 1  450 ));
145 DATA(insert (   2227 1  450 ));
146 DATA(insert (   2228 1  450 ));
147 DATA(insert (   2229 1  456 ));
148 DATA(insert (   2230 1  456 ));
149 DATA(insert (   2231 1  456 ));
150 DATA(insert (   2232 1  455 ));
151 DATA(insert (   2235 1  329 ));
152
153 #endif   /* PG_AMPROC_H */