1 /*-------------------------------------------------------------------------
4 * definition of the system "opfamily" relation (pg_opfamily)
5 * along with the relation's initial contents.
8 * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
9 * Portions Copyright (c) 1994, Regents of the University of California
14 * the genbki.sh script reads this file and generates .bki
15 * information from the DATA() statements.
17 *-------------------------------------------------------------------------
22 #include "catalog/genbki.h"
25 * pg_opfamily definition. cpp turns this into
26 * typedef struct FormData_pg_opfamily
29 #define OperatorFamilyRelationId 2753
31 CATALOG(pg_opfamily
,2753)
33 Oid opfmethod
; /* index access method opfamily is for */
34 NameData opfname
; /* name of this opfamily */
35 Oid opfnamespace
; /* namespace of this opfamily */
36 Oid opfowner
; /* opfamily owner */
37 } FormData_pg_opfamily
;
40 * Form_pg_opfamily corresponds to a pointer to a tuple with
41 * the format of pg_opfamily relation.
44 typedef FormData_pg_opfamily
*Form_pg_opfamily
;
47 * compiler constants for pg_opfamily
50 #define Natts_pg_opfamily 4
51 #define Anum_pg_opfamily_opfmethod 1
52 #define Anum_pg_opfamily_opfname 2
53 #define Anum_pg_opfamily_opfnamespace 3
54 #define Anum_pg_opfamily_opfowner 4
57 * initial contents of pg_opfamily
61 DATA(insert OID
= 421 ( 403 abstime_ops PGNSP PGUID
));
62 DATA(insert OID
= 397 ( 403 array_ops PGNSP PGUID
));
63 DATA(insert OID
= 423 ( 403 bit_ops PGNSP PGUID
));
64 DATA(insert OID
= 424 ( 403 bool_ops PGNSP PGUID
));
65 #define BOOL_BTREE_FAM_OID 424
66 DATA(insert OID
= 426 ( 403 bpchar_ops PGNSP PGUID
));
67 #define BPCHAR_BTREE_FAM_OID 426
68 DATA(insert OID
= 427 ( 405 bpchar_ops PGNSP PGUID
));
69 DATA(insert OID
= 428 ( 403 bytea_ops PGNSP PGUID
));
70 #define BYTEA_BTREE_FAM_OID 428
71 DATA(insert OID
= 429 ( 403 char_ops PGNSP PGUID
));
72 DATA(insert OID
= 431 ( 405 char_ops PGNSP PGUID
));
73 DATA(insert OID
= 434 ( 403 datetime_ops PGNSP PGUID
));
74 DATA(insert OID
= 435 ( 405 date_ops PGNSP PGUID
));
75 DATA(insert OID
= 1970 ( 403 float_ops PGNSP PGUID
));
76 DATA(insert OID
= 1971 ( 405 float_ops PGNSP PGUID
));
77 DATA(insert OID
= 1974 ( 403 network_ops PGNSP PGUID
));
78 #define NETWORK_BTREE_FAM_OID 1974
79 DATA(insert OID
= 1975 ( 405 network_ops PGNSP PGUID
));
80 DATA(insert OID
= 1976 ( 403 integer_ops PGNSP PGUID
));
81 #define INTEGER_BTREE_FAM_OID 1976
82 DATA(insert OID
= 1977 ( 405 integer_ops PGNSP PGUID
));
83 DATA(insert OID
= 1982 ( 403 interval_ops PGNSP PGUID
));
84 DATA(insert OID
= 1983 ( 405 interval_ops PGNSP PGUID
));
85 DATA(insert OID
= 1984 ( 403 macaddr_ops PGNSP PGUID
));
86 DATA(insert OID
= 1985 ( 405 macaddr_ops PGNSP PGUID
));
87 DATA(insert OID
= 1986 ( 403 name_ops PGNSP PGUID
));
88 #define NAME_BTREE_FAM_OID 1986
89 DATA(insert OID
= 1987 ( 405 name_ops PGNSP PGUID
));
90 DATA(insert OID
= 1988 ( 403 numeric_ops PGNSP PGUID
));
91 DATA(insert OID
= 1998 ( 405 numeric_ops PGNSP PGUID
));
92 DATA(insert OID
= 1989 ( 403 oid_ops PGNSP PGUID
));
93 #define OID_BTREE_FAM_OID 1989
94 DATA(insert OID
= 1990 ( 405 oid_ops PGNSP PGUID
));
95 DATA(insert OID
= 1991 ( 403 oidvector_ops PGNSP PGUID
));
96 DATA(insert OID
= 1992 ( 405 oidvector_ops PGNSP PGUID
));
97 DATA(insert OID
= 2994 ( 403 record_ops PGNSP PGUID
));
98 DATA(insert OID
= 1994 ( 403 text_ops PGNSP PGUID
));
99 #define TEXT_BTREE_FAM_OID 1994
100 DATA(insert OID
= 1995 ( 405 text_ops PGNSP PGUID
));
101 DATA(insert OID
= 1996 ( 403 time_ops PGNSP PGUID
));
102 DATA(insert OID
= 1997 ( 405 time_ops PGNSP PGUID
));
103 DATA(insert OID
= 1999 ( 405 timestamptz_ops PGNSP PGUID
));
104 DATA(insert OID
= 2000 ( 403 timetz_ops PGNSP PGUID
));
105 DATA(insert OID
= 2001 ( 405 timetz_ops PGNSP PGUID
));
106 DATA(insert OID
= 2002 ( 403 varbit_ops PGNSP PGUID
));
107 DATA(insert OID
= 2040 ( 405 timestamp_ops PGNSP PGUID
));
108 DATA(insert OID
= 2095 ( 403 text_pattern_ops PGNSP PGUID
));
109 #define TEXT_PATTERN_BTREE_FAM_OID 2095
110 DATA(insert OID
= 2097 ( 403 bpchar_pattern_ops PGNSP PGUID
));
111 #define BPCHAR_PATTERN_BTREE_FAM_OID 2097
112 DATA(insert OID
= 2099 ( 403 money_ops PGNSP PGUID
));
113 DATA(insert OID
= 2222 ( 405 bool_ops PGNSP PGUID
));
114 #define BOOL_HASH_FAM_OID 2222
115 DATA(insert OID
= 2223 ( 405 bytea_ops PGNSP PGUID
));
116 DATA(insert OID
= 2224 ( 405 int2vector_ops PGNSP PGUID
));
117 DATA(insert OID
= 2789 ( 403 tid_ops PGNSP PGUID
));
118 DATA(insert OID
= 2225 ( 405 xid_ops PGNSP PGUID
));
119 DATA(insert OID
= 2226 ( 405 cid_ops PGNSP PGUID
));
120 DATA(insert OID
= 2227 ( 405 abstime_ops PGNSP PGUID
));
121 DATA(insert OID
= 2228 ( 405 reltime_ops PGNSP PGUID
));
122 DATA(insert OID
= 2229 ( 405 text_pattern_ops PGNSP PGUID
));
123 DATA(insert OID
= 2231 ( 405 bpchar_pattern_ops PGNSP PGUID
));
124 DATA(insert OID
= 2233 ( 403 reltime_ops PGNSP PGUID
));
125 DATA(insert OID
= 2234 ( 403 tinterval_ops PGNSP PGUID
));
126 DATA(insert OID
= 2235 ( 405 aclitem_ops PGNSP PGUID
));
127 DATA(insert OID
= 2593 ( 783 box_ops PGNSP PGUID
));
128 DATA(insert OID
= 2594 ( 783 poly_ops PGNSP PGUID
));
129 DATA(insert OID
= 2595 ( 783 circle_ops PGNSP PGUID
));
130 DATA(insert OID
= 2745 ( 2742 array_ops PGNSP PGUID
));
131 DATA(insert OID
= 2968 ( 403 uuid_ops PGNSP PGUID
));
132 DATA(insert OID
= 2969 ( 405 uuid_ops PGNSP PGUID
));
133 DATA(insert OID
= 3522 ( 403 enum_ops PGNSP PGUID
));
134 DATA(insert OID
= 3523 ( 405 enum_ops PGNSP PGUID
));
135 DATA(insert OID
= 3626 ( 403 tsvector_ops PGNSP PGUID
));
136 DATA(insert OID
= 3655 ( 783 tsvector_ops PGNSP PGUID
));
137 DATA(insert OID
= 3659 ( 2742 tsvector_ops PGNSP PGUID
));
138 DATA(insert OID
= 3683 ( 403 tsquery_ops PGNSP PGUID
));
139 DATA(insert OID
= 3702 ( 783 tsquery_ops PGNSP PGUID
));
141 #endif /* PG_OPFAMILY_H */