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