aboutsummaryrefslogtreecommitdiff
path: root/src/include/catalog/pg_amproc.h
blob: d3639becc5f4f2ea91779e7020870639ce440a97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
/*-------------------------------------------------------------------------
 *
 * pg_amproc.h
 *	  definition of the system "amproc" relation (pg_amproc)
 *	  along with the relation's initial contents.  The amproc
 *	  catalog is used to store procedures used by index access
 *	  methods that aren't associated with operators.
 *
 *
 * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
 * Portions Copyright (c) 1994, Regents of the University of California
 *
 * $Id: pg_amproc.h,v 1.29 2001/08/13 18:45:36 tgl Exp $
 *
 * NOTES
 *	  the genbki.sh script reads this file and generates .bki
 *	  information from the DATA() statements.
 *
 *-------------------------------------------------------------------------
 */
#ifndef PG_AMPROC_H
#define PG_AMPROC_H

/* ----------------
 *		postgres.h contains the system type definitions and the
 *		CATALOG(), BOOTSTRAP and DATA() sugar words so this file
 *		can be read by both genbki.sh and the C compiler.
 * ----------------
 */

/* ----------------
 *		pg_amproc definition.  cpp turns this into
 *		typedef struct FormData_pg_amproc
 * ----------------
 */
CATALOG(pg_amproc) BKI_WITHOUT_OIDS
{
	Oid			amid;			/* the access method this proc is for */
	Oid			amopclaid;		/* the opclass this proc is for */
	Oid			amproc;			/* OID of the proc */
	int2		amprocnum;		/* support procedure index */
} FormData_pg_amproc;

/* ----------------
 *		Form_pg_amproc corresponds to a pointer to a tuple with
 *		the format of pg_amproc relation.
 * ----------------
 */
typedef FormData_pg_amproc *Form_pg_amproc;

/* ----------------
 *		compiler constants for pg_amproc
 * ----------------
 */
#define Natts_pg_amproc					4
#define Anum_pg_amproc_amid				1
#define Anum_pg_amproc_amopclaid		2
#define Anum_pg_amproc_amproc			3
#define Anum_pg_amproc_amprocnum		4

/* ----------------
 *		initial contents of pg_amproc
 * ----------------
 */

/* rtree */
DATA(insert (402  422  193 1));
DATA(insert (402  422  194 2));
DATA(insert (402  422  195 3));
DATA(insert (402  433  193 1));
DATA(insert (402  433  194 2));
DATA(insert (402  433  196 3));
DATA(insert (402  434  197 1));
DATA(insert (402  434  198 2));
DATA(insert (402  434  199 3));


/* btree */
DATA(insert (403  421  350 1));
DATA(insert (403  423  355 1));
DATA(insert (403  426  351 1));
DATA(insert (403  427  356 1));
DATA(insert (403  428  354 1));
DATA(insert (403  429  358 1));
DATA(insert (403  431  360 1));
DATA(insert (403  432  357 1));
DATA(insert (403  435  404 1));
DATA(insert (403  754  842 1));
DATA(insert (403 1076 1078 1));
DATA(insert (403 1077 1079 1));
DATA(insert (403 1114 1092 1));
DATA(insert (403 1115 1107 1));
DATA(insert (403 1181  359 1));
DATA(insert (403 1312 1314 1));
DATA(insert (403 1313 1315 1));
DATA(insert (403  810  836 1));
DATA(insert (403  935  926 1));
DATA(insert (403  652  926 1));
DATA(insert (403 1768 1769 1));
DATA(insert (403 1690 1693 1));
DATA(insert (403 1399 1358 1));
DATA(insert (403  424 1596 1));
DATA(insert (403  425 1672 1));
DATA(insert (403 1961 1954 1));


/* hash */
DATA(insert (405  421  449 1));
DATA(insert (405  423  452 1));
DATA(insert (405  426  450 1));
DATA(insert (405  427  453 1));
DATA(insert (405  428  451 1));
DATA(insert (405  429  454 1));
DATA(insert (405  431  456 1));
DATA(insert (405  435  457 1));
DATA(insert (405  652  456 1));
DATA(insert (405  754  949 1));
DATA(insert (405  810  399 1));
DATA(insert (405  935  456 1));
DATA(insert (405 1076 1080 1));
DATA(insert (405 1077  456 1));
DATA(insert (405 1114  450 1));
DATA(insert (405 1115  452 1));
DATA(insert (405 1181  455 1));
DATA(insert (405 1312  452 1));
DATA(insert (405 1313 1697 1));
DATA(insert (405 1399 1696 1));

#endif	 /* PG_AMPROC_H */