OSDN Git Service

rebuid:
[eos/hostdependX86MAC64.git] / util / X86MAC64 / include / postgresql / server / catalog / pg_operator.h
1 /*-------------------------------------------------------------------------
2  *
3  * pg_operator.h
4  *        definition of the system "operator" relation (pg_operator)
5  *        along with the relation's initial contents.
6  *
7  *
8  * Portions Copyright (c) 1996-2014, PostgreSQL Global Development Group
9  * Portions Copyright (c) 1994, Regents of the University of California
10  *
11  * src/include/catalog/pg_operator.h
12  *
13  * NOTES
14  *        the genbki.pl script reads this file and generates .bki
15  *        information from the DATA() statements.
16  *
17  *        XXX do NOT break up DATA() statements into multiple lines!
18  *                the scripts are not as smart as you might think...
19  *
20  *-------------------------------------------------------------------------
21  */
22 #ifndef PG_OPERATOR_H
23 #define PG_OPERATOR_H
24
25 #include "catalog/genbki.h"
26 #include "nodes/pg_list.h"
27
28 /* ----------------
29  *              pg_operator definition.  cpp turns this into
30  *              typedef struct FormData_pg_operator
31  * ----------------
32  */
33 #define OperatorRelationId      2617
34
35 CATALOG(pg_operator,2617)
36 {
37         NameData        oprname;                /* name of operator */
38         Oid                     oprnamespace;   /* OID of namespace containing this oper */
39         Oid                     oprowner;               /* operator owner */
40         char            oprkind;                /* 'l', 'r', or 'b' */
41         bool            oprcanmerge;    /* can be used in merge join? */
42         bool            oprcanhash;             /* can be used in hash join? */
43         Oid                     oprleft;                /* left arg type, or 0 if 'l' oprkind */
44         Oid                     oprright;               /* right arg type, or 0 if 'r' oprkind */
45         Oid                     oprresult;              /* result datatype */
46         Oid                     oprcom;                 /* OID of commutator oper, or 0 if none */
47         Oid                     oprnegate;              /* OID of negator oper, or 0 if none */
48         regproc         oprcode;                /* OID of underlying function */
49         regproc         oprrest;                /* OID of restriction estimator, or 0 */
50         regproc         oprjoin;                /* OID of join estimator, or 0 */
51 } FormData_pg_operator;
52
53 /* ----------------
54  *              Form_pg_operator corresponds to a pointer to a tuple with
55  *              the format of pg_operator relation.
56  * ----------------
57  */
58 typedef FormData_pg_operator *Form_pg_operator;
59
60 /* ----------------
61  *              compiler constants for pg_operator
62  * ----------------
63  */
64
65 #define Natts_pg_operator                               14
66 #define Anum_pg_operator_oprname                1
67 #define Anum_pg_operator_oprnamespace   2
68 #define Anum_pg_operator_oprowner               3
69 #define Anum_pg_operator_oprkind                4
70 #define Anum_pg_operator_oprcanmerge    5
71 #define Anum_pg_operator_oprcanhash             6
72 #define Anum_pg_operator_oprleft                7
73 #define Anum_pg_operator_oprright               8
74 #define Anum_pg_operator_oprresult              9
75 #define Anum_pg_operator_oprcom                 10
76 #define Anum_pg_operator_oprnegate              11
77 #define Anum_pg_operator_oprcode                12
78 #define Anum_pg_operator_oprrest                13
79 #define Anum_pg_operator_oprjoin                14
80
81 /* ----------------
82  *              initial contents of pg_operator
83  * ----------------
84  */
85
86 /*
87  * Note: every entry in pg_operator.h is expected to have a DESCR() comment.
88  * If the operator is a deprecated equivalent of some other entry, be sure
89  * to comment it as such so that initdb doesn't think it's a preferred name
90  * for the underlying function.
91  */
92
93 DATA(insert OID =  15 ( "="                PGNSP PGUID b t t    23      20      16 416  36 int48eq eqsel eqjoinsel ));
94 DESCR("equal");
95 DATA(insert OID =  36 ( "<>"       PGNSP PGUID b f f    23      20      16 417  15 int48ne neqsel neqjoinsel ));
96 DESCR("not equal");
97 DATA(insert OID =  37 ( "<"                PGNSP PGUID b f f    23      20      16 419  82 int48lt scalarltsel scalarltjoinsel ));
98 DESCR("less than");
99 DATA(insert OID =  76 ( ">"                PGNSP PGUID b f f    23      20      16 418  80 int48gt scalargtsel scalargtjoinsel ));
100 DESCR("greater than");
101 DATA(insert OID =  80 ( "<="       PGNSP PGUID b f f    23      20      16 430  76 int48le scalarltsel scalarltjoinsel ));
102 DESCR("less than or equal");
103 DATA(insert OID =  82 ( ">="       PGNSP PGUID b f f    23      20      16 420  37 int48ge scalargtsel scalargtjoinsel ));
104 DESCR("greater than or equal");
105
106 DATA(insert OID =  58 ( "<"                PGNSP PGUID b f f    16      16      16      59      1695 boollt scalarltsel scalarltjoinsel ));
107 DESCR("less than");
108 DATA(insert OID =  59 ( ">"                PGNSP PGUID b f f    16      16      16      58      1694 boolgt scalargtsel scalargtjoinsel ));
109 DESCR("greater than");
110 DATA(insert OID =  85 ( "<>"       PGNSP PGUID b f f    16      16      16      85      91 boolne neqsel neqjoinsel ));
111 DESCR("not equal");
112 #define BooleanNotEqualOperator   85
113 DATA(insert OID =  91 ( "="                PGNSP PGUID b t t    16      16      16      91      85 booleq eqsel eqjoinsel ));
114 DESCR("equal");
115 #define BooleanEqualOperator   91
116 DATA(insert OID = 1694 (  "<="     PGNSP PGUID b f f    16      16      16 1695 59 boolle scalarltsel scalarltjoinsel ));
117 DESCR("less than or equal");
118 DATA(insert OID = 1695 (  ">="     PGNSP PGUID b f f    16      16      16 1694 58 boolge scalargtsel scalargtjoinsel ));
119 DESCR("greater than or equal");
120
121 DATA(insert OID =  92 ( "="                PGNSP PGUID b t t    18      18      16      92 630 chareq eqsel eqjoinsel ));
122 DESCR("equal");
123 DATA(insert OID =  93 ( "="                PGNSP PGUID b t t    19      19      16      93 643 nameeq eqsel eqjoinsel ));
124 DESCR("equal");
125 DATA(insert OID =  94 ( "="                PGNSP PGUID b t t    21      21      16      94 519 int2eq eqsel eqjoinsel ));
126 DESCR("equal");
127 DATA(insert OID =  95 ( "<"                PGNSP PGUID b f f    21      21      16 520 524 int2lt scalarltsel scalarltjoinsel ));
128 DESCR("less than");
129 DATA(insert OID =  96 ( "="                PGNSP PGUID b t t    23      23      16      96 518 int4eq eqsel eqjoinsel ));
130 DESCR("equal");
131 #define Int4EqualOperator       96
132 DATA(insert OID =  97 ( "<"                PGNSP PGUID b f f    23      23      16 521 525 int4lt scalarltsel scalarltjoinsel ));
133 DESCR("less than");
134 #define Int4LessOperator        97
135 DATA(insert OID =  98 ( "="                PGNSP PGUID b t t    25      25      16      98 531 texteq eqsel eqjoinsel ));
136 DESCR("equal");
137 #define TextEqualOperator       98
138
139 DATA(insert OID = 349 (  "||"      PGNSP PGUID b f f 2277 2283 2277 0 0 array_append   -           -     ));
140 DESCR("append element onto end of array");
141 DATA(insert OID = 374 (  "||"      PGNSP PGUID b f f 2283 2277 2277 0 0 array_prepend  -           -     ));
142 DESCR("prepend element onto front of array");
143 DATA(insert OID = 375 (  "||"      PGNSP PGUID b f f 2277 2277 2277 0 0 array_cat          -       -     ));
144 DESCR("concatenate");
145
146 DATA(insert OID = 352 (  "="       PGNSP PGUID b f t    28      28      16 352   0 xideq eqsel eqjoinsel ));
147 DESCR("equal");
148 DATA(insert OID = 353 (  "="       PGNSP PGUID b f f    28      23      16       0       0 xideqint4 eqsel eqjoinsel ));
149 DESCR("equal");
150 DATA(insert OID = 388 (  "!"       PGNSP PGUID r f f    20       0      1700  0  0 numeric_fac - - ));
151 DESCR("factorial");
152 DATA(insert OID = 389 (  "!!"      PGNSP PGUID l f f     0      20      1700  0  0 numeric_fac - - ));
153 DESCR("deprecated, use ! instead");
154 DATA(insert OID = 385 (  "="       PGNSP PGUID b f t    29      29      16 385   0 cideq eqsel eqjoinsel ));
155 DESCR("equal");
156 DATA(insert OID = 386 (  "="       PGNSP PGUID b f t    22      22      16 386   0 int2vectoreq eqsel eqjoinsel ));
157 DESCR("equal");
158
159 DATA(insert OID = 387 (  "="       PGNSP PGUID b t f    27      27      16 387 402 tideq eqsel eqjoinsel ));
160 DESCR("equal");
161 #define TIDEqualOperator   387
162 DATA(insert OID = 402 (  "<>"      PGNSP PGUID b f f    27      27      16 402 387 tidne neqsel neqjoinsel ));
163 DESCR("not equal");
164 DATA(insert OID = 2799 (  "<"      PGNSP PGUID b f f    27      27      16 2800 2802 tidlt scalarltsel scalarltjoinsel ));
165 DESCR("less than");
166 #define TIDLessOperator    2799
167 DATA(insert OID = 2800 (  ">"      PGNSP PGUID b f f    27      27      16 2799 2801 tidgt scalargtsel scalargtjoinsel ));
168 DESCR("greater than");
169 DATA(insert OID = 2801 (  "<="     PGNSP PGUID b f f    27      27      16 2802 2800 tidle scalarltsel scalarltjoinsel ));
170 DESCR("less than or equal");
171 DATA(insert OID = 2802 (  ">="     PGNSP PGUID b f f    27      27      16 2801 2799 tidge scalargtsel scalargtjoinsel ));
172 DESCR("greater than or equal");
173
174 DATA(insert OID = 410 ( "="                PGNSP PGUID b t t    20      20      16 410 411 int8eq eqsel eqjoinsel ));
175 DESCR("equal");
176 DATA(insert OID = 411 ( "<>"       PGNSP PGUID b f f    20      20      16 411 410 int8ne neqsel neqjoinsel ));
177 DESCR("not equal");
178 DATA(insert OID = 412 ( "<"                PGNSP PGUID b f f    20      20      16 413 415 int8lt scalarltsel scalarltjoinsel ));
179 DESCR("less than");
180 #define Int8LessOperator        412
181 DATA(insert OID = 413 ( ">"                PGNSP PGUID b f f    20      20      16 412 414 int8gt scalargtsel scalargtjoinsel ));
182 DESCR("greater than");
183 DATA(insert OID = 414 ( "<="       PGNSP PGUID b f f    20      20      16 415 413 int8le scalarltsel scalarltjoinsel ));
184 DESCR("less than or equal");
185 DATA(insert OID = 415 ( ">="       PGNSP PGUID b f f    20      20      16 414 412 int8ge scalargtsel scalargtjoinsel ));
186 DESCR("greater than or equal");
187
188 DATA(insert OID = 416 ( "="                PGNSP PGUID b t t    20      23      16      15 417 int84eq eqsel eqjoinsel ));
189 DESCR("equal");
190 DATA(insert OID = 417 ( "<>"       PGNSP PGUID b f f    20      23      16      36 416 int84ne neqsel neqjoinsel ));
191 DESCR("not equal");
192 DATA(insert OID = 418 ( "<"                PGNSP PGUID b f f    20      23      16      76 430 int84lt scalarltsel scalarltjoinsel ));
193 DESCR("less than");
194 DATA(insert OID = 419 ( ">"                PGNSP PGUID b f f    20      23      16      37 420 int84gt scalargtsel scalargtjoinsel ));
195 DESCR("greater than");
196 DATA(insert OID = 420 ( "<="       PGNSP PGUID b f f    20      23      16      82 419 int84le scalarltsel scalarltjoinsel ));
197 DESCR("less than or equal");
198 DATA(insert OID = 430 ( ">="       PGNSP PGUID b f f    20      23      16      80 418 int84ge scalargtsel scalargtjoinsel ));
199 DESCR("greater than or equal");
200 DATA(insert OID = 439 (  "%"       PGNSP PGUID b f f    20      20      20       0       0 int8mod - - ));
201 DESCR("modulus");
202 DATA(insert OID = 473 (  "@"       PGNSP PGUID l f f     0      20      20       0       0 int8abs - - ));
203 DESCR("absolute value");
204
205 DATA(insert OID = 484 (  "-"       PGNSP PGUID l f f     0      20      20       0       0 int8um - - ));
206 DESCR("negate");
207 DATA(insert OID = 485 (  "<<"      PGNSP PGUID b f f 604 604    16       0       0 poly_left positionsel positionjoinsel ));
208 DESCR("is left of");
209 DATA(insert OID = 486 (  "&<"      PGNSP PGUID b f f 604 604    16       0       0 poly_overleft positionsel positionjoinsel ));
210 DESCR("overlaps or is left of");
211 DATA(insert OID = 487 (  "&>"      PGNSP PGUID b f f 604 604    16       0       0 poly_overright positionsel positionjoinsel ));
212 DESCR("overlaps or is right of");
213 DATA(insert OID = 488 (  ">>"      PGNSP PGUID b f f 604 604    16       0       0 poly_right positionsel positionjoinsel ));
214 DESCR("is right of");
215 DATA(insert OID = 489 (  "<@"      PGNSP PGUID b f f 604 604    16 490   0 poly_contained contsel contjoinsel ));
216 DESCR("is contained by");
217 DATA(insert OID = 490 (  "@>"      PGNSP PGUID b f f 604 604    16 489   0 poly_contain contsel contjoinsel ));
218 DESCR("contains");
219 DATA(insert OID = 491 (  "~="      PGNSP PGUID b f f 604 604    16 491   0 poly_same eqsel eqjoinsel ));
220 DESCR("same as");
221 DATA(insert OID = 492 (  "&&"      PGNSP PGUID b f f 604 604    16 492   0 poly_overlap areasel areajoinsel ));
222 DESCR("overlaps");
223 DATA(insert OID = 493 (  "<<"      PGNSP PGUID b f f 603 603    16       0       0 box_left positionsel positionjoinsel ));
224 DESCR("is left of");
225 DATA(insert OID = 494 (  "&<"      PGNSP PGUID b f f 603 603    16       0       0 box_overleft positionsel positionjoinsel ));
226 DESCR("overlaps or is left of");
227 DATA(insert OID = 495 (  "&>"      PGNSP PGUID b f f 603 603    16       0       0 box_overright positionsel positionjoinsel ));
228 DESCR("overlaps or is right of");
229 DATA(insert OID = 496 (  ">>"      PGNSP PGUID b f f 603 603    16       0       0 box_right positionsel positionjoinsel ));
230 DESCR("is right of");
231 DATA(insert OID = 497 (  "<@"      PGNSP PGUID b f f 603 603    16 498   0 box_contained contsel contjoinsel ));
232 DESCR("is contained by");
233 DATA(insert OID = 498 (  "@>"      PGNSP PGUID b f f 603 603    16 497   0 box_contain contsel contjoinsel ));
234 DESCR("contains");
235 DATA(insert OID = 499 (  "~="      PGNSP PGUID b f f 603 603    16 499   0 box_same eqsel eqjoinsel ));
236 DESCR("same as");
237 DATA(insert OID = 500 (  "&&"      PGNSP PGUID b f f 603 603    16 500   0 box_overlap areasel areajoinsel ));
238 DESCR("overlaps");
239 DATA(insert OID = 501 (  ">="      PGNSP PGUID b f f 603 603    16 505 504 box_ge areasel areajoinsel ));
240 DESCR("greater than or equal by area");
241 DATA(insert OID = 502 (  ">"       PGNSP PGUID b f f 603 603    16 504 505 box_gt areasel areajoinsel ));
242 DESCR("greater than by area");
243 DATA(insert OID = 503 (  "="       PGNSP PGUID b f f 603 603    16 503   0 box_eq eqsel eqjoinsel ));
244 DESCR("equal by area");
245 DATA(insert OID = 504 (  "<"       PGNSP PGUID b f f 603 603    16 502 501 box_lt areasel areajoinsel ));
246 DESCR("less than by area");
247 DATA(insert OID = 505 (  "<="      PGNSP PGUID b f f 603 603    16 501 502 box_le areasel areajoinsel ));
248 DESCR("less than or equal by area");
249 DATA(insert OID = 506 (  ">^"      PGNSP PGUID b f f 600 600    16       0       0 point_above positionsel positionjoinsel ));
250 DESCR("is above");
251 DATA(insert OID = 507 (  "<<"      PGNSP PGUID b f f 600 600    16       0       0 point_left positionsel positionjoinsel ));
252 DESCR("is left of");
253 DATA(insert OID = 508 (  ">>"      PGNSP PGUID b f f 600 600    16       0       0 point_right positionsel positionjoinsel ));
254 DESCR("is right of");
255 DATA(insert OID = 509 (  "<^"      PGNSP PGUID b f f 600 600    16       0       0 point_below positionsel positionjoinsel ));
256 DESCR("is below");
257 DATA(insert OID = 510 (  "~="      PGNSP PGUID b f f 600 600    16 510 713 point_eq eqsel eqjoinsel ));
258 DESCR("same as");
259 DATA(insert OID = 511 (  "<@"      PGNSP PGUID b f f 600 603    16 433   0 on_pb contsel contjoinsel ));
260 DESCR("point inside box");
261 DATA(insert OID = 433 (  "@>"      PGNSP PGUID b f f 603 600    16 511   0 box_contain_pt contsel contjoinsel ));
262 DESCR("contains");
263 DATA(insert OID = 512 (  "<@"      PGNSP PGUID b f f 600 602    16 755   0 on_ppath - - ));
264 DESCR("point within closed path, or point on open path");
265 DATA(insert OID = 513 (  "@@"      PGNSP PGUID l f f     0 603 600       0       0 box_center - - ));
266 DESCR("center of");
267 DATA(insert OID = 514 (  "*"       PGNSP PGUID b f f    23      23      23 514   0 int4mul - - ));
268 DESCR("multiply");
269 DATA(insert OID = 517 (  "<->"     PGNSP PGUID b f f 600 600 701 517     0 point_distance - - ));
270 DESCR("distance between");
271 DATA(insert OID = 518 (  "<>"      PGNSP PGUID b f f    23      23      16 518  96 int4ne neqsel neqjoinsel ));
272 DESCR("not equal");
273 DATA(insert OID = 519 (  "<>"      PGNSP PGUID b f f    21      21      16 519  94 int2ne neqsel neqjoinsel ));
274 DESCR("not equal");
275 DATA(insert OID = 520 (  ">"       PGNSP PGUID b f f    21      21      16      95 522 int2gt scalargtsel scalargtjoinsel ));
276 DESCR("greater than");
277 DATA(insert OID = 521 (  ">"       PGNSP PGUID b f f    23      23      16      97 523 int4gt scalargtsel scalargtjoinsel ));
278 DESCR("greater than");
279 DATA(insert OID = 522 (  "<="      PGNSP PGUID b f f    21      21      16 524 520 int2le scalarltsel scalarltjoinsel ));
280 DESCR("less than or equal");
281 DATA(insert OID = 523 (  "<="      PGNSP PGUID b f f    23      23      16 525 521 int4le scalarltsel scalarltjoinsel ));
282 DESCR("less than or equal");
283 DATA(insert OID = 524 (  ">="      PGNSP PGUID b f f    21      21      16 522  95 int2ge scalargtsel scalargtjoinsel ));
284 DESCR("greater than or equal");
285 DATA(insert OID = 525 (  ">="      PGNSP PGUID b f f    23      23      16 523  97 int4ge scalargtsel scalargtjoinsel ));
286 DESCR("greater than or equal");
287 DATA(insert OID = 526 (  "*"       PGNSP PGUID b f f    21      21      21 526   0 int2mul - - ));
288 DESCR("multiply");
289 DATA(insert OID = 527 (  "/"       PGNSP PGUID b f f    21      21      21       0       0 int2div - - ));
290 DESCR("divide");
291 DATA(insert OID = 528 (  "/"       PGNSP PGUID b f f    23      23      23       0       0 int4div - - ));
292 DESCR("divide");
293 DATA(insert OID = 529 (  "%"       PGNSP PGUID b f f    21      21      21       0       0 int2mod - - ));
294 DESCR("modulus");
295 DATA(insert OID = 530 (  "%"       PGNSP PGUID b f f    23      23      23       0       0 int4mod - - ));
296 DESCR("modulus");
297 DATA(insert OID = 531 (  "<>"      PGNSP PGUID b f f    25      25      16 531  98 textne neqsel neqjoinsel ));
298 DESCR("not equal");
299 DATA(insert OID = 532 (  "="       PGNSP PGUID b t t    21      23      16 533 538 int24eq eqsel eqjoinsel ));
300 DESCR("equal");
301 DATA(insert OID = 533 (  "="       PGNSP PGUID b t t    23      21      16 532 539 int42eq eqsel eqjoinsel ));
302 DESCR("equal");
303 DATA(insert OID = 534 (  "<"       PGNSP PGUID b f f    21      23      16 537 542 int24lt scalarltsel scalarltjoinsel ));
304 DESCR("less than");
305 DATA(insert OID = 535 (  "<"       PGNSP PGUID b f f    23      21      16 536 543 int42lt scalarltsel scalarltjoinsel ));
306 DESCR("less than");
307 DATA(insert OID = 536 (  ">"       PGNSP PGUID b f f    21      23      16 535 540 int24gt scalargtsel scalargtjoinsel ));
308 DESCR("greater than");
309 DATA(insert OID = 537 (  ">"       PGNSP PGUID b f f    23      21      16 534 541 int42gt scalargtsel scalargtjoinsel ));
310 DESCR("greater than");
311 DATA(insert OID = 538 (  "<>"      PGNSP PGUID b f f    21      23      16 539 532 int24ne neqsel neqjoinsel ));
312 DESCR("not equal");
313 DATA(insert OID = 539 (  "<>"      PGNSP PGUID b f f    23      21      16 538 533 int42ne neqsel neqjoinsel ));
314 DESCR("not equal");
315 DATA(insert OID = 540 (  "<="      PGNSP PGUID b f f    21      23      16 543 536 int24le scalarltsel scalarltjoinsel ));
316 DESCR("less than or equal");
317 DATA(insert OID = 541 (  "<="      PGNSP PGUID b f f    23      21      16 542 537 int42le scalarltsel scalarltjoinsel ));
318 DESCR("less than or equal");
319 DATA(insert OID = 542 (  ">="      PGNSP PGUID b f f    21      23      16 541 534 int24ge scalargtsel scalargtjoinsel ));
320 DESCR("greater than or equal");
321 DATA(insert OID = 543 (  ">="      PGNSP PGUID b f f    23      21      16 540 535 int42ge scalargtsel scalargtjoinsel ));
322 DESCR("greater than or equal");
323 DATA(insert OID = 544 (  "*"       PGNSP PGUID b f f    21      23      23 545   0 int24mul - - ));
324 DESCR("multiply");
325 DATA(insert OID = 545 (  "*"       PGNSP PGUID b f f    23      21      23 544   0 int42mul - - ));
326 DESCR("multiply");
327 DATA(insert OID = 546 (  "/"       PGNSP PGUID b f f    21      23      23       0       0 int24div - - ));
328 DESCR("divide");
329 DATA(insert OID = 547 (  "/"       PGNSP PGUID b f f    23      21      23       0       0 int42div - - ));
330 DESCR("divide");
331 DATA(insert OID = 550 (  "+"       PGNSP PGUID b f f    21      21      21 550   0 int2pl - - ));
332 DESCR("add");
333 DATA(insert OID = 551 (  "+"       PGNSP PGUID b f f    23      23      23 551   0 int4pl - - ));
334 DESCR("add");
335 DATA(insert OID = 552 (  "+"       PGNSP PGUID b f f    21      23      23 553   0 int24pl - - ));
336 DESCR("add");
337 DATA(insert OID = 553 (  "+"       PGNSP PGUID b f f    23      21      23 552   0 int42pl - - ));
338 DESCR("add");
339 DATA(insert OID = 554 (  "-"       PGNSP PGUID b f f    21      21      21       0       0 int2mi - - ));
340 DESCR("subtract");
341 DATA(insert OID = 555 (  "-"       PGNSP PGUID b f f    23      23      23       0       0 int4mi - - ));
342 DESCR("subtract");
343 DATA(insert OID = 556 (  "-"       PGNSP PGUID b f f    21      23      23       0       0 int24mi - - ));
344 DESCR("subtract");
345 DATA(insert OID = 557 (  "-"       PGNSP PGUID b f f    23      21      23       0       0 int42mi - - ));
346 DESCR("subtract");
347 DATA(insert OID = 558 (  "-"       PGNSP PGUID l f f     0      23      23       0       0 int4um - - ));
348 DESCR("negate");
349 DATA(insert OID = 559 (  "-"       PGNSP PGUID l f f     0      21      21       0       0 int2um - - ));
350 DESCR("negate");
351 DATA(insert OID = 560 (  "="       PGNSP PGUID b t t 702 702    16 560 561 abstimeeq eqsel eqjoinsel ));
352 DESCR("equal");
353 DATA(insert OID = 561 (  "<>"      PGNSP PGUID b f f 702 702    16 561 560 abstimene neqsel neqjoinsel ));
354 DESCR("not equal");
355 DATA(insert OID = 562 (  "<"       PGNSP PGUID b f f 702 702    16 563 565 abstimelt scalarltsel scalarltjoinsel ));
356 DESCR("less than");
357 DATA(insert OID = 563 (  ">"       PGNSP PGUID b f f 702 702    16 562 564 abstimegt scalargtsel scalargtjoinsel ));
358 DESCR("greater than");
359 DATA(insert OID = 564 (  "<="      PGNSP PGUID b f f 702 702    16 565 563 abstimele scalarltsel scalarltjoinsel ));
360 DESCR("less than or equal");
361 DATA(insert OID = 565 (  ">="      PGNSP PGUID b f f 702 702    16 564 562 abstimege scalargtsel scalargtjoinsel ));
362 DESCR("greater than or equal");
363 DATA(insert OID = 566 (  "="       PGNSP PGUID b t t 703 703    16 566 567 reltimeeq eqsel eqjoinsel ));
364 DESCR("equal");
365 DATA(insert OID = 567 (  "<>"      PGNSP PGUID b f f 703 703    16 567 566 reltimene neqsel neqjoinsel ));
366 DESCR("not equal");
367 DATA(insert OID = 568 (  "<"       PGNSP PGUID b f f 703 703    16 569 571 reltimelt scalarltsel scalarltjoinsel ));
368 DESCR("less than");
369 DATA(insert OID = 569 (  ">"       PGNSP PGUID b f f 703 703    16 568 570 reltimegt scalargtsel scalargtjoinsel ));
370 DESCR("greater than");
371 DATA(insert OID = 570 (  "<="      PGNSP PGUID b f f 703 703    16 571 569 reltimele scalarltsel scalarltjoinsel ));
372 DESCR("less than or equal");
373 DATA(insert OID = 571 (  ">="      PGNSP PGUID b f f 703 703    16 570 568 reltimege scalargtsel scalargtjoinsel ));
374 DESCR("greater than or equal");
375 DATA(insert OID = 572 (  "~="      PGNSP PGUID b f f 704 704    16 572   0 tintervalsame eqsel eqjoinsel ));
376 DESCR("same as");
377 DATA(insert OID = 573 (  "<<"      PGNSP PGUID b f f 704 704    16       0       0 tintervalct - - ));
378 DESCR("contains");
379 DATA(insert OID = 574 (  "&&"      PGNSP PGUID b f f 704 704    16 574   0 tintervalov - - ));
380 DESCR("overlaps");
381 DATA(insert OID = 575 (  "#="      PGNSP PGUID b f f 704 703    16       0 576 tintervalleneq - - ));
382 DESCR("equal by length");
383 DATA(insert OID = 576 (  "#<>"     PGNSP PGUID b f f 704 703    16       0 575 tintervallenne - - ));
384 DESCR("not equal by length");
385 DATA(insert OID = 577 (  "#<"      PGNSP PGUID b f f 704 703    16       0 580 tintervallenlt - - ));
386 DESCR("less than by length");
387 DATA(insert OID = 578 (  "#>"      PGNSP PGUID b f f 704 703    16       0 579 tintervallengt - - ));
388 DESCR("greater than by length");
389 DATA(insert OID = 579 (  "#<="     PGNSP PGUID b f f 704 703    16       0 578 tintervallenle - - ));
390 DESCR("less than or equal by length");
391 DATA(insert OID = 580 (  "#>="     PGNSP PGUID b f f 704 703    16       0 577 tintervallenge - - ));
392 DESCR("greater than or equal by length");
393 DATA(insert OID = 581 (  "+"       PGNSP PGUID b f f 702 703 702         0       0 timepl - - ));
394 DESCR("add");
395 DATA(insert OID = 582 (  "-"       PGNSP PGUID b f f 702 703 702         0       0 timemi - - ));
396 DESCR("subtract");
397 DATA(insert OID = 583 (  "<?>"     PGNSP PGUID b f f 702 704    16       0       0 intinterval - - ));
398 DESCR("is contained by");
399 DATA(insert OID = 584 (  "-"       PGNSP PGUID l f f     0 700 700       0       0 float4um - - ));
400 DESCR("negate");
401 DATA(insert OID = 585 (  "-"       PGNSP PGUID l f f     0 701 701       0       0 float8um - - ));
402 DESCR("negate");
403 DATA(insert OID = 586 (  "+"       PGNSP PGUID b f f 700 700 700 586     0 float4pl - - ));
404 DESCR("add");
405 DATA(insert OID = 587 (  "-"       PGNSP PGUID b f f 700 700 700         0       0 float4mi - - ));
406 DESCR("subtract");
407 DATA(insert OID = 588 (  "/"       PGNSP PGUID b f f 700 700 700         0       0 float4div - - ));
408 DESCR("divide");
409 DATA(insert OID = 589 (  "*"       PGNSP PGUID b f f 700 700 700 589     0 float4mul - - ));
410 DESCR("multiply");
411 DATA(insert OID = 590 (  "@"       PGNSP PGUID l f f     0 700 700       0       0 float4abs - - ));
412 DESCR("absolute value");
413 DATA(insert OID = 591 (  "+"       PGNSP PGUID b f f 701 701 701 591     0 float8pl - - ));
414 DESCR("add");
415 DATA(insert OID = 592 (  "-"       PGNSP PGUID b f f 701 701 701         0       0 float8mi - - ));
416 DESCR("subtract");
417 DATA(insert OID = 593 (  "/"       PGNSP PGUID b f f 701 701 701         0       0 float8div - - ));
418 DESCR("divide");
419 DATA(insert OID = 594 (  "*"       PGNSP PGUID b f f 701 701 701 594     0 float8mul - - ));
420 DESCR("multiply");
421 DATA(insert OID = 595 (  "@"       PGNSP PGUID l f f     0 701 701       0       0 float8abs - - ));
422 DESCR("absolute value");
423 DATA(insert OID = 596 (  "|/"      PGNSP PGUID l f f     0 701 701       0       0 dsqrt - - ));
424 DESCR("square root");
425 DATA(insert OID = 597 (  "||/"     PGNSP PGUID l f f     0 701 701       0       0 dcbrt - - ));
426 DESCR("cube root");
427 DATA(insert OID = 1284 (  "|"      PGNSP PGUID l f f     0 704 702       0       0 tintervalstart - - ));
428 DESCR("start of interval");
429 DATA(insert OID = 606 (  "<#>"     PGNSP PGUID b f f 702 702 704         0       0 mktinterval - - ));
430 DESCR("convert to tinterval");
431
432 DATA(insert OID = 607 (  "="       PGNSP PGUID b t t    26      26      16 607 608 oideq eqsel eqjoinsel ));
433 DESCR("equal");
434 DATA(insert OID = 608 (  "<>"      PGNSP PGUID b f f    26      26      16 608 607 oidne neqsel neqjoinsel ));
435 DESCR("not equal");
436 DATA(insert OID = 609 (  "<"       PGNSP PGUID b f f    26      26      16 610 612 oidlt scalarltsel scalarltjoinsel ));
437 DESCR("less than");
438 DATA(insert OID = 610 (  ">"       PGNSP PGUID b f f    26      26      16 609 611 oidgt scalargtsel scalargtjoinsel ));
439 DESCR("greater than");
440 DATA(insert OID = 611 (  "<="      PGNSP PGUID b f f    26      26      16 612 610 oidle scalarltsel scalarltjoinsel ));
441 DESCR("less than or equal");
442 DATA(insert OID = 612 (  ">="      PGNSP PGUID b f f    26      26      16 611 609 oidge scalargtsel scalargtjoinsel ));
443 DESCR("greater than or equal");
444
445 DATA(insert OID = 644 (  "<>"      PGNSP PGUID b f f    30      30      16 644 649 oidvectorne neqsel neqjoinsel ));
446 DESCR("not equal");
447 DATA(insert OID = 645 (  "<"       PGNSP PGUID b f f    30      30      16 646 648 oidvectorlt scalarltsel scalarltjoinsel ));
448 DESCR("less than");
449 DATA(insert OID = 646 (  ">"       PGNSP PGUID b f f    30      30      16 645 647 oidvectorgt scalargtsel scalargtjoinsel ));
450 DESCR("greater than");
451 DATA(insert OID = 647 (  "<="      PGNSP PGUID b f f    30      30      16 648 646 oidvectorle scalarltsel scalarltjoinsel ));
452 DESCR("less than or equal");
453 DATA(insert OID = 648 (  ">="      PGNSP PGUID b f f    30      30      16 647 645 oidvectorge scalargtsel scalargtjoinsel ));
454 DESCR("greater than or equal");
455 DATA(insert OID = 649 (  "="       PGNSP PGUID b t t    30      30      16 649 644 oidvectoreq eqsel eqjoinsel ));
456 DESCR("equal");
457
458 DATA(insert OID = 613 (  "<->"     PGNSP PGUID b f f 600 628 701         0       0 dist_pl - - ));
459 DESCR("distance between");
460 DATA(insert OID = 614 (  "<->"     PGNSP PGUID b f f 600 601 701         0       0 dist_ps - - ));
461 DESCR("distance between");
462 DATA(insert OID = 615 (  "<->"     PGNSP PGUID b f f 600 603 701         0       0 dist_pb - - ));
463 DESCR("distance between");
464 DATA(insert OID = 616 (  "<->"     PGNSP PGUID b f f 601 628 701         0       0 dist_sl - - ));
465 DESCR("distance between");
466 DATA(insert OID = 617 (  "<->"     PGNSP PGUID b f f 601 603 701         0       0 dist_sb - - ));
467 DESCR("distance between");
468 DATA(insert OID = 618 (  "<->"     PGNSP PGUID b f f 600 602 701         0       0 dist_ppath - - ));
469 DESCR("distance between");
470
471 DATA(insert OID = 620 (  "="       PGNSP PGUID b t t    700  700        16 620 621 float4eq eqsel eqjoinsel ));
472 DESCR("equal");
473 DATA(insert OID = 621 (  "<>"      PGNSP PGUID b f f    700  700        16 621 620 float4ne neqsel neqjoinsel ));
474 DESCR("not equal");
475 DATA(insert OID = 622 (  "<"       PGNSP PGUID b f f    700  700        16 623 625 float4lt scalarltsel scalarltjoinsel ));
476 DESCR("less than");
477 DATA(insert OID = 623 (  ">"       PGNSP PGUID b f f    700  700        16 622 624 float4gt scalargtsel scalargtjoinsel ));
478 DESCR("greater than");
479 DATA(insert OID = 624 (  "<="      PGNSP PGUID b f f    700  700        16 625 623 float4le scalarltsel scalarltjoinsel ));
480 DESCR("less than or equal");
481 DATA(insert OID = 625 (  ">="      PGNSP PGUID b f f    700  700        16 624 622 float4ge scalargtsel scalargtjoinsel ));
482 DESCR("greater than or equal");
483 DATA(insert OID = 630 (  "<>"      PGNSP PGUID b f f    18      18              16 630  92      charne neqsel neqjoinsel ));
484 DESCR("not equal");
485
486 DATA(insert OID = 631 (  "<"       PGNSP PGUID b f f    18      18      16 633 634 charlt scalarltsel scalarltjoinsel ));
487 DESCR("less than");
488 DATA(insert OID = 632 (  "<="      PGNSP PGUID b f f    18      18      16 634 633 charle scalarltsel scalarltjoinsel ));
489 DESCR("less than or equal");
490 DATA(insert OID = 633 (  ">"       PGNSP PGUID b f f    18      18      16 631 632 chargt scalargtsel scalargtjoinsel ));
491 DESCR("greater than");
492 DATA(insert OID = 634 (  ">="      PGNSP PGUID b f f    18      18      16 632 631 charge scalargtsel scalargtjoinsel ));
493 DESCR("greater than or equal");
494
495 DATA(insert OID = 639 (  "~"       PGNSP PGUID b f f    19      25      16 0 640 nameregexeq regexeqsel regexeqjoinsel ));
496 DESCR("matches regular expression, case-sensitive");
497 #define OID_NAME_REGEXEQ_OP             639
498 DATA(insert OID = 640 (  "!~"      PGNSP PGUID b f f    19      25      16 0 639 nameregexne regexnesel regexnejoinsel ));
499 DESCR("does not match regular expression, case-sensitive");
500 DATA(insert OID = 641 (  "~"       PGNSP PGUID b f f    25      25      16 0 642 textregexeq regexeqsel regexeqjoinsel ));
501 DESCR("matches regular expression, case-sensitive");
502 #define OID_TEXT_REGEXEQ_OP             641
503 DATA(insert OID = 642 (  "!~"      PGNSP PGUID b f f    25      25      16 0 641 textregexne regexnesel regexnejoinsel ));
504 DESCR("does not match regular expression, case-sensitive");
505 DATA(insert OID = 643 (  "<>"      PGNSP PGUID b f f    19      19      16 643 93 namene neqsel neqjoinsel ));
506 DESCR("not equal");
507 DATA(insert OID = 654 (  "||"      PGNSP PGUID b f f    25      25      25       0 0 textcat - - ));
508 DESCR("concatenate");
509
510 DATA(insert OID = 660 (  "<"       PGNSP PGUID b f f    19      19      16 662 663 namelt scalarltsel scalarltjoinsel ));
511 DESCR("less than");
512 DATA(insert OID = 661 (  "<="      PGNSP PGUID b f f    19      19      16 663 662 namele scalarltsel scalarltjoinsel ));
513 DESCR("less than or equal");
514 DATA(insert OID = 662 (  ">"       PGNSP PGUID b f f    19      19      16 660 661 namegt scalargtsel scalargtjoinsel ));
515 DESCR("greater than");
516 DATA(insert OID = 663 (  ">="      PGNSP PGUID b f f    19      19      16 661 660 namege scalargtsel scalargtjoinsel ));
517 DESCR("greater than or equal");
518 DATA(insert OID = 664 (  "<"       PGNSP PGUID b f f    25      25      16 666 667 text_lt scalarltsel scalarltjoinsel ));
519 DESCR("less than");
520 DATA(insert OID = 665 (  "<="      PGNSP PGUID b f f    25      25      16 667 666 text_le scalarltsel scalarltjoinsel ));
521 DESCR("less than or equal");
522 DATA(insert OID = 666 (  ">"       PGNSP PGUID b f f    25      25      16 664 665 text_gt scalargtsel scalargtjoinsel ));
523 DESCR("greater than");
524 DATA(insert OID = 667 (  ">="      PGNSP PGUID b f f    25      25      16 665 664 text_ge scalargtsel scalargtjoinsel ));
525 DESCR("greater than or equal");
526
527 DATA(insert OID = 670 (  "="       PGNSP PGUID b t t    701  701        16 670 671 float8eq eqsel eqjoinsel ));
528 DESCR("equal");
529 DATA(insert OID = 671 (  "<>"      PGNSP PGUID b f f    701  701        16 671 670 float8ne neqsel neqjoinsel ));
530 DESCR("not equal");
531 DATA(insert OID = 672 (  "<"       PGNSP PGUID b f f    701  701        16 674 675 float8lt scalarltsel scalarltjoinsel ));
532 DESCR("less than");
533 #define Float8LessOperator      672
534 DATA(insert OID = 673 (  "<="      PGNSP PGUID b f f    701  701        16 675 674 float8le scalarltsel scalarltjoinsel ));
535 DESCR("less than or equal");
536 DATA(insert OID = 674 (  ">"       PGNSP PGUID b f f    701  701        16 672 673 float8gt scalargtsel scalargtjoinsel ));
537 DESCR("greater than");
538 DATA(insert OID = 675 (  ">="      PGNSP PGUID b f f    701  701        16 673 672 float8ge scalargtsel scalargtjoinsel ));
539 DESCR("greater than or equal");
540
541 DATA(insert OID = 682 (  "@"       PGNSP PGUID l f f     0      21      21       0       0 int2abs - - ));
542 DESCR("absolute value");
543 DATA(insert OID = 684 (  "+"       PGNSP PGUID b f f    20      20      20 684   0 int8pl - - ));
544 DESCR("add");
545 DATA(insert OID = 685 (  "-"       PGNSP PGUID b f f    20      20      20       0       0 int8mi - - ));
546 DESCR("subtract");
547 DATA(insert OID = 686 (  "*"       PGNSP PGUID b f f    20      20      20 686   0 int8mul - - ));
548 DESCR("multiply");
549 DATA(insert OID = 687 (  "/"       PGNSP PGUID b f f    20      20      20       0       0 int8div - - ));
550 DESCR("divide");
551
552 DATA(insert OID = 688 (  "+"       PGNSP PGUID b f f    20      23      20 692   0 int84pl - - ));
553 DESCR("add");
554 DATA(insert OID = 689 (  "-"       PGNSP PGUID b f f    20      23      20       0       0 int84mi - - ));
555 DESCR("subtract");
556 DATA(insert OID = 690 (  "*"       PGNSP PGUID b f f    20      23      20 694   0 int84mul - - ));
557 DESCR("multiply");
558 DATA(insert OID = 691 (  "/"       PGNSP PGUID b f f    20      23      20       0       0 int84div - - ));
559 DESCR("divide");
560 DATA(insert OID = 692 (  "+"       PGNSP PGUID b f f    23      20      20 688   0 int48pl - - ));
561 DESCR("add");
562 DATA(insert OID = 693 (  "-"       PGNSP PGUID b f f    23      20      20       0       0 int48mi - - ));
563 DESCR("subtract");
564 DATA(insert OID = 694 (  "*"       PGNSP PGUID b f f    23      20      20 690   0 int48mul - - ));
565 DESCR("multiply");
566 DATA(insert OID = 695 (  "/"       PGNSP PGUID b f f    23      20      20       0       0 int48div - - ));
567 DESCR("divide");
568
569 DATA(insert OID = 818 (  "+"       PGNSP PGUID b f f    20      21      20 822   0 int82pl - - ));
570 DESCR("add");
571 DATA(insert OID = 819 (  "-"       PGNSP PGUID b f f    20      21      20       0       0 int82mi - - ));
572 DESCR("subtract");
573 DATA(insert OID = 820 (  "*"       PGNSP PGUID b f f    20      21      20 824   0 int82mul - - ));
574 DESCR("multiply");
575 DATA(insert OID = 821 (  "/"       PGNSP PGUID b f f    20      21      20       0       0 int82div - - ));
576 DESCR("divide");
577 DATA(insert OID = 822 (  "+"       PGNSP PGUID b f f    21      20      20 818   0 int28pl - - ));
578 DESCR("add");
579 DATA(insert OID = 823 (  "-"       PGNSP PGUID b f f    21      20      20       0       0 int28mi - - ));
580 DESCR("subtract");
581 DATA(insert OID = 824 (  "*"       PGNSP PGUID b f f    21      20      20 820   0 int28mul - - ));
582 DESCR("multiply");
583 DATA(insert OID = 825 (  "/"       PGNSP PGUID b f f    21      20      20       0       0 int28div - - ));
584 DESCR("divide");
585
586 DATA(insert OID = 706 (  "<->"     PGNSP PGUID b f f 603 603 701 706     0 box_distance - - ));
587 DESCR("distance between");
588 DATA(insert OID = 707 (  "<->"     PGNSP PGUID b f f 602 602 701 707     0 path_distance - - ));
589 DESCR("distance between");
590 DATA(insert OID = 708 (  "<->"     PGNSP PGUID b f f 628 628 701 708     0 line_distance - - ));
591 DESCR("distance between");
592 DATA(insert OID = 709 (  "<->"     PGNSP PGUID b f f 601 601 701 709     0 lseg_distance - - ));
593 DESCR("distance between");
594 DATA(insert OID = 712 (  "<->"     PGNSP PGUID b f f 604 604 701 712     0 poly_distance - - ));
595 DESCR("distance between");
596
597 DATA(insert OID = 713 (  "<>"      PGNSP PGUID b f f 600 600    16 713 510 point_ne neqsel neqjoinsel ));
598 DESCR("not equal");
599
600 /* add translation/rotation/scaling operators for geometric types. - thomas 97/05/10 */
601 DATA(insert OID = 731 (  "+"       PGNSP PGUID b f f    600  600        600  731  0 point_add - - ));
602 DESCR("add points (translate)");
603 DATA(insert OID = 732 (  "-"       PGNSP PGUID b f f    600  600        600    0  0 point_sub - - ));
604 DESCR("subtract points (translate)");
605 DATA(insert OID = 733 (  "*"       PGNSP PGUID b f f    600  600        600  733  0 point_mul - - ));
606 DESCR("multiply points (scale/rotate)");
607 DATA(insert OID = 734 (  "/"       PGNSP PGUID b f f    600  600        600    0  0 point_div - - ));
608 DESCR("divide points (scale/rotate)");
609 DATA(insert OID = 735 (  "+"       PGNSP PGUID b f f    602  602        602  735  0 path_add - - ));
610 DESCR("concatenate");
611 DATA(insert OID = 736 (  "+"       PGNSP PGUID b f f    602  600        602    0  0 path_add_pt - - ));
612 DESCR("add (translate path)");
613 DATA(insert OID = 737 (  "-"       PGNSP PGUID b f f    602  600        602    0  0 path_sub_pt - - ));
614 DESCR("subtract (translate path)");
615 DATA(insert OID = 738 (  "*"       PGNSP PGUID b f f    602  600        602    0  0 path_mul_pt - - ));
616 DESCR("multiply (rotate/scale path)");
617 DATA(insert OID = 739 (  "/"       PGNSP PGUID b f f    602  600        602    0  0 path_div_pt - - ));
618 DESCR("divide (rotate/scale path)");
619 DATA(insert OID = 755 (  "@>"      PGNSP PGUID b f f    602  600         16  512  0 path_contain_pt - - ));
620 DESCR("contains");
621 DATA(insert OID = 756 (  "<@"      PGNSP PGUID b f f    600  604         16  757  0 pt_contained_poly contsel contjoinsel ));
622 DESCR("is contained by");
623 DATA(insert OID = 757 (  "@>"      PGNSP PGUID b f f    604  600         16  756  0 poly_contain_pt contsel contjoinsel ));
624 DESCR("contains");
625 DATA(insert OID = 758 (  "<@"      PGNSP PGUID b f f    600  718         16  759  0 pt_contained_circle contsel contjoinsel ));
626 DESCR("is contained by");
627 DATA(insert OID = 759 (  "@>"      PGNSP PGUID b f f    718  600         16  758  0 circle_contain_pt contsel contjoinsel ));
628 DESCR("contains");
629
630 DATA(insert OID = 773 (  "@"       PGNSP PGUID l f f     0      23      23       0       0 int4abs - - ));
631 DESCR("absolute value");
632
633 /* additional operators for geometric types - thomas 1997-07-09 */
634 DATA(insert OID =  792 (  "="      PGNSP PGUID b f f    602  602         16  792  0 path_n_eq eqsel eqjoinsel ));
635 DESCR("equal");
636 DATA(insert OID =  793 (  "<"      PGNSP PGUID b f f    602  602         16  794  0 path_n_lt - - ));
637 DESCR("less than");
638 DATA(insert OID =  794 (  ">"      PGNSP PGUID b f f    602  602         16  793  0 path_n_gt - - ));
639 DESCR("greater than");
640 DATA(insert OID =  795 (  "<="     PGNSP PGUID b f f    602  602         16  796  0 path_n_le - - ));
641 DESCR("less than or equal");
642 DATA(insert OID =  796 (  ">="     PGNSP PGUID b f f    602  602         16  795  0 path_n_ge - - ));
643 DESCR("greater than or equal");
644 DATA(insert OID =  797 (  "#"      PGNSP PGUID l f f    0        602     23    0  0 path_npoints - - ));
645 DESCR("number of points");
646 DATA(insert OID =  798 (  "?#"     PGNSP PGUID b f f    602  602         16    0  0 path_inter - - ));
647 DESCR("intersect");
648 DATA(insert OID =  799 (  "@-@"    PGNSP PGUID l f f    0        602    701    0  0 path_length - - ));
649 DESCR("sum of path segment lengths");
650 DATA(insert OID =  800 (  ">^"     PGNSP PGUID b f f    603  603         16    0  0 box_above_eq positionsel positionjoinsel ));
651 DESCR("is above (allows touching)");
652 DATA(insert OID =  801 (  "<^"     PGNSP PGUID b f f    603  603         16    0  0 box_below_eq positionsel positionjoinsel ));
653 DESCR("is below (allows touching)");
654 DATA(insert OID =  802 (  "?#"     PGNSP PGUID b f f    603  603         16    0  0 box_overlap areasel areajoinsel ));
655 DESCR("deprecated, use && instead");
656 DATA(insert OID =  803 (  "#"      PGNSP PGUID b f f    603  603        603    0  0 box_intersect - - ));
657 DESCR("box intersection");
658 DATA(insert OID =  804 (  "+"      PGNSP PGUID b f f    603  600        603    0  0 box_add - - ));
659 DESCR("add point to box (translate)");
660 DATA(insert OID =  805 (  "-"      PGNSP PGUID b f f    603  600        603    0  0 box_sub - - ));
661 DESCR("subtract point from box (translate)");
662 DATA(insert OID =  806 (  "*"      PGNSP PGUID b f f    603  600        603    0  0 box_mul - - ));
663 DESCR("multiply box by point (scale)");
664 DATA(insert OID =  807 (  "/"      PGNSP PGUID b f f    603  600        603    0  0 box_div - - ));
665 DESCR("divide box by point (scale)");
666 DATA(insert OID =  808 (  "?-"     PGNSP PGUID b f f    600  600         16  808  0 point_horiz - - ));
667 DESCR("horizontally aligned");
668 DATA(insert OID =  809 (  "?|"     PGNSP PGUID b f f    600  600         16  809  0 point_vert - - ));
669 DESCR("vertically aligned");
670
671 DATA(insert OID = 811 (  "="       PGNSP PGUID b t f 704 704    16 811 812 tintervaleq eqsel eqjoinsel ));
672 DESCR("equal");
673 DATA(insert OID = 812 (  "<>"      PGNSP PGUID b f f 704 704    16 812 811 tintervalne neqsel neqjoinsel ));
674 DESCR("not equal");
675 DATA(insert OID = 813 (  "<"       PGNSP PGUID b f f 704 704    16 814 816 tintervallt scalarltsel scalarltjoinsel ));
676 DESCR("less than");
677 DATA(insert OID = 814 (  ">"       PGNSP PGUID b f f 704 704    16 813 815 tintervalgt scalargtsel scalargtjoinsel ));
678 DESCR("greater than");
679 DATA(insert OID = 815 (  "<="      PGNSP PGUID b f f 704 704    16 816 814 tintervalle scalarltsel scalarltjoinsel ));
680 DESCR("less than or equal");
681 DATA(insert OID = 816 (  ">="      PGNSP PGUID b f f 704 704    16 815 813 tintervalge scalargtsel scalargtjoinsel ));
682 DESCR("greater than or equal");
683
684 DATA(insert OID = 843 (  "*"       PGNSP PGUID b f f    790  700        790 845   0 cash_mul_flt4 - - ));
685 DESCR("multiply");
686 DATA(insert OID = 844 (  "/"       PGNSP PGUID b f f    790  700        790   0   0 cash_div_flt4 - - ));
687 DESCR("divide");
688 DATA(insert OID = 845 (  "*"       PGNSP PGUID b f f    700  790        790 843   0 flt4_mul_cash - - ));
689 DESCR("multiply");
690
691 DATA(insert OID = 900 (  "="       PGNSP PGUID b t f    790  790        16 900 901 cash_eq eqsel eqjoinsel ));
692 DESCR("equal");
693 DATA(insert OID = 901 (  "<>"      PGNSP PGUID b f f    790  790        16 901 900 cash_ne neqsel neqjoinsel ));
694 DESCR("not equal");
695 DATA(insert OID = 902 (  "<"       PGNSP PGUID b f f    790  790        16 903 905 cash_lt scalarltsel scalarltjoinsel ));
696 DESCR("less than");
697 DATA(insert OID = 903 (  ">"       PGNSP PGUID b f f    790  790        16 902 904 cash_gt scalargtsel scalargtjoinsel ));
698 DESCR("greater than");
699 DATA(insert OID = 904 (  "<="      PGNSP PGUID b f f    790  790        16 905 903 cash_le scalarltsel scalarltjoinsel ));
700 DESCR("less than or equal");
701 DATA(insert OID = 905 (  ">="      PGNSP PGUID b f f    790  790        16 904 902 cash_ge scalargtsel scalargtjoinsel ));
702 DESCR("greater than or equal");
703 DATA(insert OID = 906 (  "+"       PGNSP PGUID b f f    790  790        790 906   0 cash_pl - - ));
704 DESCR("add");
705 DATA(insert OID = 907 (  "-"       PGNSP PGUID b f f    790  790        790   0   0 cash_mi - - ));
706 DESCR("subtract");
707 DATA(insert OID = 908 (  "*"       PGNSP PGUID b f f    790  701        790 916   0 cash_mul_flt8 - - ));
708 DESCR("multiply");
709 DATA(insert OID = 909 (  "/"       PGNSP PGUID b f f    790  701        790   0   0 cash_div_flt8 - - ));
710 DESCR("divide");
711 DATA(insert OID = 912 (  "*"       PGNSP PGUID b f f    790  23         790 917   0 cash_mul_int4 - - ));
712 DESCR("multiply");
713 DATA(insert OID = 913 (  "/"       PGNSP PGUID b f f    790  23         790   0   0 cash_div_int4 - - ));
714 DESCR("divide");
715 DATA(insert OID = 914 (  "*"       PGNSP PGUID b f f    790  21         790 918   0 cash_mul_int2 - - ));
716 DESCR("multiply");
717 DATA(insert OID = 915 (  "/"       PGNSP PGUID b f f    790  21         790   0   0 cash_div_int2 - - ));
718 DESCR("divide");
719 DATA(insert OID = 916 (  "*"       PGNSP PGUID b f f    701  790        790 908   0 flt8_mul_cash - - ));
720 DESCR("multiply");
721 DATA(insert OID = 917 (  "*"       PGNSP PGUID b f f    23      790             790 912   0 int4_mul_cash - - ));
722 DESCR("multiply");
723 DATA(insert OID = 918 (  "*"       PGNSP PGUID b f f    21      790             790 914   0 int2_mul_cash - - ));
724 DESCR("multiply");
725 DATA(insert OID = 3825 ( "/"       PGNSP PGUID b f f    790 790         701   0   0 cash_div_cash - - ));
726 DESCR("divide");
727
728 DATA(insert OID = 965 (  "^"       PGNSP PGUID b f f    701  701        701 0 0 dpow - - ));
729 DESCR("exponentiation");
730 DATA(insert OID = 966 (  "+"       PGNSP PGUID b f f 1034 1033 1034 0 0 aclinsert - - ));
731 DESCR("add/update ACL item");
732 DATA(insert OID = 967 (  "-"       PGNSP PGUID b f f 1034 1033 1034 0 0 aclremove - - ));
733 DESCR("remove ACL item");
734 DATA(insert OID = 968 (  "@>"      PGNSP PGUID b f f 1034 1033   16 0 0 aclcontains - - ));
735 DESCR("contains");
736 DATA(insert OID = 974 (  "="       PGNSP PGUID b f t 1033 1033   16 974 0 aclitemeq eqsel eqjoinsel ));
737 DESCR("equal");
738
739 /* additional geometric operators - thomas 1997-07-09 */
740 DATA(insert OID =  969 (  "@@"     PGNSP PGUID l f f    0  601  600    0  0 lseg_center - - ));
741 DESCR("center of");
742 DATA(insert OID =  970 (  "@@"     PGNSP PGUID l f f    0  602  600    0  0 path_center - - ));
743 DESCR("center of");
744 DATA(insert OID =  971 (  "@@"     PGNSP PGUID l f f    0  604  600    0  0 poly_center - - ));
745 DESCR("center of");
746
747 DATA(insert OID = 1054 ( "="       PGNSP PGUID b t t 1042 1042   16 1054 1057 bpchareq eqsel eqjoinsel ));
748 DESCR("equal");
749
750 DATA(insert OID = 1055 ( "~"       PGNSP PGUID b f f 1042 25     16    0 1056 bpcharregexeq regexeqsel regexeqjoinsel ));
751 DESCR("matches regular expression, case-sensitive");
752 #define OID_BPCHAR_REGEXEQ_OP           1055
753 DATA(insert OID = 1056 ( "!~"      PGNSP PGUID b f f 1042 25     16    0 1055 bpcharregexne regexnesel regexnejoinsel ));
754 DESCR("does not match regular expression, case-sensitive");
755 DATA(insert OID = 1057 ( "<>"      PGNSP PGUID b f f 1042 1042   16 1057 1054 bpcharne neqsel neqjoinsel ));
756 DESCR("not equal");
757 DATA(insert OID = 1058 ( "<"       PGNSP PGUID b f f 1042 1042   16 1060 1061 bpcharlt scalarltsel scalarltjoinsel ));
758 DESCR("less than");
759 DATA(insert OID = 1059 ( "<="      PGNSP PGUID b f f 1042 1042   16 1061 1060 bpcharle scalarltsel scalarltjoinsel ));
760 DESCR("less than or equal");
761 DATA(insert OID = 1060 ( ">"       PGNSP PGUID b f f 1042 1042   16 1058 1059 bpchargt scalargtsel scalargtjoinsel ));
762 DESCR("greater than");
763 DATA(insert OID = 1061 ( ">="      PGNSP PGUID b f f 1042 1042   16 1059 1058 bpcharge scalargtsel scalargtjoinsel ));
764 DESCR("greater than or equal");
765
766 /* generic array comparison operators */
767 DATA(insert OID = 1070 (  "="      PGNSP PGUID b t t 2277 2277 16 1070 1071 array_eq eqsel eqjoinsel ));
768 DESCR("equal");
769 #define ARRAY_EQ_OP 1070
770 DATA(insert OID = 1071 (  "<>"     PGNSP PGUID b f f 2277 2277 16 1071 1070 array_ne neqsel neqjoinsel ));
771 DESCR("not equal");
772 DATA(insert OID = 1072 (  "<"      PGNSP PGUID b f f 2277 2277 16 1073 1075 array_lt scalarltsel scalarltjoinsel ));
773 DESCR("less than");
774 #define ARRAY_LT_OP 1072
775 DATA(insert OID = 1073 (  ">"      PGNSP PGUID b f f 2277 2277 16 1072 1074 array_gt scalargtsel scalargtjoinsel ));
776 DESCR("greater than");
777 #define ARRAY_GT_OP 1073
778 DATA(insert OID = 1074 (  "<="     PGNSP PGUID b f f 2277 2277 16 1075 1073 array_le scalarltsel scalarltjoinsel ));
779 DESCR("less than or equal");
780 DATA(insert OID = 1075 (  ">="     PGNSP PGUID b f f 2277 2277 16 1074 1072 array_ge scalargtsel scalargtjoinsel ));
781 DESCR("greater than or equal");
782
783 /* date operators */
784 DATA(insert OID = 1076 ( "+"       PGNSP PGUID b f f    1082    1186 1114 2551 0 date_pl_interval - - ));
785 DESCR("add");
786 DATA(insert OID = 1077 ( "-"       PGNSP PGUID b f f    1082    1186 1114 0 0 date_mi_interval - - ));
787 DESCR("subtract");
788 DATA(insert OID = 1093 ( "="       PGNSP PGUID b t t    1082    1082   16 1093 1094 date_eq eqsel eqjoinsel ));
789 DESCR("equal");
790 DATA(insert OID = 1094 ( "<>"      PGNSP PGUID b f f    1082    1082   16 1094 1093 date_ne neqsel neqjoinsel ));
791 DESCR("not equal");
792 DATA(insert OID = 1095 ( "<"       PGNSP PGUID b f f    1082    1082   16 1097 1098 date_lt scalarltsel scalarltjoinsel ));
793 DESCR("less than");
794 DATA(insert OID = 1096 ( "<="      PGNSP PGUID b f f    1082    1082   16 1098 1097 date_le scalarltsel scalarltjoinsel ));
795 DESCR("less than or equal");
796 DATA(insert OID = 1097 ( ">"       PGNSP PGUID b f f    1082    1082   16 1095 1096 date_gt scalargtsel scalargtjoinsel ));
797 DESCR("greater than");
798 DATA(insert OID = 1098 ( ">="      PGNSP PGUID b f f    1082    1082   16 1096 1095 date_ge scalargtsel scalargtjoinsel ));
799 DESCR("greater than or equal");
800 DATA(insert OID = 1099 ( "-"       PGNSP PGUID b f f    1082    1082   23 0 0 date_mi - - ));
801 DESCR("subtract");
802 DATA(insert OID = 1100 ( "+"       PGNSP PGUID b f f    1082      23 1082 2555 0 date_pli - - ));
803 DESCR("add");
804 DATA(insert OID = 1101 ( "-"       PGNSP PGUID b f f    1082      23 1082 0 0 date_mii - - ));
805 DESCR("subtract");
806
807 /* time operators */
808 DATA(insert OID = 1108 ( "="       PGNSP PGUID b t t    1083    1083  16 1108 1109 time_eq eqsel eqjoinsel ));
809 DESCR("equal");
810 DATA(insert OID = 1109 ( "<>"      PGNSP PGUID b f f    1083    1083  16 1109 1108 time_ne neqsel neqjoinsel ));
811 DESCR("not equal");
812 DATA(insert OID = 1110 ( "<"       PGNSP PGUID b f f    1083    1083  16 1112 1113 time_lt scalarltsel scalarltjoinsel ));
813 DESCR("less than");
814 DATA(insert OID = 1111 ( "<="      PGNSP PGUID b f f    1083    1083  16 1113 1112 time_le scalarltsel scalarltjoinsel ));
815 DESCR("less than or equal");
816 DATA(insert OID = 1112 ( ">"       PGNSP PGUID b f f    1083    1083  16 1110 1111 time_gt scalargtsel scalargtjoinsel ));
817 DESCR("greater than");
818 DATA(insert OID = 1113 ( ">="      PGNSP PGUID b f f    1083    1083  16 1111 1110 time_ge scalargtsel scalargtjoinsel ));
819 DESCR("greater than or equal");
820
821 /* timetz operators */
822 DATA(insert OID = 1550 ( "="       PGNSP PGUID b t t    1266 1266       16 1550 1551 timetz_eq eqsel eqjoinsel ));
823 DESCR("equal");
824 DATA(insert OID = 1551 ( "<>"      PGNSP PGUID b f f    1266 1266       16 1551 1550 timetz_ne neqsel neqjoinsel ));
825 DESCR("not equal");
826 DATA(insert OID = 1552 ( "<"       PGNSP PGUID b f f    1266 1266       16 1554 1555 timetz_lt scalarltsel scalarltjoinsel ));
827 DESCR("less than");
828 DATA(insert OID = 1553 ( "<="      PGNSP PGUID b f f    1266 1266       16 1555 1554 timetz_le scalarltsel scalarltjoinsel ));
829 DESCR("less than or equal");
830 DATA(insert OID = 1554 ( ">"       PGNSP PGUID b f f    1266 1266       16 1552 1553 timetz_gt scalargtsel scalargtjoinsel ));
831 DESCR("greater than");
832 DATA(insert OID = 1555 ( ">="      PGNSP PGUID b f f    1266 1266       16 1553 1552 timetz_ge scalargtsel scalargtjoinsel ));
833 DESCR("greater than or equal");
834
835 /* float48 operators */
836 DATA(insert OID = 1116 (  "+"           PGNSP PGUID b f f 700 701 701 1126       0 float48pl - - ));
837 DESCR("add");
838 DATA(insert OID = 1117 (  "-"           PGNSP PGUID b f f 700 701 701  0         0 float48mi - - ));
839 DESCR("subtract");
840 DATA(insert OID = 1118 (  "/"           PGNSP PGUID b f f 700 701 701  0         0 float48div - - ));
841 DESCR("divide");
842 DATA(insert OID = 1119 (  "*"           PGNSP PGUID b f f 700 701 701 1129       0 float48mul - - ));
843 DESCR("multiply");
844 DATA(insert OID = 1120 (  "="           PGNSP PGUID b t t  700  701  16 1130 1121 float48eq eqsel eqjoinsel ));
845 DESCR("equal");
846 DATA(insert OID = 1121 (  "<>"          PGNSP PGUID b f f  700  701  16 1131 1120 float48ne neqsel neqjoinsel ));
847 DESCR("not equal");
848 DATA(insert OID = 1122 (  "<"           PGNSP PGUID b f f  700  701  16 1133 1125 float48lt scalarltsel scalarltjoinsel ));
849 DESCR("less than");
850 DATA(insert OID = 1123 (  ">"           PGNSP PGUID b f f  700  701  16 1132 1124 float48gt scalargtsel scalargtjoinsel ));
851 DESCR("greater than");
852 DATA(insert OID = 1124 (  "<="          PGNSP PGUID b f f  700  701  16 1135 1123 float48le scalarltsel scalarltjoinsel ));
853 DESCR("less than or equal");
854 DATA(insert OID = 1125 (  ">="          PGNSP PGUID b f f  700  701  16 1134 1122 float48ge scalargtsel scalargtjoinsel ));
855 DESCR("greater than or equal");
856
857 /* float84 operators */
858 DATA(insert OID = 1126 (  "+"           PGNSP PGUID b f f 701 700 701 1116       0 float84pl - - ));
859 DESCR("add");
860 DATA(insert OID = 1127 (  "-"           PGNSP PGUID b f f 701 700 701  0         0 float84mi - - ));
861 DESCR("subtract");
862 DATA(insert OID = 1128 (  "/"           PGNSP PGUID b f f 701 700 701  0         0 float84div - - ));
863 DESCR("divide");
864 DATA(insert OID = 1129 (  "*"           PGNSP PGUID b f f 701 700 701 1119       0 float84mul - - ));
865 DESCR("multiply");
866 DATA(insert OID = 1130 (  "="           PGNSP PGUID b t t  701  700  16 1120 1131 float84eq eqsel eqjoinsel ));
867 DESCR("equal");
868 DATA(insert OID = 1131 (  "<>"          PGNSP PGUID b f f  701  700  16 1121 1130 float84ne neqsel neqjoinsel ));
869 DESCR("not equal");
870 DATA(insert OID = 1132 (  "<"           PGNSP PGUID b f f  701  700  16 1123 1135 float84lt scalarltsel scalarltjoinsel ));
871 DESCR("less than");
872 DATA(insert OID = 1133 (  ">"           PGNSP PGUID b f f  701  700  16 1122 1134 float84gt scalargtsel scalargtjoinsel ));
873 DESCR("greater than");
874 DATA(insert OID = 1134 (  "<="          PGNSP PGUID b f f  701  700  16 1125 1133 float84le scalarltsel scalarltjoinsel ));
875 DESCR("less than or equal");
876 DATA(insert OID = 1135 (  ">="          PGNSP PGUID b f f  701  700  16 1124 1132 float84ge scalargtsel scalargtjoinsel ));
877 DESCR("greater than or equal");
878
879
880 /* LIKE hacks by Keith Parks. */
881 DATA(insert OID = 1207 (  "~~"    PGNSP PGUID b f f  19 25      16 0 1208 namelike likesel likejoinsel ));
882 DESCR("matches LIKE expression");
883 #define OID_NAME_LIKE_OP                1207
884 DATA(insert OID = 1208 (  "!~~"   PGNSP PGUID b f f  19 25      16 0 1207 namenlike nlikesel nlikejoinsel ));
885 DESCR("does not match LIKE expression");
886 DATA(insert OID = 1209 (  "~~"    PGNSP PGUID b f f  25 25      16 0 1210 textlike likesel likejoinsel ));
887 DESCR("matches LIKE expression");
888 #define OID_TEXT_LIKE_OP                1209
889 DATA(insert OID = 1210 (  "!~~"   PGNSP PGUID b f f  25 25      16 0 1209 textnlike nlikesel nlikejoinsel ));
890 DESCR("does not match LIKE expression");
891 DATA(insert OID = 1211 (  "~~"    PGNSP PGUID b f f  1042 25    16 0 1212 bpcharlike likesel likejoinsel ));
892 DESCR("matches LIKE expression");
893 #define OID_BPCHAR_LIKE_OP              1211
894 DATA(insert OID = 1212 (  "!~~"   PGNSP PGUID b f f  1042 25    16 0 1211 bpcharnlike nlikesel nlikejoinsel ));
895 DESCR("does not match LIKE expression");
896
897 /* case-insensitive regex hacks */
898 DATA(insert OID = 1226 (  "~*"           PGNSP PGUID b f f      19      25      16 0 1227 nameicregexeq icregexeqsel icregexeqjoinsel ));
899 DESCR("matches regular expression, case-insensitive");
900 #define OID_NAME_ICREGEXEQ_OP           1226
901 DATA(insert OID = 1227 (  "!~*"          PGNSP PGUID b f f      19      25      16 0 1226 nameicregexne icregexnesel icregexnejoinsel ));
902 DESCR("does not match regular expression, case-insensitive");
903 DATA(insert OID = 1228 (  "~*"           PGNSP PGUID b f f      25      25      16 0 1229 texticregexeq icregexeqsel icregexeqjoinsel ));
904 DESCR("matches regular expression, case-insensitive");
905 #define OID_TEXT_ICREGEXEQ_OP           1228
906 DATA(insert OID = 1229 (  "!~*"          PGNSP PGUID b f f      25      25      16 0 1228 texticregexne icregexnesel icregexnejoinsel ));
907 DESCR("does not match regular expression, case-insensitive");
908 DATA(insert OID = 1234 (  "~*"          PGNSP PGUID b f f  1042  25  16 0 1235 bpcharicregexeq icregexeqsel icregexeqjoinsel ));
909 DESCR("matches regular expression, case-insensitive");
910 #define OID_BPCHAR_ICREGEXEQ_OP         1234
911 DATA(insert OID = 1235 ( "!~*"          PGNSP PGUID b f f  1042  25  16 0 1234 bpcharicregexne icregexnesel icregexnejoinsel ));
912 DESCR("does not match regular expression, case-insensitive");
913
914 /* timestamptz operators */
915 DATA(insert OID = 1320 (  "="      PGNSP PGUID b t t 1184 1184   16 1320 1321 timestamptz_eq eqsel eqjoinsel ));
916 DESCR("equal");
917 DATA(insert OID = 1321 (  "<>"     PGNSP PGUID b f f 1184 1184   16 1321 1320 timestamptz_ne neqsel neqjoinsel ));
918 DESCR("not equal");
919 DATA(insert OID = 1322 (  "<"      PGNSP PGUID b f f 1184 1184   16 1324 1325 timestamptz_lt scalarltsel scalarltjoinsel ));
920 DESCR("less than");
921 DATA(insert OID = 1323 (  "<="     PGNSP PGUID b f f 1184 1184   16 1325 1324 timestamptz_le scalarltsel scalarltjoinsel ));
922 DESCR("less than or equal");
923 DATA(insert OID = 1324 (  ">"      PGNSP PGUID b f f 1184 1184   16 1322 1323 timestamptz_gt scalargtsel scalargtjoinsel ));
924 DESCR("greater than");
925 DATA(insert OID = 1325 (  ">="     PGNSP PGUID b f f 1184 1184   16 1323 1322 timestamptz_ge scalargtsel scalargtjoinsel ));
926 DESCR("greater than or equal");
927 DATA(insert OID = 1327 (  "+"      PGNSP PGUID b f f 1184 1186 1184  2554 0 timestamptz_pl_interval - - ));
928 DESCR("add");
929 DATA(insert OID = 1328 (  "-"      PGNSP PGUID b f f 1184 1184 1186  0  0 timestamptz_mi - - ));
930 DESCR("subtract");
931 DATA(insert OID = 1329 (  "-"      PGNSP PGUID b f f 1184 1186 1184  0  0 timestamptz_mi_interval - - ));
932 DESCR("subtract");
933
934 /* interval operators */
935 DATA(insert OID = 1330 (  "="      PGNSP PGUID b t t 1186 1186   16 1330 1331 interval_eq eqsel eqjoinsel ));
936 DESCR("equal");
937 DATA(insert OID = 1331 (  "<>"     PGNSP PGUID b f f 1186 1186   16 1331 1330 interval_ne neqsel neqjoinsel ));
938 DESCR("not equal");
939 DATA(insert OID = 1332 (  "<"      PGNSP PGUID b f f 1186 1186   16 1334 1335 interval_lt scalarltsel scalarltjoinsel ));
940 DESCR("less than");
941 DATA(insert OID = 1333 (  "<="     PGNSP PGUID b f f 1186 1186   16 1335 1334 interval_le scalarltsel scalarltjoinsel ));
942 DESCR("less than or equal");
943 DATA(insert OID = 1334 (  ">"      PGNSP PGUID b f f 1186 1186   16 1332 1333 interval_gt scalargtsel scalargtjoinsel ));
944 DESCR("greater than");
945 DATA(insert OID = 1335 (  ">="     PGNSP PGUID b f f 1186 1186   16 1333 1332 interval_ge scalargtsel scalargtjoinsel ));
946 DESCR("greater than or equal");
947
948 DATA(insert OID = 1336 (  "-"      PGNSP PGUID l f f    0 1186 1186    0        0 interval_um - - ));
949 DESCR("negate");
950 DATA(insert OID = 1337 (  "+"      PGNSP PGUID b f f 1186 1186 1186 1337        0 interval_pl - - ));
951 DESCR("add");
952 DATA(insert OID = 1338 (  "-"      PGNSP PGUID b f f 1186 1186 1186    0        0 interval_mi - - ));
953 DESCR("subtract");
954
955 DATA(insert OID = 1360 (  "+"      PGNSP PGUID b f f 1082 1083 1114 1363 0 datetime_pl - - ));
956 DESCR("convert date and time to timestamp");
957 DATA(insert OID = 1361 (  "+"      PGNSP PGUID b f f 1082 1266 1184 1366 0 datetimetz_pl - - ));
958 DESCR("convert date and time with time zone to timestamp with time zone");
959 DATA(insert OID = 1363 (  "+"      PGNSP PGUID b f f 1083 1082 1114 1360 0 timedate_pl - - ));
960 DESCR("convert time and date to timestamp");
961 DATA(insert OID = 1366 (  "+"      PGNSP PGUID b f f 1266 1082 1184 1361 0 timetzdate_pl - - ));
962 DESCR("convert time with time zone and date to timestamp with time zone");
963
964 DATA(insert OID = 1399 (  "-"      PGNSP PGUID b f f 1083 1083 1186  0  0 time_mi_time - - ));
965 DESCR("subtract");
966
967 /* additional geometric operators - thomas 97/04/18 */
968 DATA(insert OID = 1420 (  "@@"    PGNSP PGUID l f f  0  718 600   0    0 circle_center - - ));
969 DESCR("center of");
970 DATA(insert OID = 1500 (  "="     PGNSP PGUID b f f  718        718 16 1500 1501 circle_eq eqsel eqjoinsel ));
971 DESCR("equal by area");
972 DATA(insert OID = 1501 (  "<>"    PGNSP PGUID b f f  718        718 16 1501 1500 circle_ne neqsel neqjoinsel ));
973 DESCR("not equal by area");
974 DATA(insert OID = 1502 (  "<"     PGNSP PGUID b f f  718        718 16 1503 1505 circle_lt areasel areajoinsel ));
975 DESCR("less than by area");
976 DATA(insert OID = 1503 (  ">"     PGNSP PGUID b f f  718        718 16 1502 1504 circle_gt areasel areajoinsel ));
977 DESCR("greater than by area");
978 DATA(insert OID = 1504 (  "<="    PGNSP PGUID b f f  718        718 16 1505 1503 circle_le areasel areajoinsel ));
979 DESCR("less than or equal by area");
980 DATA(insert OID = 1505 (  ">="    PGNSP PGUID b f f  718        718 16 1504 1502 circle_ge areasel areajoinsel ));
981 DESCR("greater than or equal by area");
982
983 DATA(insert OID = 1506 (  "<<"    PGNSP PGUID b f f  718        718 16    0    0 circle_left positionsel positionjoinsel ));
984 DESCR("is left of");
985 DATA(insert OID = 1507 (  "&<"    PGNSP PGUID b f f  718        718 16    0    0 circle_overleft positionsel positionjoinsel ));
986 DESCR("overlaps or is left of");
987 DATA(insert OID = 1508 (  "&>"    PGNSP PGUID b f f  718        718 16    0    0 circle_overright positionsel positionjoinsel ));
988 DESCR("overlaps or is right of");
989 DATA(insert OID = 1509 (  ">>"    PGNSP PGUID b f f  718        718 16    0    0 circle_right positionsel positionjoinsel ));
990 DESCR("is right of");
991 DATA(insert OID = 1510 (  "<@"    PGNSP PGUID b f f  718        718 16 1511    0 circle_contained contsel contjoinsel ));
992 DESCR("is contained by");
993 DATA(insert OID = 1511 (  "@>"    PGNSP PGUID b f f  718        718 16 1510    0 circle_contain contsel contjoinsel ));
994 DESCR("contains");
995 DATA(insert OID = 1512 (  "~="    PGNSP PGUID b f f  718        718 16 1512    0 circle_same eqsel eqjoinsel ));
996 DESCR("same as");
997 DATA(insert OID = 1513 (  "&&"    PGNSP PGUID b f f  718        718 16 1513    0 circle_overlap areasel areajoinsel ));
998 DESCR("overlaps");
999 DATA(insert OID = 1514 (  "|>>"   PGNSP PGUID b f f  718        718 16    0    0 circle_above positionsel positionjoinsel ));
1000 DESCR("is above");
1001 DATA(insert OID = 1515 (  "<<|"   PGNSP PGUID b f f  718        718 16    0    0 circle_below positionsel positionjoinsel ));
1002 DESCR("is below");
1003
1004 DATA(insert OID = 1516 (  "+"     PGNSP PGUID b f f  718        600  718          0    0 circle_add_pt - - ));
1005 DESCR("add");
1006 DATA(insert OID = 1517 (  "-"     PGNSP PGUID b f f  718        600  718          0    0 circle_sub_pt - - ));
1007 DESCR("subtract");
1008 DATA(insert OID = 1518 (  "*"     PGNSP PGUID b f f  718        600  718          0    0 circle_mul_pt - - ));
1009 DESCR("multiply");
1010 DATA(insert OID = 1519 (  "/"     PGNSP PGUID b f f  718        600  718          0    0 circle_div_pt - - ));
1011 DESCR("divide");
1012
1013 DATA(insert OID = 1520 (  "<->"   PGNSP PGUID b f f  718        718  701   1520    0 circle_distance - - ));
1014 DESCR("distance between");
1015 DATA(insert OID = 1521 (  "#"     PGNSP PGUID l f f  0          604   23          0    0 poly_npoints - - ));
1016 DESCR("number of points");
1017 DATA(insert OID = 1522 (  "<->"   PGNSP PGUID b f f  600        718  701          0    0 dist_pc - - ));
1018 DESCR("distance between");
1019 DATA(insert OID = 1523 (  "<->"   PGNSP PGUID b f f  718        604  701          0    0 dist_cpoly - - ));
1020 DESCR("distance between");
1021
1022 /* additional geometric operators - thomas 1997-07-09 */
1023 DATA(insert OID = 1524 (  "<->"   PGNSP PGUID b f f  628        603  701          0  0 dist_lb - - ));
1024 DESCR("distance between");
1025
1026 DATA(insert OID = 1525 (  "?#"    PGNSP PGUID b f f  601        601 16 1525  0 lseg_intersect - - ));
1027 DESCR("intersect");
1028 DATA(insert OID = 1526 (  "?||"   PGNSP PGUID b f f  601        601 16 1526  0 lseg_parallel - - ));
1029 DESCR("parallel");
1030 DATA(insert OID = 1527 (  "?-|"   PGNSP PGUID b f f  601        601 16 1527  0 lseg_perp - - ));
1031 DESCR("perpendicular");
1032 DATA(insert OID = 1528 (  "?-"    PGNSP PGUID l f f  0  601 16    0  0 lseg_horizontal - - ));
1033 DESCR("horizontal");
1034 DATA(insert OID = 1529 (  "?|"    PGNSP PGUID l f f  0  601 16    0  0 lseg_vertical - - ));
1035 DESCR("vertical");
1036 DATA(insert OID = 1535 (  "="     PGNSP PGUID b f f  601        601 16 1535 1586 lseg_eq eqsel eqjoinsel ));
1037 DESCR("equal");
1038 DATA(insert OID = 1536 (  "#"     PGNSP PGUID b f f  601        601  600 1536  0 lseg_interpt - - ));
1039 DESCR("intersection point");
1040 DATA(insert OID = 1537 (  "?#"    PGNSP PGUID b f f  601        628 16    0  0 inter_sl - - ));
1041 DESCR("intersect");
1042 DATA(insert OID = 1538 (  "?#"    PGNSP PGUID b f f  601        603 16    0  0 inter_sb - - ));
1043 DESCR("intersect");
1044 DATA(insert OID = 1539 (  "?#"    PGNSP PGUID b f f  628        603 16    0  0 inter_lb - - ));
1045 DESCR("intersect");
1046
1047 DATA(insert OID = 1546 (  "<@"    PGNSP PGUID b f f  600        628 16    0  0 on_pl - - ));
1048 DESCR("point on line");
1049 DATA(insert OID = 1547 (  "<@"    PGNSP PGUID b f f  600        601 16    0  0 on_ps - - ));
1050 DESCR("is contained by");
1051 DATA(insert OID = 1548 (  "<@"    PGNSP PGUID b f f  601        628 16    0  0 on_sl - - ));
1052 DESCR("lseg on line");
1053 DATA(insert OID = 1549 (  "<@"    PGNSP PGUID b f f  601        603 16    0  0 on_sb - - ));
1054 DESCR("is contained by");
1055
1056 DATA(insert OID = 1557 (  "##"    PGNSP PGUID b f f  600        628  600          0  0 close_pl - - ));
1057 DESCR("closest point to A on B");
1058 DATA(insert OID = 1558 (  "##"    PGNSP PGUID b f f  600        601  600          0  0 close_ps - - ));
1059 DESCR("closest point to A on B");
1060 DATA(insert OID = 1559 (  "##"    PGNSP PGUID b f f  600        603  600          0  0 close_pb - - ));
1061 DESCR("closest point to A on B");
1062
1063 DATA(insert OID = 1566 (  "##"    PGNSP PGUID b f f  601        628  600          0  0 close_sl - - ));
1064 DESCR("closest point to A on B");
1065 DATA(insert OID = 1567 (  "##"    PGNSP PGUID b f f  601        603  600          0  0 close_sb - - ));
1066 DESCR("closest point to A on B");
1067 DATA(insert OID = 1568 (  "##"    PGNSP PGUID b f f  628        603  600          0  0 close_lb - - ));
1068 DESCR("closest point to A on B");
1069 DATA(insert OID = 1577 (  "##"    PGNSP PGUID b f f  628        601  600          0  0 close_ls - - ));
1070 DESCR("closest point to A on B");
1071 DATA(insert OID = 1578 (  "##"    PGNSP PGUID b f f  601        601  600          0  0 close_lseg - - ));
1072 DESCR("closest point to A on B");
1073 DATA(insert OID = 1583 (  "*"     PGNSP PGUID b f f 1186        701 1186        1584 0 interval_mul - - ));
1074 DESCR("multiply");
1075 DATA(insert OID = 1584 (  "*"     PGNSP PGUID b f f  701 1186 1186      1583 0 mul_d_interval - - ));
1076 DESCR("multiply");
1077 DATA(insert OID = 1585 (  "/"     PGNSP PGUID b f f 1186        701 1186          0  0 interval_div - - ));
1078 DESCR("divide");
1079
1080 DATA(insert OID = 1586 (  "<>"    PGNSP PGUID b f f  601        601 16 1586 1535 lseg_ne neqsel neqjoinsel ));
1081 DESCR("not equal");
1082 DATA(insert OID = 1587 (  "<"     PGNSP PGUID b f f  601        601 16 1589 1590 lseg_lt - - ));
1083 DESCR("less than by length");
1084 DATA(insert OID = 1588 (  "<="    PGNSP PGUID b f f  601        601 16 1590 1589 lseg_le - - ));
1085 DESCR("less than or equal by length");
1086 DATA(insert OID = 1589 (  ">"     PGNSP PGUID b f f  601        601 16 1587 1588 lseg_gt - - ));
1087 DESCR("greater than by length");
1088 DATA(insert OID = 1590 (  ">="    PGNSP PGUID b f f  601        601 16 1588 1587 lseg_ge - - ));
1089 DESCR("greater than or equal by length");
1090
1091 DATA(insert OID = 1591 (  "@-@"   PGNSP PGUID l f f 0  601      701    0  0 lseg_length - - ));
1092 DESCR("distance between endpoints");
1093
1094 DATA(insert OID = 1611 (  "?#"    PGNSP PGUID b f f  628        628 16 1611  0 line_intersect - - ));
1095 DESCR("intersect");
1096 DATA(insert OID = 1612 (  "?||"   PGNSP PGUID b f f  628        628 16 1612  0 line_parallel - - ));
1097 DESCR("parallel");
1098 DATA(insert OID = 1613 (  "?-|"   PGNSP PGUID b f f  628        628 16 1613  0 line_perp - - ));
1099 DESCR("perpendicular");
1100 DATA(insert OID = 1614 (  "?-"    PGNSP PGUID l f f  0  628 16    0  0 line_horizontal - - ));
1101 DESCR("horizontal");
1102 DATA(insert OID = 1615 (  "?|"    PGNSP PGUID l f f  0  628 16    0  0 line_vertical - - ));
1103 DESCR("vertical");
1104 DATA(insert OID = 1616 (  "="     PGNSP PGUID b f f  628        628 16 1616  0 line_eq eqsel eqjoinsel ));
1105 DESCR("equal");
1106 DATA(insert OID = 1617 (  "#"     PGNSP PGUID b f f  628        628  600 1617  0 line_interpt - - ));
1107 DESCR("intersection point");
1108
1109 /* MAC type */
1110 DATA(insert OID = 1220 (  "="      PGNSP PGUID b t t 829 829     16 1220 1221 macaddr_eq eqsel eqjoinsel ));
1111 DESCR("equal");
1112 DATA(insert OID = 1221 (  "<>"     PGNSP PGUID b f f 829 829     16 1221 1220 macaddr_ne neqsel neqjoinsel ));
1113 DESCR("not equal");
1114 DATA(insert OID = 1222 (  "<"      PGNSP PGUID b f f 829 829     16 1224 1225 macaddr_lt scalarltsel scalarltjoinsel ));
1115 DESCR("less than");
1116 DATA(insert OID = 1223 (  "<="     PGNSP PGUID b f f 829 829     16 1225 1224 macaddr_le scalarltsel scalarltjoinsel ));
1117 DESCR("less than or equal");
1118 DATA(insert OID = 1224 (  ">"      PGNSP PGUID b f f 829 829     16 1222 1223 macaddr_gt scalargtsel scalargtjoinsel ));
1119 DESCR("greater than");
1120 DATA(insert OID = 1225 (  ">="     PGNSP PGUID b f f 829 829     16 1223 1222 macaddr_ge scalargtsel scalargtjoinsel ));
1121 DESCR("greater than or equal");
1122
1123 DATA(insert OID = 3147 (  "~"      PGNSP PGUID l f f      0 829 829 0 0 macaddr_not - - ));
1124 DESCR("bitwise not");
1125 DATA(insert OID = 3148 (  "&"      PGNSP PGUID b f f    829 829 829 0 0 macaddr_and - - ));
1126 DESCR("bitwise and");
1127 DATA(insert OID = 3149 (  "|"      PGNSP PGUID b f f    829 829 829 0 0 macaddr_or - - ));
1128 DESCR("bitwise or");
1129
1130 /* INET type (these also support CIDR via implicit cast) */
1131 DATA(insert OID = 1201 (  "="      PGNSP PGUID b t t 869 869     16 1201 1202 network_eq eqsel eqjoinsel ));
1132 DESCR("equal");
1133 DATA(insert OID = 1202 (  "<>"     PGNSP PGUID b f f 869 869     16 1202 1201 network_ne neqsel neqjoinsel ));
1134 DESCR("not equal");
1135 DATA(insert OID = 1203 (  "<"      PGNSP PGUID b f f 869 869     16 1205 1206 network_lt scalarltsel scalarltjoinsel ));
1136 DESCR("less than");
1137 DATA(insert OID = 1204 (  "<="     PGNSP PGUID b f f 869 869     16 1206 1205 network_le scalarltsel scalarltjoinsel ));
1138 DESCR("less than or equal");
1139 DATA(insert OID = 1205 (  ">"      PGNSP PGUID b f f 869 869     16 1203 1204 network_gt scalargtsel scalargtjoinsel ));
1140 DESCR("greater than");
1141 DATA(insert OID = 1206 (  ">="     PGNSP PGUID b f f 869 869     16 1204 1203 network_ge scalargtsel scalargtjoinsel ));
1142 DESCR("greater than or equal");
1143 DATA(insert OID = 931  (  "<<"     PGNSP PGUID b f f 869 869     16 933         0 network_sub networksel networkjoinsel ));
1144 DESCR("is subnet");
1145 #define OID_INET_SUB_OP                           931
1146 DATA(insert OID = 932  (  "<<="    PGNSP PGUID b f f 869 869     16 934         0 network_subeq networksel networkjoinsel ));
1147 DESCR("is subnet or equal");
1148 #define OID_INET_SUBEQ_OP                               932
1149 DATA(insert OID = 933  (  ">>"     PGNSP PGUID b f f 869 869     16 931         0 network_sup networksel networkjoinsel ));
1150 DESCR("is supernet");
1151 #define OID_INET_SUP_OP                           933
1152 DATA(insert OID = 934  (  ">>="    PGNSP PGUID b f f 869 869     16 932         0 network_supeq networksel networkjoinsel ));
1153 DESCR("is supernet or equal");
1154 #define OID_INET_SUPEQ_OP                               934
1155 DATA(insert OID = 3552  (  "&&"    PGNSP PGUID b f f 869 869     16 3552        0 network_overlap networksel networkjoinsel ));
1156 DESCR("overlaps (is subnet or supernet)");
1157
1158 DATA(insert OID = 2634 (  "~"      PGNSP PGUID l f f      0 869 869 0 0 inetnot - - ));
1159 DESCR("bitwise not");
1160 DATA(insert OID = 2635 (  "&"      PGNSP PGUID b f f    869 869 869 0 0 inetand - - ));
1161 DESCR("bitwise and");
1162 DATA(insert OID = 2636 (  "|"      PGNSP PGUID b f f    869 869 869 0 0 inetor - - ));
1163 DESCR("bitwise or");
1164 DATA(insert OID = 2637 (  "+"      PGNSP PGUID b f f    869  20 869 2638 0 inetpl - - ));
1165 DESCR("add");
1166 DATA(insert OID = 2638 (  "+"      PGNSP PGUID b f f     20 869 869 2637 0 int8pl_inet - - ));
1167 DESCR("add");
1168 DATA(insert OID = 2639 (  "-"      PGNSP PGUID b f f    869  20 869 0 0 inetmi_int8 - - ));
1169 DESCR("subtract");
1170 DATA(insert OID = 2640 (  "-"      PGNSP PGUID b f f    869 869  20 0 0 inetmi - - ));
1171 DESCR("subtract");
1172
1173 /* case-insensitive LIKE hacks */
1174 DATA(insert OID = 1625 (  "~~*"   PGNSP PGUID b f f  19 25      16 0 1626 nameiclike iclikesel iclikejoinsel ));
1175 DESCR("matches LIKE expression, case-insensitive");
1176 #define OID_NAME_ICLIKE_OP              1625
1177 DATA(insert OID = 1626 (  "!~~*"  PGNSP PGUID b f f  19 25      16 0 1625 nameicnlike icnlikesel icnlikejoinsel ));
1178 DESCR("does not match LIKE expression, case-insensitive");
1179 DATA(insert OID = 1627 (  "~~*"   PGNSP PGUID b f f  25 25      16 0 1628 texticlike iclikesel iclikejoinsel ));
1180 DESCR("matches LIKE expression, case-insensitive");
1181 #define OID_TEXT_ICLIKE_OP              1627
1182 DATA(insert OID = 1628 (  "!~~*"  PGNSP PGUID b f f  25 25      16 0 1627 texticnlike icnlikesel icnlikejoinsel ));
1183 DESCR("does not match LIKE expression, case-insensitive");
1184 DATA(insert OID = 1629 (  "~~*"   PGNSP PGUID b f f  1042 25    16 0 1630 bpchariclike iclikesel iclikejoinsel ));
1185 DESCR("matches LIKE expression, case-insensitive");
1186 #define OID_BPCHAR_ICLIKE_OP    1629
1187 DATA(insert OID = 1630 (  "!~~*"  PGNSP PGUID b f f  1042 25    16 0 1629 bpcharicnlike icnlikesel icnlikejoinsel ));
1188 DESCR("does not match LIKE expression, case-insensitive");
1189
1190 /* NUMERIC type - OID's 1700-1799 */
1191 DATA(insert OID = 1751 (  "-"      PGNSP PGUID l f f    0 1700 1700    0        0 numeric_uminus - - ));
1192 DESCR("negate");
1193 DATA(insert OID = 1752 (  "="      PGNSP PGUID b t t 1700 1700   16 1752 1753 numeric_eq eqsel eqjoinsel ));
1194 DESCR("equal");
1195 DATA(insert OID = 1753 (  "<>"     PGNSP PGUID b f f 1700 1700   16 1753 1752 numeric_ne neqsel neqjoinsel ));
1196 DESCR("not equal");
1197 DATA(insert OID = 1754 (  "<"      PGNSP PGUID b f f 1700 1700   16 1756 1757 numeric_lt scalarltsel scalarltjoinsel ));
1198 DESCR("less than");
1199 DATA(insert OID = 1755 (  "<="     PGNSP PGUID b f f 1700 1700   16 1757 1756 numeric_le scalarltsel scalarltjoinsel ));
1200 DESCR("less than or equal");
1201 DATA(insert OID = 1756 (  ">"      PGNSP PGUID b f f 1700 1700   16 1754 1755 numeric_gt scalargtsel scalargtjoinsel ));
1202 DESCR("greater than");
1203 DATA(insert OID = 1757 (  ">="     PGNSP PGUID b f f 1700 1700   16 1755 1754 numeric_ge scalargtsel scalargtjoinsel ));
1204 DESCR("greater than or equal");
1205 DATA(insert OID = 1758 (  "+"      PGNSP PGUID b f f 1700 1700 1700 1758        0 numeric_add - - ));
1206 DESCR("add");
1207 DATA(insert OID = 1759 (  "-"      PGNSP PGUID b f f 1700 1700 1700    0        0 numeric_sub - - ));
1208 DESCR("subtract");
1209 DATA(insert OID = 1760 (  "*"      PGNSP PGUID b f f 1700 1700 1700 1760        0 numeric_mul - - ));
1210 DESCR("multiply");
1211 DATA(insert OID = 1761 (  "/"      PGNSP PGUID b f f 1700 1700 1700    0        0 numeric_div - - ));
1212 DESCR("divide");
1213 DATA(insert OID = 1762 (  "%"      PGNSP PGUID b f f 1700 1700 1700    0        0 numeric_mod - - ));
1214 DESCR("modulus");
1215 DATA(insert OID = 1038 (  "^"      PGNSP PGUID b f f 1700 1700 1700    0        0 numeric_power - - ));
1216 DESCR("exponentiation");
1217 DATA(insert OID = 1763 (  "@"      PGNSP PGUID l f f    0 1700 1700    0        0 numeric_abs - - ));
1218 DESCR("absolute value");
1219
1220 DATA(insert OID = 1784 (  "="     PGNSP PGUID b t f 1560 1560 16 1784 1785 biteq eqsel eqjoinsel ));
1221 DESCR("equal");
1222 DATA(insert OID = 1785 (  "<>"    PGNSP PGUID b f f 1560 1560 16 1785 1784 bitne neqsel neqjoinsel ));
1223 DESCR("not equal");
1224 DATA(insert OID = 1786 (  "<"     PGNSP PGUID b f f 1560 1560 16 1787 1789 bitlt scalarltsel scalarltjoinsel ));
1225 DESCR("less than");
1226 DATA(insert OID = 1787 (  ">"     PGNSP PGUID b f f 1560 1560 16 1786 1788 bitgt scalargtsel scalargtjoinsel ));
1227 DESCR("greater than");
1228 DATA(insert OID = 1788 (  "<="    PGNSP PGUID b f f 1560 1560 16 1789 1787 bitle scalarltsel scalarltjoinsel ));
1229 DESCR("less than or equal");
1230 DATA(insert OID = 1789 (  ">="    PGNSP PGUID b f f 1560 1560 16 1788 1786 bitge scalargtsel scalargtjoinsel ));
1231 DESCR("greater than or equal");
1232 DATA(insert OID = 1791 (  "&"     PGNSP PGUID b f f 1560 1560 1560 1791  0 bitand - - ));
1233 DESCR("bitwise and");
1234 DATA(insert OID = 1792 (  "|"     PGNSP PGUID b f f 1560 1560 1560 1792  0 bitor - - ));
1235 DESCR("bitwise or");
1236 DATA(insert OID = 1793 (  "#"     PGNSP PGUID b f f 1560 1560 1560 1793  0 bitxor - - ));
1237 DESCR("bitwise exclusive or");
1238 DATA(insert OID = 1794 (  "~"     PGNSP PGUID l f f    0 1560 1560        0  0 bitnot - - ));
1239 DESCR("bitwise not");
1240 DATA(insert OID = 1795 (  "<<"    PGNSP PGUID b f f 1560   23 1560        0  0 bitshiftleft - - ));
1241 DESCR("bitwise shift left");
1242 DATA(insert OID = 1796 (  ">>"    PGNSP PGUID b f f 1560   23 1560        0  0 bitshiftright - - ));
1243 DESCR("bitwise shift right");
1244 DATA(insert OID = 1797 (  "||"    PGNSP PGUID b f f 1562 1562 1562        0  0 bitcat - - ));
1245 DESCR("concatenate");
1246
1247 DATA(insert OID = 1800 (  "+"      PGNSP PGUID b f f 1083 1186 1083  1849 0 time_pl_interval - - ));
1248 DESCR("add");
1249 DATA(insert OID = 1801 (  "-"      PGNSP PGUID b f f 1083 1186 1083  0  0 time_mi_interval - - ));
1250 DESCR("subtract");
1251 DATA(insert OID = 1802 (  "+"      PGNSP PGUID b f f 1266 1186 1266  2552 0 timetz_pl_interval - - ));
1252 DESCR("add");
1253 DATA(insert OID = 1803 (  "-"      PGNSP PGUID b f f 1266 1186 1266  0  0 timetz_mi_interval - - ));
1254 DESCR("subtract");
1255
1256 DATA(insert OID = 1804 (  "="     PGNSP PGUID b t f 1562 1562 16 1804 1805 varbiteq eqsel eqjoinsel ));
1257 DESCR("equal");
1258 DATA(insert OID = 1805 (  "<>"    PGNSP PGUID b f f 1562 1562 16 1805 1804 varbitne neqsel neqjoinsel ));
1259 DESCR("not equal");
1260 DATA(insert OID = 1806 (  "<"     PGNSP PGUID b f f 1562 1562 16 1807 1809 varbitlt scalarltsel scalarltjoinsel ));
1261 DESCR("less than");
1262 DATA(insert OID = 1807 (  ">"     PGNSP PGUID b f f 1562 1562 16 1806 1808 varbitgt scalargtsel scalargtjoinsel ));
1263 DESCR("greater than");
1264 DATA(insert OID = 1808 (  "<="    PGNSP PGUID b f f 1562 1562 16 1809 1807 varbitle scalarltsel scalarltjoinsel ));
1265 DESCR("less than or equal");
1266 DATA(insert OID = 1809 (  ">="    PGNSP PGUID b f f 1562 1562 16 1808 1806 varbitge scalargtsel scalargtjoinsel ));
1267 DESCR("greater than or equal");
1268
1269 DATA(insert OID = 1849 (  "+"      PGNSP PGUID b f f 1186 1083 1083  1800 0 interval_pl_time - - ));
1270 DESCR("add");
1271
1272 DATA(insert OID = 1862 ( "="       PGNSP PGUID b t t    21      20      16 1868  1863 int28eq eqsel eqjoinsel ));
1273 DESCR("equal");
1274 DATA(insert OID = 1863 ( "<>"      PGNSP PGUID b f f    21      20      16 1869  1862 int28ne neqsel neqjoinsel ));
1275 DESCR("not equal");
1276 DATA(insert OID = 1864 ( "<"       PGNSP PGUID b f f    21      20      16 1871  1867 int28lt scalarltsel scalarltjoinsel ));
1277 DESCR("less than");
1278 DATA(insert OID = 1865 ( ">"       PGNSP PGUID b f f    21      20      16 1870  1866 int28gt scalargtsel scalargtjoinsel ));
1279 DESCR("greater than");
1280 DATA(insert OID = 1866 ( "<="      PGNSP PGUID b f f    21      20      16 1873  1865 int28le scalarltsel scalarltjoinsel ));
1281 DESCR("less than or equal");
1282 DATA(insert OID = 1867 ( ">="      PGNSP PGUID b f f    21      20      16 1872  1864 int28ge scalargtsel scalargtjoinsel ));
1283 DESCR("greater than or equal");
1284
1285 DATA(insert OID = 1868 ( "="       PGNSP PGUID b t t    20      21      16      1862 1869 int82eq eqsel eqjoinsel ));
1286 DESCR("equal");
1287 DATA(insert OID = 1869 ( "<>"      PGNSP PGUID b f f    20      21      16      1863 1868 int82ne neqsel neqjoinsel ));
1288 DESCR("not equal");
1289 DATA(insert OID = 1870 ( "<"       PGNSP PGUID b f f    20      21      16      1865 1873 int82lt scalarltsel scalarltjoinsel ));
1290 DESCR("less than");
1291 DATA(insert OID = 1871 ( ">"       PGNSP PGUID b f f    20      21      16      1864 1872 int82gt scalargtsel scalargtjoinsel ));
1292 DESCR("greater than");
1293 DATA(insert OID = 1872 ( "<="      PGNSP PGUID b f f    20      21      16      1867 1871 int82le scalarltsel scalarltjoinsel ));
1294 DESCR("less than or equal");
1295 DATA(insert OID = 1873 ( ">="      PGNSP PGUID b f f    20      21      16      1866 1870 int82ge scalargtsel scalargtjoinsel ));
1296 DESCR("greater than or equal");
1297
1298 DATA(insert OID = 1874 ( "&"       PGNSP PGUID b f f    21      21      21      1874  0 int2and - - ));
1299 DESCR("bitwise and");
1300 DATA(insert OID = 1875 ( "|"       PGNSP PGUID b f f    21      21      21      1875  0 int2or - - ));
1301 DESCR("bitwise or");
1302 DATA(insert OID = 1876 ( "#"       PGNSP PGUID b f f    21      21      21      1876  0 int2xor - - ));
1303 DESCR("bitwise exclusive or");
1304 DATA(insert OID = 1877 ( "~"       PGNSP PGUID l f f     0      21      21       0        0 int2not - - ));
1305 DESCR("bitwise not");
1306 DATA(insert OID = 1878 ( "<<"      PGNSP PGUID b f f    21      23      21       0        0 int2shl - - ));
1307 DESCR("bitwise shift left");
1308 DATA(insert OID = 1879 ( ">>"      PGNSP PGUID b f f    21      23      21       0        0 int2shr - - ));
1309 DESCR("bitwise shift right");
1310
1311 DATA(insert OID = 1880 ( "&"       PGNSP PGUID b f f    23      23      23      1880  0 int4and - - ));
1312 DESCR("bitwise and");
1313 DATA(insert OID = 1881 ( "|"       PGNSP PGUID b f f    23      23      23      1881  0 int4or - - ));
1314 DESCR("bitwise or");
1315 DATA(insert OID = 1882 ( "#"       PGNSP PGUID b f f    23      23      23      1882  0 int4xor - - ));
1316 DESCR("bitwise exclusive or");
1317 DATA(insert OID = 1883 ( "~"       PGNSP PGUID l f f     0      23      23       0        0 int4not - - ));
1318 DESCR("bitwise not");
1319 DATA(insert OID = 1884 ( "<<"      PGNSP PGUID b f f    23      23      23       0        0 int4shl - - ));
1320 DESCR("bitwise shift left");
1321 DATA(insert OID = 1885 ( ">>"      PGNSP PGUID b f f    23      23      23       0        0 int4shr - - ));
1322 DESCR("bitwise shift right");
1323
1324 DATA(insert OID = 1886 ( "&"       PGNSP PGUID b f f    20      20      20      1886  0 int8and - - ));
1325 DESCR("bitwise and");
1326 DATA(insert OID = 1887 ( "|"       PGNSP PGUID b f f    20      20      20      1887  0 int8or - - ));
1327 DESCR("bitwise or");
1328 DATA(insert OID = 1888 ( "#"       PGNSP PGUID b f f    20      20      20      1888  0 int8xor - - ));
1329 DESCR("bitwise exclusive or");
1330 DATA(insert OID = 1889 ( "~"       PGNSP PGUID l f f     0      20      20       0        0 int8not - - ));
1331 DESCR("bitwise not");
1332 DATA(insert OID = 1890 ( "<<"      PGNSP PGUID b f f    20      23      20       0        0 int8shl - - ));
1333 DESCR("bitwise shift left");
1334 DATA(insert OID = 1891 ( ">>"      PGNSP PGUID b f f    20      23      20       0        0 int8shr - - ));
1335 DESCR("bitwise shift right");
1336
1337 DATA(insert OID = 1916 (  "+"      PGNSP PGUID l f f     0      20      20      0       0 int8up - - ));
1338 DESCR("unary plus");
1339 DATA(insert OID = 1917 (  "+"      PGNSP PGUID l f f     0      21      21      0       0 int2up - - ));
1340 DESCR("unary plus");
1341 DATA(insert OID = 1918 (  "+"      PGNSP PGUID l f f     0      23      23      0       0 int4up - - ));
1342 DESCR("unary plus");
1343 DATA(insert OID = 1919 (  "+"      PGNSP PGUID l f f     0      700 700 0       0 float4up - - ));
1344 DESCR("unary plus");
1345 DATA(insert OID = 1920 (  "+"      PGNSP PGUID l f f     0      701 701 0       0 float8up - - ));
1346 DESCR("unary plus");
1347 DATA(insert OID = 1921 (  "+"      PGNSP PGUID l f f     0 1700 1700    0       0 numeric_uplus - - ));
1348 DESCR("unary plus");
1349
1350 /* bytea operators */
1351 DATA(insert OID = 1955 ( "="       PGNSP PGUID b t t 17 17      16 1955 1956 byteaeq eqsel eqjoinsel ));
1352 DESCR("equal");
1353 DATA(insert OID = 1956 ( "<>"      PGNSP PGUID b f f 17 17      16 1956 1955 byteane neqsel neqjoinsel ));
1354 DESCR("not equal");
1355 DATA(insert OID = 1957 ( "<"       PGNSP PGUID b f f 17 17      16 1959 1960 bytealt scalarltsel scalarltjoinsel ));
1356 DESCR("less than");
1357 DATA(insert OID = 1958 ( "<="      PGNSP PGUID b f f 17 17      16 1960 1959 byteale scalarltsel scalarltjoinsel ));
1358 DESCR("less than or equal");
1359 DATA(insert OID = 1959 ( ">"       PGNSP PGUID b f f 17 17      16 1957 1958 byteagt scalargtsel scalargtjoinsel ));
1360 DESCR("greater than");
1361 DATA(insert OID = 1960 ( ">="      PGNSP PGUID b f f 17 17      16 1958 1957 byteage scalargtsel scalargtjoinsel ));
1362 DESCR("greater than or equal");
1363
1364 DATA(insert OID = 2016 (  "~~"     PGNSP PGUID b f f 17 17      16 0    2017 bytealike likesel likejoinsel ));
1365 DESCR("matches LIKE expression");
1366 #define OID_BYTEA_LIKE_OP               2016
1367 DATA(insert OID = 2017 (  "!~~"    PGNSP PGUID b f f 17 17      16 0    2016 byteanlike nlikesel nlikejoinsel ));
1368 DESCR("does not match LIKE expression");
1369 DATA(insert OID = 2018 (  "||"     PGNSP PGUID b f f 17 17      17 0    0        byteacat - - ));
1370 DESCR("concatenate");
1371
1372 /* timestamp operators */
1373 DATA(insert OID = 2060 (  "="      PGNSP PGUID b t t 1114 1114   16 2060 2061 timestamp_eq eqsel eqjoinsel ));
1374 DESCR("equal");
1375 DATA(insert OID = 2061 (  "<>"     PGNSP PGUID b f f 1114 1114   16 2061 2060 timestamp_ne neqsel neqjoinsel ));
1376 DESCR("not equal");
1377 DATA(insert OID = 2062 (  "<"      PGNSP PGUID b f f 1114 1114   16 2064 2065 timestamp_lt scalarltsel scalarltjoinsel ));
1378 DESCR("less than");
1379 DATA(insert OID = 2063 (  "<="     PGNSP PGUID b f f 1114 1114   16 2065 2064 timestamp_le scalarltsel scalarltjoinsel ));
1380 DESCR("less than or equal");
1381 DATA(insert OID = 2064 (  ">"      PGNSP PGUID b f f 1114 1114   16 2062 2063 timestamp_gt scalargtsel scalargtjoinsel ));
1382 DESCR("greater than");
1383 DATA(insert OID = 2065 (  ">="     PGNSP PGUID b f f 1114 1114   16 2063 2062 timestamp_ge scalargtsel scalargtjoinsel ));
1384 DESCR("greater than or equal");
1385 DATA(insert OID = 2066 (  "+"      PGNSP PGUID b f f 1114 1186 1114  2553 0 timestamp_pl_interval - - ));
1386 DESCR("add");
1387 DATA(insert OID = 2067 (  "-"      PGNSP PGUID b f f 1114 1114 1186  0  0 timestamp_mi - - ));
1388 DESCR("subtract");
1389 DATA(insert OID = 2068 (  "-"      PGNSP PGUID b f f 1114 1186 1114  0  0 timestamp_mi_interval - - ));
1390 DESCR("subtract");
1391
1392 /* character-by-character (not collation order) comparison operators for character types */
1393
1394 DATA(insert OID = 2314 ( "~<~"  PGNSP PGUID b f f 25 25 16 2318 2317 text_pattern_lt scalarltsel scalarltjoinsel ));
1395 DESCR("less than");
1396 DATA(insert OID = 2315 ( "~<=~" PGNSP PGUID b f f 25 25 16 2317 2318 text_pattern_le scalarltsel scalarltjoinsel ));
1397 DESCR("less than or equal");
1398 DATA(insert OID = 2317 ( "~>=~" PGNSP PGUID b f f 25 25 16 2315 2314 text_pattern_ge scalargtsel scalargtjoinsel ));
1399 DESCR("greater than or equal");
1400 DATA(insert OID = 2318 ( "~>~"  PGNSP PGUID b f f 25 25 16 2314 2315 text_pattern_gt scalargtsel scalargtjoinsel ));
1401 DESCR("greater than");
1402
1403 DATA(insert OID = 2326 ( "~<~"  PGNSP PGUID b f f 1042 1042 16 2330 2329 bpchar_pattern_lt scalarltsel scalarltjoinsel ));
1404 DESCR("less than");
1405 DATA(insert OID = 2327 ( "~<=~" PGNSP PGUID b f f 1042 1042 16 2329 2330 bpchar_pattern_le scalarltsel scalarltjoinsel ));
1406 DESCR("less than or equal");
1407 DATA(insert OID = 2329 ( "~>=~" PGNSP PGUID b f f 1042 1042 16 2327 2326 bpchar_pattern_ge scalargtsel scalargtjoinsel ));
1408 DESCR("greater than or equal");
1409 DATA(insert OID = 2330 ( "~>~"  PGNSP PGUID b f f 1042 1042 16 2326 2327 bpchar_pattern_gt scalargtsel scalargtjoinsel ));
1410 DESCR("greater than");
1411
1412 /* crosstype operations for date vs. timestamp and timestamptz */
1413
1414 DATA(insert OID = 2345 ( "<"       PGNSP PGUID b f f    1082    1114   16 2375 2348 date_lt_timestamp scalarltsel scalarltjoinsel ));
1415 DESCR("less than");
1416 DATA(insert OID = 2346 ( "<="      PGNSP PGUID b f f    1082    1114   16 2374 2349 date_le_timestamp scalarltsel scalarltjoinsel ));
1417 DESCR("less than or equal");
1418 DATA(insert OID = 2347 ( "="       PGNSP PGUID b t f    1082    1114   16 2373 2350 date_eq_timestamp eqsel eqjoinsel ));
1419 DESCR("equal");
1420 DATA(insert OID = 2348 ( ">="      PGNSP PGUID b f f    1082    1114   16 2372 2345 date_ge_timestamp scalargtsel scalargtjoinsel ));
1421 DESCR("greater than or equal");
1422 DATA(insert OID = 2349 ( ">"       PGNSP PGUID b f f    1082    1114   16 2371 2346 date_gt_timestamp scalargtsel scalargtjoinsel ));
1423 DESCR("greater than");
1424 DATA(insert OID = 2350 ( "<>"      PGNSP PGUID b f f    1082    1114   16 2376 2347 date_ne_timestamp neqsel neqjoinsel ));
1425 DESCR("not equal");
1426
1427 DATA(insert OID = 2358 ( "<"       PGNSP PGUID b f f    1082    1184   16 2388 2361 date_lt_timestamptz scalarltsel scalarltjoinsel ));
1428 DESCR("less than");
1429 DATA(insert OID = 2359 ( "<="      PGNSP PGUID b f f    1082    1184   16 2387 2362 date_le_timestamptz scalarltsel scalarltjoinsel ));
1430 DESCR("less than or equal");
1431 DATA(insert OID = 2360 ( "="       PGNSP PGUID b t f    1082    1184   16 2386 2363 date_eq_timestamptz eqsel eqjoinsel ));
1432 DESCR("equal");
1433 DATA(insert OID = 2361 ( ">="      PGNSP PGUID b f f    1082    1184   16 2385 2358 date_ge_timestamptz scalargtsel scalargtjoinsel ));
1434 DESCR("greater than or equal");
1435 DATA(insert OID = 2362 ( ">"       PGNSP PGUID b f f    1082    1184   16 2384 2359 date_gt_timestamptz scalargtsel scalargtjoinsel ));
1436 DESCR("greater than");
1437 DATA(insert OID = 2363 ( "<>"      PGNSP PGUID b f f    1082    1184   16 2389 2360 date_ne_timestamptz neqsel neqjoinsel ));
1438 DESCR("not equal");
1439
1440 DATA(insert OID = 2371 ( "<"       PGNSP PGUID b f f    1114    1082   16 2349 2374 timestamp_lt_date scalarltsel scalarltjoinsel ));
1441 DESCR("less than");
1442 DATA(insert OID = 2372 ( "<="      PGNSP PGUID b f f    1114    1082   16 2348 2375 timestamp_le_date scalarltsel scalarltjoinsel ));
1443 DESCR("less than or equal");
1444 DATA(insert OID = 2373 ( "="       PGNSP PGUID b t f    1114    1082   16 2347 2376 timestamp_eq_date eqsel eqjoinsel ));
1445 DESCR("equal");
1446 DATA(insert OID = 2374 ( ">="      PGNSP PGUID b f f    1114    1082   16 2346 2371 timestamp_ge_date scalargtsel scalargtjoinsel ));
1447 DESCR("greater than or equal");
1448 DATA(insert OID = 2375 ( ">"       PGNSP PGUID b f f    1114    1082   16 2345 2372 timestamp_gt_date scalargtsel scalargtjoinsel ));
1449 DESCR("greater than");
1450 DATA(insert OID = 2376 ( "<>"      PGNSP PGUID b f f    1114    1082   16 2350 2373 timestamp_ne_date neqsel neqjoinsel ));
1451 DESCR("not equal");
1452
1453 DATA(insert OID = 2384 ( "<"       PGNSP PGUID b f f    1184    1082   16 2362 2387 timestamptz_lt_date scalarltsel scalarltjoinsel ));
1454 DESCR("less than");
1455 DATA(insert OID = 2385 ( "<="      PGNSP PGUID b f f    1184    1082   16 2361 2388 timestamptz_le_date scalarltsel scalarltjoinsel ));
1456 DESCR("less than or equal");
1457 DATA(insert OID = 2386 ( "="       PGNSP PGUID b t f    1184    1082   16 2360 2389 timestamptz_eq_date eqsel eqjoinsel ));
1458 DESCR("equal");
1459 DATA(insert OID = 2387 ( ">="      PGNSP PGUID b f f    1184    1082   16 2359 2384 timestamptz_ge_date scalargtsel scalargtjoinsel ));
1460 DESCR("greater than or equal");
1461 DATA(insert OID = 2388 ( ">"       PGNSP PGUID b f f    1184    1082   16 2358 2385 timestamptz_gt_date scalargtsel scalargtjoinsel ));
1462 DESCR("greater than");
1463 DATA(insert OID = 2389 ( "<>"      PGNSP PGUID b f f    1184    1082   16 2363 2386 timestamptz_ne_date neqsel neqjoinsel ));
1464 DESCR("not equal");
1465
1466 /* crosstype operations for timestamp vs. timestamptz */
1467
1468 DATA(insert OID = 2534 ( "<"       PGNSP PGUID b f f    1114    1184   16 2544 2537 timestamp_lt_timestamptz scalarltsel scalarltjoinsel ));
1469 DESCR("less than");
1470 DATA(insert OID = 2535 ( "<="      PGNSP PGUID b f f    1114    1184   16 2543 2538 timestamp_le_timestamptz scalarltsel scalarltjoinsel ));
1471 DESCR("less than or equal");
1472 DATA(insert OID = 2536 ( "="       PGNSP PGUID b t f    1114    1184   16 2542 2539 timestamp_eq_timestamptz eqsel eqjoinsel ));
1473 DESCR("equal");
1474 DATA(insert OID = 2537 ( ">="      PGNSP PGUID b f f    1114    1184   16 2541 2534 timestamp_ge_timestamptz scalargtsel scalargtjoinsel ));
1475 DESCR("greater than or equal");
1476 DATA(insert OID = 2538 ( ">"       PGNSP PGUID b f f    1114    1184   16 2540 2535 timestamp_gt_timestamptz scalargtsel scalargtjoinsel ));
1477 DESCR("greater than");
1478 DATA(insert OID = 2539 ( "<>"      PGNSP PGUID b f f    1114    1184   16 2545 2536 timestamp_ne_timestamptz neqsel neqjoinsel ));
1479 DESCR("not equal");
1480
1481 DATA(insert OID = 2540 ( "<"       PGNSP PGUID b f f    1184    1114   16 2538 2543 timestamptz_lt_timestamp scalarltsel scalarltjoinsel ));
1482 DESCR("less than");
1483 DATA(insert OID = 2541 ( "<="      PGNSP PGUID b f f    1184    1114   16 2537 2544 timestamptz_le_timestamp scalarltsel scalarltjoinsel ));
1484 DESCR("less than or equal");
1485 DATA(insert OID = 2542 ( "="       PGNSP PGUID b t f    1184    1114   16 2536 2545 timestamptz_eq_timestamp eqsel eqjoinsel ));
1486 DESCR("equal");
1487 DATA(insert OID = 2543 ( ">="      PGNSP PGUID b f f    1184    1114   16 2535 2540 timestamptz_ge_timestamp scalargtsel scalargtjoinsel ));
1488 DESCR("greater than or equal");
1489 DATA(insert OID = 2544 ( ">"       PGNSP PGUID b f f    1184    1114   16 2534 2541 timestamptz_gt_timestamp scalargtsel scalargtjoinsel ));
1490 DESCR("greater than");
1491 DATA(insert OID = 2545 ( "<>"      PGNSP PGUID b f f    1184    1114   16 2539 2542 timestamptz_ne_timestamp neqsel neqjoinsel ));
1492 DESCR("not equal");
1493
1494 /* formerly-missing interval + datetime operators */
1495 DATA(insert OID = 2551 (  "+"      PGNSP PGUID b f f    1186 1082 1114 1076 0 interval_pl_date - - ));
1496 DESCR("add");
1497 DATA(insert OID = 2552 (  "+"      PGNSP PGUID b f f    1186 1266 1266 1802 0 interval_pl_timetz - - ));
1498 DESCR("add");
1499 DATA(insert OID = 2553 (  "+"      PGNSP PGUID b f f    1186 1114 1114 2066 0 interval_pl_timestamp - - ));
1500 DESCR("add");
1501 DATA(insert OID = 2554 (  "+"      PGNSP PGUID b f f    1186 1184 1184 1327 0 interval_pl_timestamptz - - ));
1502 DESCR("add");
1503 DATA(insert OID = 2555 (  "+"      PGNSP PGUID b f f    23       1082 1082 1100 0 integer_pl_date - - ));
1504 DESCR("add");
1505
1506 /* new operators for Y-direction rtree opfamilies */
1507 DATA(insert OID = 2570 (  "<<|"    PGNSP PGUID b f f 603 603    16       0       0 box_below positionsel positionjoinsel ));
1508 DESCR("is below");
1509 DATA(insert OID = 2571 (  "&<|"    PGNSP PGUID b f f 603 603    16       0       0 box_overbelow positionsel positionjoinsel ));
1510 DESCR("overlaps or is below");
1511 DATA(insert OID = 2572 (  "|&>"    PGNSP PGUID b f f 603 603    16       0       0 box_overabove positionsel positionjoinsel ));
1512 DESCR("overlaps or is above");
1513 DATA(insert OID = 2573 (  "|>>"    PGNSP PGUID b f f 603 603    16       0       0 box_above positionsel positionjoinsel ));
1514 DESCR("is above");
1515 DATA(insert OID = 2574 (  "<<|"    PGNSP PGUID b f f 604 604    16       0       0 poly_below positionsel positionjoinsel ));
1516 DESCR("is below");
1517 DATA(insert OID = 2575 (  "&<|"    PGNSP PGUID b f f 604 604    16       0       0 poly_overbelow positionsel positionjoinsel ));
1518 DESCR("overlaps or is below");
1519 DATA(insert OID = 2576 (  "|&>"    PGNSP PGUID b f f 604 604    16       0       0 poly_overabove positionsel positionjoinsel ));
1520 DESCR("overlaps or is above");
1521 DATA(insert OID = 2577 (  "|>>"    PGNSP PGUID b f f 604 604    16       0       0 poly_above positionsel positionjoinsel ));
1522 DESCR("is above");
1523 DATA(insert OID = 2589 (  "&<|"    PGNSP PGUID b f f 718 718    16       0       0 circle_overbelow positionsel positionjoinsel ));
1524 DESCR("overlaps or is below");
1525 DATA(insert OID = 2590 (  "|&>"    PGNSP PGUID b f f 718 718    16       0       0 circle_overabove positionsel positionjoinsel ));
1526 DESCR("overlaps or is above");
1527
1528 /* overlap/contains/contained for arrays */
1529 DATA(insert OID = 2750 (  "&&"     PGNSP PGUID b f f 2277 2277  16 2750  0 arrayoverlap arraycontsel arraycontjoinsel ));
1530 DESCR("overlaps");
1531 #define OID_ARRAY_OVERLAP_OP    2750
1532 DATA(insert OID = 2751 (  "@>"     PGNSP PGUID b f f 2277 2277  16 2752  0 arraycontains arraycontsel arraycontjoinsel ));
1533 DESCR("contains");
1534 #define OID_ARRAY_CONTAINS_OP   2751
1535 DATA(insert OID = 2752 (  "<@"     PGNSP PGUID b f f 2277 2277  16 2751  0 arraycontained arraycontsel arraycontjoinsel ));
1536 DESCR("is contained by");
1537 #define OID_ARRAY_CONTAINED_OP  2752
1538
1539 /* capturing operators to preserve pre-8.3 behavior of text concatenation */
1540 DATA(insert OID = 2779 (  "||"     PGNSP PGUID b f f 25 2776    25       0 0 textanycat - - ));
1541 DESCR("concatenate");
1542 DATA(insert OID = 2780 (  "||"     PGNSP PGUID b f f 2776 25    25       0 0 anytextcat - - ));
1543 DESCR("concatenate");
1544
1545 /* obsolete names for contains/contained-by operators; remove these someday */
1546 DATA(insert OID = 2860 (  "@"      PGNSP PGUID b f f 604 604    16 2861  0 poly_contained contsel contjoinsel ));
1547 DESCR("deprecated, use <@ instead");
1548 DATA(insert OID = 2861 (  "~"      PGNSP PGUID b f f 604 604    16 2860  0 poly_contain contsel contjoinsel ));
1549 DESCR("deprecated, use @> instead");
1550 DATA(insert OID = 2862 (  "@"      PGNSP PGUID b f f 603 603    16 2863  0 box_contained contsel contjoinsel ));
1551 DESCR("deprecated, use <@ instead");
1552 DATA(insert OID = 2863 (  "~"      PGNSP PGUID b f f 603 603    16 2862  0 box_contain contsel contjoinsel ));
1553 DESCR("deprecated, use @> instead");
1554 DATA(insert OID = 2864 (  "@"      PGNSP PGUID b f f 718 718    16 2865  0 circle_contained contsel contjoinsel ));
1555 DESCR("deprecated, use <@ instead");
1556 DATA(insert OID = 2865 (  "~"      PGNSP PGUID b f f 718 718    16 2864  0 circle_contain contsel contjoinsel ));
1557 DESCR("deprecated, use @> instead");
1558 DATA(insert OID = 2866 (  "@"      PGNSP PGUID b f f 600 603    16       0       0 on_pb - - ));
1559 DESCR("deprecated, use <@ instead");
1560 DATA(insert OID = 2867 (  "@"      PGNSP PGUID b f f 600 602    16 2868  0 on_ppath - - ));
1561 DESCR("deprecated, use <@ instead");
1562 DATA(insert OID = 2868 (  "~"      PGNSP PGUID b f f 602 600     16  2867  0 path_contain_pt - - ));
1563 DESCR("deprecated, use @> instead");
1564 DATA(insert OID = 2869 (  "@"      PGNSP PGUID b f f 600 604     16  2870  0 pt_contained_poly - - ));
1565 DESCR("deprecated, use <@ instead");
1566 DATA(insert OID = 2870 (  "~"      PGNSP PGUID b f f 604 600     16  2869  0 poly_contain_pt - - ));
1567 DESCR("deprecated, use @> instead");
1568 DATA(insert OID = 2871 (  "@"      PGNSP PGUID b f f 600 718     16  2872  0 pt_contained_circle - - ));
1569 DESCR("deprecated, use <@ instead");
1570 DATA(insert OID = 2872 (  "~"      PGNSP PGUID b f f 718 600     16  2871  0 circle_contain_pt - - ));
1571 DESCR("deprecated, use @> instead");
1572 DATA(insert OID = 2873 (  "@"      PGNSP PGUID b f f 600 628 16   0  0 on_pl - - ));
1573 DESCR("deprecated, use <@ instead");
1574 DATA(insert OID = 2874 (  "@"      PGNSP PGUID b f f 600 601 16   0  0 on_ps - - ));
1575 DESCR("deprecated, use <@ instead");
1576 DATA(insert OID = 2875 (  "@"      PGNSP PGUID b f f 601 628 16   0  0 on_sl - - ));
1577 DESCR("deprecated, use <@ instead");
1578 DATA(insert OID = 2876 (  "@"      PGNSP PGUID b f f 601 603 16   0  0 on_sb - - ));
1579 DESCR("deprecated, use <@ instead");
1580 DATA(insert OID = 2877 (  "~"      PGNSP PGUID b f f 1034 1033   16 0 0 aclcontains - - ));
1581 DESCR("deprecated, use @> instead");
1582
1583 /* uuid operators */
1584 DATA(insert OID = 2972 (  "="      PGNSP PGUID b t t 2950 2950 16 2972 2973 uuid_eq eqsel eqjoinsel ));
1585 DESCR("equal");
1586 DATA(insert OID = 2973 (  "<>"     PGNSP PGUID b f f 2950 2950 16 2973 2972 uuid_ne neqsel neqjoinsel ));
1587 DESCR("not equal");
1588 DATA(insert OID = 2974 (  "<"      PGNSP PGUID b f f 2950 2950 16 2975 2977 uuid_lt scalarltsel scalarltjoinsel ));
1589 DESCR("less than");
1590 DATA(insert OID = 2975 (  ">"      PGNSP PGUID b f f 2950 2950 16 2974 2976 uuid_gt scalargtsel scalargtjoinsel ));
1591 DESCR("greater than");
1592 DATA(insert OID = 2976 (  "<="     PGNSP PGUID b f f 2950 2950 16 2977 2975 uuid_le scalarltsel scalarltjoinsel ));
1593 DESCR("less than or equal");
1594 DATA(insert OID = 2977 (  ">="     PGNSP PGUID b f f 2950 2950 16 2976 2974 uuid_ge scalargtsel scalargtjoinsel ));
1595 DESCR("greater than or equal");
1596
1597 /* pg_lsn operators */
1598 DATA(insert OID = 3222 (  "="      PGNSP PGUID b t t 3220 3220 16 3222 3223 pg_lsn_eq eqsel eqjoinsel ));
1599 DESCR("equal");
1600 DATA(insert OID = 3223 (  "<>"     PGNSP PGUID b f f 3220 3220 16 3223 3222 pg_lsn_ne neqsel neqjoinsel ));
1601 DESCR("not equal");
1602 DATA(insert OID = 3224 (  "<"      PGNSP PGUID b f f 3220 3220 16 3225 3227 pg_lsn_lt scalarltsel scalarltjoinsel ));
1603 DESCR("less than");
1604 DATA(insert OID = 3225 (  ">"      PGNSP PGUID b f f 3220 3220 16 3224 3226 pg_lsn_gt scalargtsel scalargtjoinsel ));
1605 DESCR("greater than");
1606 DATA(insert OID = 3226 (  "<="     PGNSP PGUID b f f 3220 3220 16 3227 3225 pg_lsn_le scalarltsel scalarltjoinsel ));
1607 DESCR("less than or equal");
1608 DATA(insert OID = 3227 (  ">="     PGNSP PGUID b f f 3220 3220 16 3226 3224 pg_lsn_ge scalargtsel scalargtjoinsel ));
1609 DESCR("greater than or equal");
1610 DATA(insert OID = 3228 (  "-"      PGNSP PGUID b f f 3220 3220 1700    0        0 pg_lsn_mi - - ));
1611 DESCR("minus");
1612
1613 /* enum operators */
1614 DATA(insert OID = 3516 (  "="      PGNSP PGUID b t t 3500 3500 16 3516 3517 enum_eq eqsel eqjoinsel ));
1615 DESCR("equal");
1616 DATA(insert OID = 3517 (  "<>"     PGNSP PGUID b f f 3500 3500 16 3517 3516 enum_ne neqsel neqjoinsel ));
1617 DESCR("not equal");
1618 DATA(insert OID = 3518 (  "<"      PGNSP PGUID b f f 3500 3500 16 3519 3521 enum_lt scalarltsel scalarltjoinsel ));
1619 DESCR("less than");
1620 DATA(insert OID = 3519 (  ">"      PGNSP PGUID b f f 3500 3500 16 3518 3520 enum_gt scalargtsel scalargtjoinsel ));
1621 DESCR("greater than");
1622 DATA(insert OID = 3520 (  "<="     PGNSP PGUID b f f 3500 3500 16 3521 3519 enum_le scalarltsel scalarltjoinsel ));
1623 DESCR("less than or equal");
1624 DATA(insert OID = 3521 (  ">="     PGNSP PGUID b f f 3500 3500 16 3520 3518 enum_ge scalargtsel scalargtjoinsel ));
1625 DESCR("greater than or equal");
1626
1627 /*
1628  * tsearch operations
1629  */
1630 DATA(insert OID = 3627 (  "<"      PGNSP PGUID b f f 3614        3614    16 3632 3631    tsvector_lt scalarltsel scalarltjoinsel ));
1631 DESCR("less than");
1632 DATA(insert OID = 3628 (  "<="     PGNSP PGUID b f f 3614        3614    16 3631 3632    tsvector_le scalarltsel scalarltjoinsel ));
1633 DESCR("less than or equal");
1634 DATA(insert OID = 3629 (  "="      PGNSP PGUID b t f 3614        3614    16 3629 3630    tsvector_eq eqsel eqjoinsel ));
1635 DESCR("equal");
1636 DATA(insert OID = 3630 (  "<>"     PGNSP PGUID b f f 3614        3614    16 3630 3629    tsvector_ne neqsel neqjoinsel ));
1637 DESCR("not equal");
1638 DATA(insert OID = 3631 (  ">="     PGNSP PGUID b f f 3614        3614    16 3628 3627    tsvector_ge scalargtsel scalargtjoinsel ));
1639 DESCR("greater than or equal");
1640 DATA(insert OID = 3632 (  ">"      PGNSP PGUID b f f 3614        3614    16 3627 3628    tsvector_gt scalargtsel scalargtjoinsel ));
1641 DESCR("greater than");
1642 DATA(insert OID = 3633 (  "||"     PGNSP PGUID b f f 3614        3614    3614  0        0        tsvector_concat   -    -         ));
1643 DESCR("concatenate");
1644 DATA(insert OID = 3636 (  "@@"     PGNSP PGUID b f f 3614        3615    16 3637        0        ts_match_vq   tsmatchsel tsmatchjoinsel ));
1645 DESCR("text search match");
1646 DATA(insert OID = 3637 (  "@@"     PGNSP PGUID b f f 3615        3614    16 3636        0        ts_match_qv   tsmatchsel tsmatchjoinsel ));
1647 DESCR("text search match");
1648 DATA(insert OID = 3660 (  "@@@"    PGNSP PGUID b f f 3614        3615    16 3661        0        ts_match_vq   tsmatchsel tsmatchjoinsel ));
1649 DESCR("deprecated, use @@ instead");
1650 DATA(insert OID = 3661 (  "@@@"    PGNSP PGUID b f f 3615        3614    16 3660        0        ts_match_qv   tsmatchsel tsmatchjoinsel ));
1651 DESCR("deprecated, use @@ instead");
1652 DATA(insert OID = 3674 (  "<"      PGNSP PGUID b f f 3615        3615    16 3679 3678    tsquery_lt scalarltsel scalarltjoinsel ));
1653 DESCR("less than");
1654 DATA(insert OID = 3675 (  "<="     PGNSP PGUID b f f 3615        3615    16 3678 3679    tsquery_le scalarltsel scalarltjoinsel ));
1655 DESCR("less than or equal");
1656 DATA(insert OID = 3676 (  "="      PGNSP PGUID b t f 3615        3615    16 3676 3677    tsquery_eq eqsel eqjoinsel ));
1657 DESCR("equal");
1658 DATA(insert OID = 3677 (  "<>"     PGNSP PGUID b f f 3615        3615    16 3677 3676    tsquery_ne neqsel neqjoinsel ));
1659 DESCR("not equal");
1660 DATA(insert OID = 3678 (  ">="     PGNSP PGUID b f f 3615        3615    16 3675 3674    tsquery_ge scalargtsel scalargtjoinsel ));
1661 DESCR("greater than or equal");
1662 DATA(insert OID = 3679 (  ">"      PGNSP PGUID b f f 3615        3615    16 3674 3675    tsquery_gt scalargtsel scalargtjoinsel ));
1663 DESCR("greater than");
1664 DATA(insert OID = 3680 (  "&&"     PGNSP PGUID b f f 3615        3615    3615  0        0        tsquery_and   -        -         ));
1665 DESCR("AND-concatenate");
1666 DATA(insert OID = 3681 (  "||"     PGNSP PGUID b f f 3615        3615    3615  0        0        tsquery_or   -         -         ));
1667 DESCR("OR-concatenate");
1668 DATA(insert OID = 3682 (  "!!"     PGNSP PGUID l f f 0           3615    3615  0        0        tsquery_not   -        -         ));
1669 DESCR("NOT tsquery");
1670 DATA(insert OID = 3693 (  "@>"     PGNSP PGUID b f f 3615        3615    16 3694        0        tsq_mcontains  contsel    contjoinsel   ));
1671 DESCR("contains");
1672 DATA(insert OID = 3694 (  "<@"     PGNSP PGUID b f f 3615        3615    16 3693        0        tsq_mcontained contsel    contjoinsel   ));
1673 DESCR("is contained by");
1674 DATA(insert OID = 3762 (  "@@"     PGNSP PGUID b f f 25          25              16    0        0        ts_match_tt    contsel    contjoinsel   ));
1675 DESCR("text search match");
1676 DATA(insert OID = 3763 (  "@@"     PGNSP PGUID b f f 25          3615    16    0        0        ts_match_tq    contsel    contjoinsel   ));
1677 DESCR("text search match");
1678
1679 /* generic record comparison operators */
1680 DATA(insert OID = 2988 (  "="      PGNSP PGUID b t f 2249 2249 16 2988 2989 record_eq eqsel eqjoinsel ));
1681 DESCR("equal");
1682 #define RECORD_EQ_OP 2988
1683 DATA(insert OID = 2989 (  "<>"     PGNSP PGUID b f f 2249 2249 16 2989 2988 record_ne neqsel neqjoinsel ));
1684 DESCR("not equal");
1685 DATA(insert OID = 2990 (  "<"      PGNSP PGUID b f f 2249 2249 16 2991 2993 record_lt scalarltsel scalarltjoinsel ));
1686 DESCR("less than");
1687 #define RECORD_LT_OP 2990
1688 DATA(insert OID = 2991 (  ">"      PGNSP PGUID b f f 2249 2249 16 2990 2992 record_gt scalargtsel scalargtjoinsel ));
1689 DESCR("greater than");
1690 #define RECORD_GT_OP 2991
1691 DATA(insert OID = 2992 (  "<="     PGNSP PGUID b f f 2249 2249 16 2993 2991 record_le scalarltsel scalarltjoinsel ));
1692 DESCR("less than or equal");
1693 DATA(insert OID = 2993 (  ">="     PGNSP PGUID b f f 2249 2249 16 2992 2990 record_ge scalargtsel scalargtjoinsel ));
1694 DESCR("greater than or equal");
1695
1696 /* byte-oriented tests for identical rows and fast sorting */
1697 DATA(insert OID = 3188 (  "*="     PGNSP PGUID b t f 2249 2249 16 3188 3189 record_image_eq eqsel eqjoinsel ));
1698 DESCR("identical");
1699 DATA(insert OID = 3189 (  "*<>"   PGNSP PGUID b f f 2249 2249 16 3189 3188 record_image_ne neqsel neqjoinsel ));
1700 DESCR("not identical");
1701 DATA(insert OID = 3190 (  "*<"     PGNSP PGUID b f f 2249 2249 16 3191 3193 record_image_lt scalarltsel scalarltjoinsel ));
1702 DESCR("less than");
1703 DATA(insert OID = 3191 (  "*>"     PGNSP PGUID b f f 2249 2249 16 3190 3192 record_image_gt scalargtsel scalargtjoinsel ));
1704 DESCR("greater than");
1705 DATA(insert OID = 3192 (  "*<="   PGNSP PGUID b f f 2249 2249 16 3193 3191 record_image_le scalarltsel scalarltjoinsel ));
1706 DESCR("less than or equal");
1707 DATA(insert OID = 3193 (  "*>="   PGNSP PGUID b f f 2249 2249 16 3192 3190 record_image_ge scalargtsel scalargtjoinsel ));
1708 DESCR("greater than or equal");
1709
1710 /* generic range type operators */
1711 DATA(insert OID = 3882 (  "="      PGNSP PGUID b t t 3831 3831 16 3882 3883 range_eq eqsel eqjoinsel ));
1712 DESCR("equal");
1713 DATA(insert OID = 3883 (  "<>"     PGNSP PGUID b f f 3831 3831 16 3883 3882 range_ne neqsel neqjoinsel ));
1714 DESCR("not equal");
1715 DATA(insert OID = 3884 (  "<"      PGNSP PGUID b f f 3831 3831 16 3887 3886 range_lt rangesel scalarltjoinsel ));
1716 DESCR("less than");
1717 #define OID_RANGE_LESS_OP 3884
1718 DATA(insert OID = 3885 (  "<="     PGNSP PGUID b f f 3831 3831 16 3886 3887 range_le rangesel scalarltjoinsel ));
1719 DESCR("less than or equal");
1720 #define OID_RANGE_LESS_EQUAL_OP 3885
1721 DATA(insert OID = 3886 (  ">="     PGNSP PGUID b f f 3831 3831 16 3885 3884 range_ge rangesel scalargtjoinsel ));
1722 DESCR("greater than or equal");
1723 #define OID_RANGE_GREATER_EQUAL_OP 3886
1724 DATA(insert OID = 3887 (  ">"      PGNSP PGUID b f f 3831 3831 16 3884 3885 range_gt rangesel scalargtjoinsel ));
1725 DESCR("greater than");
1726 #define OID_RANGE_GREATER_OP 3887
1727 DATA(insert OID = 3888 (  "&&"     PGNSP PGUID b f f 3831 3831 16 3888 0 range_overlaps rangesel areajoinsel ));
1728 DESCR("overlaps");
1729 #define OID_RANGE_OVERLAP_OP 3888
1730 DATA(insert OID = 3889 (  "@>"     PGNSP PGUID b f f 3831 2283 16 3891 0 range_contains_elem rangesel contjoinsel ));
1731 DESCR("contains");
1732 #define OID_RANGE_CONTAINS_ELEM_OP 3889
1733 DATA(insert OID = 3890 (  "@>"     PGNSP PGUID b f f 3831 3831 16 3892 0 range_contains rangesel contjoinsel ));
1734 DESCR("contains");
1735 #define OID_RANGE_CONTAINS_OP 3890
1736 DATA(insert OID = 3891 (  "<@"     PGNSP PGUID b f f 2283 3831 16 3889 0 elem_contained_by_range rangesel contjoinsel ));
1737 DESCR("is contained by");
1738 #define OID_RANGE_ELEM_CONTAINED_OP 3891
1739 DATA(insert OID = 3892 (  "<@"     PGNSP PGUID b f f 3831 3831 16 3890 0 range_contained_by rangesel contjoinsel ));
1740 DESCR("is contained by");
1741 #define OID_RANGE_CONTAINED_OP 3892
1742 DATA(insert OID = 3893 (  "<<"     PGNSP PGUID b f f 3831 3831 16 3894 0 range_before rangesel scalarltjoinsel ));
1743 DESCR("is left of");
1744 #define OID_RANGE_LEFT_OP 3893
1745 DATA(insert OID = 3894 (  ">>"     PGNSP PGUID b f f 3831 3831 16 3893 0 range_after rangesel scalargtjoinsel ));
1746 DESCR("is right of");
1747 #define OID_RANGE_RIGHT_OP 3894
1748 DATA(insert OID = 3895 (  "&<"     PGNSP PGUID b f f 3831 3831 16 0 0 range_overleft rangesel scalarltjoinsel ));
1749 DESCR("overlaps or is left of");
1750 #define OID_RANGE_OVERLAPS_LEFT_OP 3895
1751 DATA(insert OID = 3896 (  "&>"     PGNSP PGUID b f f 3831 3831 16 0 0 range_overright rangesel scalargtjoinsel ));
1752 DESCR("overlaps or is right of");
1753 #define OID_RANGE_OVERLAPS_RIGHT_OP 3896
1754 DATA(insert OID = 3897 (  "-|-"    PGNSP PGUID b f f 3831 3831 16 3897 0 range_adjacent contsel contjoinsel ));
1755 DESCR("is adjacent to");
1756 DATA(insert OID = 3898 (  "+"      PGNSP PGUID b f f 3831 3831 3831 3898 0 range_union - - ));
1757 DESCR("range union");
1758 DATA(insert OID = 3899 (  "-"      PGNSP PGUID b f f 3831 3831 3831 0 0 range_minus - - ));
1759 DESCR("range difference");
1760 DATA(insert OID = 3900 (  "*"      PGNSP PGUID b f f 3831 3831 3831 3900 0 range_intersect - - ));
1761 DESCR("range intersection");
1762 DATA(insert OID = 3962 (  "->"     PGNSP PGUID b f f 114 25 114 0 0 json_object_field - - ));
1763 DESCR("get json object field");
1764 DATA(insert OID = 3963 (  "->>"    PGNSP PGUID b f f 114 25 25 0 0 json_object_field_text - - ));
1765 DESCR("get json object field as text");
1766 DATA(insert OID = 3964 (  "->"     PGNSP PGUID b f f 114 23 114 0 0 json_array_element - - ));
1767 DESCR("get json array element");
1768 DATA(insert OID = 3965 (  "->>"    PGNSP PGUID b f f 114 23 25 0 0 json_array_element_text - - ));
1769 DESCR("get json array element as text");
1770 DATA(insert OID = 3966 (  "#>"     PGNSP PGUID b f f 114 1009 114 0 0 json_extract_path - - ));
1771 DESCR("get value from json with path elements");
1772 DATA(insert OID = 3967 (  "#>>"    PGNSP PGUID b f f 114 1009 25 0 0 json_extract_path_text - - ));
1773 DESCR("get value from json as text with path elements");
1774 DATA(insert OID = 3211 (  "->"     PGNSP PGUID b f f 3802 25 3802 0 0 jsonb_object_field - - ));
1775 DESCR("get jsonb object field");
1776 DATA(insert OID = 3477 (  "->>"    PGNSP PGUID b f f 3802 25 25 0 0 jsonb_object_field_text - - ));
1777 DESCR("get jsonb object field as text");
1778 DATA(insert OID = 3212 (  "->"     PGNSP PGUID b f f 3802 23 3802 0 0 jsonb_array_element - - ));
1779 DESCR("get jsonb array element");
1780 DATA(insert OID = 3481 (  "->>"    PGNSP PGUID b f f 3802 23 25 0 0 jsonb_array_element_text - - ));
1781 DESCR("get jsonb array element as text");
1782 DATA(insert OID = 3213 (  "#>"     PGNSP PGUID b f f 3802 1009 3802 0 0 jsonb_extract_path - - ));
1783 DESCR("get value from jsonb with path elements");
1784 DATA(insert OID = 3206 (  "#>>"    PGNSP PGUID b f f 3802 1009 25 0 0 jsonb_extract_path_text - - ));
1785 DESCR("get value from jsonb as text with path elements");
1786 DATA(insert OID = 3240 (  "="    PGNSP PGUID b t t 3802 3802  16 3240 3241 jsonb_eq eqsel eqjoinsel ));
1787 DESCR("equal");
1788 DATA(insert OID = 3241 (  "<>"   PGNSP PGUID b f f 3802 3802  16 3241 3240 jsonb_ne neqsel neqjoinsel ));
1789 DESCR("not equal");
1790 DATA(insert OID = 3242 (  "<"           PGNSP PGUID b f f 3802 3802 16 3243 3245 jsonb_lt scalarltsel scalarltjoinsel ));
1791 DESCR("less than");
1792 DATA(insert OID = 3243 (  ">"           PGNSP PGUID b f f 3802 3802 16 3242 3244 jsonb_gt scalargtsel scalargtjoinsel ));
1793 DESCR("greater than");
1794 DATA(insert OID = 3244 (  "<="  PGNSP PGUID b f f 3802 3802 16 3245 3243 jsonb_le scalarltsel scalarltjoinsel ));
1795 DESCR("less than or equal");
1796 DATA(insert OID = 3245 (  ">="  PGNSP PGUID b f f 3802 3802 16 3244 3242 jsonb_ge scalargtsel scalargtjoinsel ));
1797 DESCR("greater than or equal");
1798 DATA(insert OID = 3246 (  "@>"     PGNSP PGUID b f f 3802 3802 16 3250 0 jsonb_contains contsel contjoinsel ));
1799 DESCR("contains");
1800 DATA(insert OID = 3247 (  "?"      PGNSP PGUID b f f 3802 25 16 0 0 jsonb_exists contsel contjoinsel ));
1801 DESCR("exists");
1802 DATA(insert OID = 3248 (  "?|"     PGNSP PGUID b f f 3802 1009 16 0 0 jsonb_exists_any contsel contjoinsel ));
1803 DESCR("exists any");
1804 DATA(insert OID = 3249 (  "?&"     PGNSP PGUID b f f 3802 1009 16 0 0 jsonb_exists_all contsel contjoinsel ));
1805 DESCR("exists all");
1806 DATA(insert OID = 3250 (  "<@"     PGNSP PGUID b f f 3802 3802 16 3246 0 jsonb_contained contsel contjoinsel ));
1807 DESCR("is contained by");
1808
1809 /*
1810  * function prototypes
1811  */
1812 extern Oid OperatorCreate(const char *operatorName,
1813                            Oid operatorNamespace,
1814                            Oid leftTypeId,
1815                            Oid rightTypeId,
1816                            Oid procedureId,
1817                            List *commutatorName,
1818                            List *negatorName,
1819                            Oid restrictionId,
1820                            Oid joinId,
1821                            bool canMerge,
1822                            bool canHash);
1823
1824 #endif   /* PG_OPERATOR_H */