OSDN Git Service

Added nbtree operator class for NUMERIC
[pg-rex/syncrep.git] / src / include / catalog / pg_amproc.h
1 /*-------------------------------------------------------------------------
2  *
3  * pg_amproc.h
4  *        definition of the system "amproc" relation (pg_amproce)
5  *        along with the relation's initial contents.  The amproc
6  *        catalog is used to store procedures used by indexed access
7  *        methods that aren't associated with operators.
8  *
9  *
10  * Copyright (c) 1994, Regents of the University of California
11  *
12  * $Id: pg_amproc.h,v 1.15 1999/09/29 21:13:30 wieck Exp $
13  *
14  * NOTES
15  *        the genbki.sh script reads this file and generates .bki
16  *        information from the DATA() statements.
17  *
18  *-------------------------------------------------------------------------
19  */
20 #ifndef PG_AMPROC_H
21 #define PG_AMPROC_H
22
23 /* ----------------
24  *              postgres.h contains the system type definitions and the
25  *              CATALOG(), BOOTSTRAP and DATA() sugar words so this file
26  *              can be read by both genbki.sh and the C compiler.
27  * ----------------
28  */
29
30 /* ----------------
31  *              pg_amproc definition.  cpp turns this into
32  *              typedef struct FormData_pg_amproc
33  * ----------------
34  */
35 CATALOG(pg_amproc)
36 {
37         Oid                     amid;
38         Oid                     amopclaid;
39         Oid                     amproc;
40         int2            amprocnum;
41 } FormData_pg_amproc;
42
43 /* ----------------
44  *              Form_pg_amproc corresponds to a pointer to a tuple with
45  *              the format of pg_amproc relation.
46  * ----------------
47  */
48 typedef FormData_pg_amproc *Form_pg_amproc;
49
50 /* ----------------
51  *              compiler constants for pg_amproc
52  * ----------------
53  */
54 #define Natts_pg_amproc                                 4
55 #define Anum_pg_amproc_amid                             1
56 #define Anum_pg_amproc_amopclaid                2
57 #define Anum_pg_amproc_amproc                   3
58 #define Anum_pg_amproc_amprocnum                4
59
60 /* ----------------
61  *              initial contents of pg_amproc
62  * ----------------
63  */
64
65 /* rtree */
66 DATA(insert OID = 0 (402  422  193 1));
67 DATA(insert OID = 0 (402  422  194 2));
68 DATA(insert OID = 0 (402  422  195 3));
69 DATA(insert OID = 0 (402  433  193 1));
70 DATA(insert OID = 0 (402  433  194 2));
71 DATA(insert OID = 0 (402  433  196 3));
72 DATA(insert OID = 0 (402  434  197 1));
73 DATA(insert OID = 0 (402  434  198 2));
74 DATA(insert OID = 0 (402  434  199 3));
75
76
77 /* btree */
78 DATA(insert OID = 0 (403  421  350 1));
79 DATA(insert OID = 0 (403  423  355 1));
80 DATA(insert OID = 0 (403  424  353 1));
81 DATA(insert OID = 0 (403  425  352 1));
82 DATA(insert OID = 0 (403  426  351 1));
83 DATA(insert OID = 0 (403  427  356 1));
84 DATA(insert OID = 0 (403  428  354 1));
85 DATA(insert OID = 0 (403  429  358 1));
86 DATA(insert OID = 0 (403  431  360 1));
87 DATA(insert OID = 0 (403  432  357 1));
88 DATA(insert OID = 0 (403  435  404 1));
89 DATA(insert OID = 0 (403  754  842 1));
90 DATA(insert OID = 0 (403 1076 1078 1));
91 DATA(insert OID = 0 (403 1077 1079 1));
92 DATA(insert OID = 0 (403 1114 1092 1));
93 DATA(insert OID = 0 (403 1115 1107 1));
94 DATA(insert OID = 0 (403 1181  359 1));
95 DATA(insert OID = 0 (403 1312 1314 1));
96 DATA(insert OID = 0 (403 1313 1315 1));
97 DATA(insert OID = 0 (403 810 836 1));
98 DATA(insert OID = 0 (403 935 926 1));
99 DATA(insert OID = 0 (403 1768 1769 1));
100
101
102 /* hash */
103 DATA(insert OID = 0 (405  421  449 1));
104 DATA(insert OID = 0 (405  423  452 1));
105 DATA(insert OID = 0 (405  426  450 1));
106 DATA(insert OID = 0 (405  427  453 1));
107 DATA(insert OID = 0 (405  428  451 1));
108 DATA(insert OID = 0 (405  429  454 1));
109 DATA(insert OID = 0 (405  431  456 1));
110 DATA(insert OID = 0 (405  435  457 1));
111 DATA(insert OID = 0 (405 1076 1080 1));
112 DATA(insert OID = 0 (405 1077 1081 1));
113 DATA(insert OID = 0 (405 1114  450 1));
114 DATA(insert OID = 0 (405 1115  452 1));
115 DATA(insert OID = 0 (405 1181  455 1));
116 DATA(insert OID = 0 (405 1312  452 1));
117 DATA(insert OID = 0 (405 1313  452 1));
118
119 #endif   /* PG_AMPROC_H */