]> granicus.if.org Git - postgresql/blob - src/include/catalog/pg_proc.h
1b375889dbcdfeb5ce42e7dd49399b62af08a657
[postgresql] / src / include / catalog / pg_proc.h
1 /*-------------------------------------------------------------------------
2  *
3  * pg_proc.h
4  *        definition of the system "procedure" relation (pg_proc)
5  *        along with the relation's initial contents.
6  *
7  * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
8  * Portions Copyright (c) 1994, Regents of the University of California
9  *
10  * $Id: pg_proc.h,v 1.222 2002/01/12 04:38:31 thomas Exp $
11  *
12  * NOTES
13  *        The script catalog/genbki.sh reads this file and generates .bki
14  *        information from the DATA() statements.  utils/Gen_fmgrtab.sh
15  *        generates fmgroids.h and fmgrtab.c the same way.
16  *
17  *        XXX do NOT break up DATA() statements into multiple lines!
18  *                the scripts are not as smart as you might think...
19  *        XXX (eg. #if 0 #endif won't do what you think)
20  *
21  *-------------------------------------------------------------------------
22  */
23 #ifndef PG_PROC_H
24 #define PG_PROC_H
25
26 #include "nodes/pg_list.h"
27
28 /* ----------------
29  *              postgres.h contains the system type definintions and the
30  *              CATALOG(), BOOTSTRAP and DATA() sugar words so this file
31  *              can be read by both genbki.sh and the C compiler.
32  * ----------------
33  */
34
35 /* ----------------
36  *              pg_proc definition.  cpp turns this into
37  *              typedef struct FormData_pg_proc
38  * ----------------
39  */
40 CATALOG(pg_proc) BOOTSTRAP
41 {
42         NameData        proname;
43         int4            proowner;
44         Oid                     prolang;
45         bool            proisinh;
46         bool            proistrusted;
47         bool            proiscachable;
48         bool            proisstrict;
49         int2            pronargs;
50         bool            proretset;
51         Oid                     prorettype;
52         oidvector       proargtypes;
53         int4            probyte_pct;
54         int4            properbyte_cpu;
55         int4            propercall_cpu;
56         int4            prooutin_ratio;
57         text            prosrc;                 /* VARIABLE LENGTH FIELD */
58         bytea           probin;                 /* VARIABLE LENGTH FIELD */
59 } FormData_pg_proc;
60
61 /* ----------------
62  *              Form_pg_proc corresponds to a pointer to a tuple with
63  *              the format of pg_proc relation.
64  * ----------------
65  */
66 typedef FormData_pg_proc *Form_pg_proc;
67
68 /* ----------------
69  *              compiler constants for pg_proc
70  * ----------------
71  */
72 #define Natts_pg_proc                                   17
73 #define Anum_pg_proc_proname                    1
74 #define Anum_pg_proc_proowner                   2
75 #define Anum_pg_proc_prolang                    3
76 #define Anum_pg_proc_proisinh                   4
77 #define Anum_pg_proc_proistrusted               5
78 #define Anum_pg_proc_proiscachable              6
79 #define Anum_pg_proc_proisstrict                7
80 #define Anum_pg_proc_pronargs                   8
81 #define Anum_pg_proc_proretset                  9
82 #define Anum_pg_proc_prorettype                 10
83 #define Anum_pg_proc_proargtypes                11
84 #define Anum_pg_proc_probyte_pct                12
85 #define Anum_pg_proc_properbyte_cpu             13
86 #define Anum_pg_proc_propercall_cpu             14
87 #define Anum_pg_proc_prooutin_ratio             15
88 #define Anum_pg_proc_prosrc                             16
89 #define Anum_pg_proc_probin                             17
90
91 /* ----------------
92  *              initial contents of pg_proc
93  * ----------------
94  */
95
96 /* keep the following ordered by OID so that later changes can be made easier */
97
98 /* OIDS 1 - 99 */
99
100 DATA(insert OID = 1242 (  boolin                   PGUID 12 f t t t 1 f 16 "0" 100 0 0  100  boolin - ));
101 DESCR("(internal)");
102 DATA(insert OID = 1243 (  boolout                  PGUID 12 f t t t 1 f 23 "0" 100 0 0 100      boolout - ));
103 DESCR("(internal)");
104 DATA(insert OID = 1244 (  byteain                  PGUID 12 f t t t 1 f 17 "0" 100 0 0 100      byteain - ));
105 DESCR("(internal)");
106 DATA(insert OID =  31 (  byteaout                  PGUID 12 f t t t 1 f 23 "0" 100 0 0 100      byteaout - ));
107 DESCR("(internal)");
108 DATA(insert OID = 1245 (  charin                   PGUID 12 f t t t 1 f 18 "0" 100 0 0 100      charin - ));
109 DESCR("(internal)");
110 DATA(insert OID =  33 (  charout                   PGUID 12 f t t t 1 f 23 "0" 100 0 0 100      charout - ));
111 DESCR("(internal)");
112 DATA(insert OID =  34 (  namein                    PGUID 12 f t t t 1 f 19 "0" 100 0 0 100      namein - ));
113 DESCR("(internal)");
114 DATA(insert OID =  35 (  nameout                   PGUID 12 f t t t 1 f 23 "0" 100 0 0 100      nameout - ));
115 DESCR("(internal)");
116 DATA(insert OID =  38 (  int2in                    PGUID 12 f t t t 1 f 21 "0" 100 0 0 100      int2in - ));
117 DESCR("(internal)");
118 DATA(insert OID =  39 (  int2out                   PGUID 12 f t t t 1 f 23 "0" 100 0 0 100      int2out - ));
119 DESCR("(internal)");
120 DATA(insert OID =  40 (  int2vectorin      PGUID 12 f t t t 1 f 22 "0" 100 0 0 100      int2vectorin - ));
121 DESCR("(internal)");
122 DATA(insert OID =  41 (  int2vectorout     PGUID 12 f t t t 1 f 23 "0" 100 0 0 100      int2vectorout - ));
123 DESCR("(internal)");
124 DATA(insert OID =  42 (  int4in                    PGUID 12 f t t t 1 f 23 "0" 100 0 0 100      int4in - ));
125 DESCR("(internal)");
126 DATA(insert OID =  43 (  int4out                   PGUID 12 f t t t 1 f 23 "0" 100 0 0 100      int4out - ));
127 DESCR("(internal)");
128 DATA(insert OID =  44 (  regprocin                 PGUID 12 f t f t 1 f 24 "0" 100 0 0 100      regprocin - ));
129 DESCR("(internal)");
130 DATA(insert OID =  45 (  regprocout                PGUID 12 f t f t 1 f 23 "0" 100 0 0 100      regprocout - ));
131 DESCR("(internal)");
132 DATA(insert OID =  46 (  textin                    PGUID 12 f t t t 1 f 25 "0" 100 0 0 100      textin - ));
133 DESCR("(internal)");
134 DATA(insert OID =  47 (  textout                   PGUID 12 f t t t 1 f 23 "0" 100 0 0 100      textout - ));
135 DESCR("(internal)");
136 DATA(insert OID =  48 (  tidin                     PGUID 12 f t t t 1 f 27 "0" 100 0 0 100      tidin - ));
137 DESCR("(internal)");
138 DATA(insert OID =  49 (  tidout                    PGUID 12 f t t t 1 f 23 "0" 100 0 0 100      tidout - ));
139 DESCR("(internal)");
140 DATA(insert OID =  50 (  xidin                     PGUID 12 f t t t 1 f 28 "0" 100 0 0 100      xidin - ));
141 DESCR("(internal)");
142 DATA(insert OID =  51 (  xidout                    PGUID 12 f t t t 1 f 23 "0" 100 0 0 100      xidout - ));
143 DESCR("(internal)");
144 DATA(insert OID =  52 (  cidin                     PGUID 12 f t t t 1 f 29 "0" 100 0 0 100      cidin - ));
145 DESCR("(internal)");
146 DATA(insert OID =  53 (  cidout                    PGUID 12 f t t t 1 f 23 "0" 100 0 0 100      cidout - ));
147 DESCR("(internal)");
148 DATA(insert OID =  54 (  oidvectorin       PGUID 12 f t t t 1 f 30 "0" 100 0 0 100      oidvectorin - ));
149 DESCR("(internal)");
150 DATA(insert OID =  55 (  oidvectorout      PGUID 12 f t t t 1 f 23 "0" 100 0 0 100      oidvectorout - ));
151 DESCR("(internal)");
152 DATA(insert OID =  56 (  boollt                    PGUID 12 f t t t 2 f 16 "16 16" 100 0 0 100  boollt - ));
153 DESCR("less-than");
154 DATA(insert OID =  57 (  boolgt                    PGUID 12 f t t t 2 f 16 "16 16" 100 0 0 100  boolgt - ));
155 DESCR("greater-than");
156 DATA(insert OID =  60 (  booleq                    PGUID 12 f t t t 2 f 16 "16 16" 100 0 0 100  booleq - ));
157 DESCR("equal");
158 DATA(insert OID =  61 (  chareq                    PGUID 12 f t t t 2 f 16 "18 18" 100 0 0 100  chareq - ));
159 DESCR("equal");
160 DATA(insert OID =  62 (  nameeq                    PGUID 12 f t t t 2 f 16 "19 19" 100 0 0 100  nameeq - ));
161 DESCR("equal");
162 DATA(insert OID =  63 (  int2eq                    PGUID 12 f t t t 2 f 16 "21 21" 100 0 0 100  int2eq - ));
163 DESCR("equal");
164 DATA(insert OID =  64 (  int2lt                    PGUID 12 f t t t 2 f 16 "21 21" 100 0 0 100  int2lt - ));
165 DESCR("less-than");
166 DATA(insert OID =  65 (  int4eq                    PGUID 12 f t t t 2 f 16 "23 23" 100 0 0 100  int4eq - ));
167 DESCR("equal");
168 DATA(insert OID =  66 (  int4lt                    PGUID 12 f t t t 2 f 16 "23 23" 100 0 0 100  int4lt - ));
169 DESCR("less-than");
170 DATA(insert OID =  67 (  texteq                    PGUID 12 f t t t 2 f 16 "25 25" 100 0 0 100  texteq - ));
171 DESCR("equal");
172 DATA(insert OID =  68 (  xideq                     PGUID 12 f t t t 2 f 16 "28 28" 100 0 0 100  xideq - ));
173 DESCR("equal");
174 DATA(insert OID =  69 (  cideq                     PGUID 12 f t t t 2 f 16 "29 29" 100 0 0 100  cideq - ));
175 DESCR("equal");
176 DATA(insert OID =  70 (  charne                    PGUID 12 f t t t 2 f 16 "18 18" 100 0 0 100  charne - ));
177 DESCR("not equal");
178 DATA(insert OID = 1246 (  charlt                   PGUID 12 f t t t 2 f 16 "18 18" 100 0 0 100  charlt - ));
179 DESCR("less-than");
180 DATA(insert OID =  72 (  charle                    PGUID 12 f t t t 2 f 16 "18 18" 100 0 0 100  charle - ));
181 DESCR("less-than-or-equal");
182 DATA(insert OID =  73 (  chargt                    PGUID 12 f t t t 2 f 16 "18 18" 100 0 0 100  chargt - ));
183 DESCR("greater-than");
184 DATA(insert OID =  74 (  charge                    PGUID 12 f t t t 2 f 16 "18 18" 100 0 0 100  charge - ));
185 DESCR("greater-than-or-equal");
186 DATA(insert OID = 1248 (  charpl                   PGUID 12 f t t t 2 f 18 "18 18" 100 0 0 100  charpl - ));
187 DESCR("add");
188 DATA(insert OID = 1250 (  charmi                   PGUID 12 f t t t 2 f 18 "18 18" 100 0 0 100  charmi - ));
189 DESCR("subtract");
190 DATA(insert OID =  77 (  charmul                   PGUID 12 f t t t 2 f 18 "18 18" 100 0 0 100  charmul - ));
191 DESCR("multiply");
192 DATA(insert OID =  78 (  chardiv                   PGUID 12 f t t t 2 f 18 "18 18" 100 0 0 100  chardiv - ));
193 DESCR("divide");
194
195 DATA(insert OID =  79 (  nameregexeq       PGUID 12 f t t t 2 f 16 "19 25" 100 0 0 100  nameregexeq - ));
196 DESCR("matches regex., case-sensitive");
197 DATA(insert OID = 1252 (  nameregexne      PGUID 12 f t t t 2 f 16 "19 25" 100 0 0 100  nameregexne - ));
198 DESCR("does not match regex., case-sensitive");
199 DATA(insert OID = 1254 (  textregexeq      PGUID 12 f t t t 2 f 16 "25 25" 100 0 0 100  textregexeq - ));
200 DESCR("matches regex., case-sensitive");
201 DATA(insert OID = 1256 (  textregexne      PGUID 12 f t t t 2 f 16 "25 25" 100 0 0 100  textregexne - ));
202 DESCR("does not match regex., case-sensitive");
203 DATA(insert OID = 1257 (  textlen                  PGUID 12 f t t t 1 f 23 "25" 100 0 0 100  textlen - ));
204 DESCR("length");
205 DATA(insert OID = 1258 (  textcat                  PGUID 12 f t t t 2 f 25 "25 25" 100 0 0 100  textcat - ));
206 DESCR("concatenate");
207
208 DATA(insert OID =  84 (  boolne                    PGUID 12 f t t t 2 f 16 "16 16" 100 0 0 100  boolne - ));
209 DESCR("not equal");
210 DATA(insert OID =  89 (  version                   PGUID 12 f t f t 0 f 25 "" 100 0 0 100 pgsql_version - ));
211 DESCR("PostgreSQL version string");
212
213 /* OIDS 100 - 199 */
214
215 DATA(insert OID = 100 (  int8fac                   PGUID 12 f t t t 1 f 20 "20" 100 0 0 100  int8fac - ));
216 DESCR("factorial");
217 DATA(insert OID = 101 (  eqsel                     PGUID 12 f t f t 4 f 701 "0 26 0 23" 100 0 0 100  eqsel - ));
218 DESCR("restriction selectivity of = and related operators");
219 DATA(insert OID = 102 (  neqsel                    PGUID 12 f t f t 4 f 701 "0 26 0 23" 100 0 0 100  neqsel - ));
220 DESCR("restriction selectivity of <> and related operators");
221 DATA(insert OID = 103 (  scalarltsel       PGUID 12 f t f t 4 f 701 "0 26 0 23" 100 0 0 100  scalarltsel - ));
222 DESCR("restriction selectivity of < and related operators on scalar datatypes");
223 DATA(insert OID = 104 (  scalargtsel       PGUID 12 f t f t 4 f 701 "0 26 0 23" 100 0 0 100  scalargtsel - ));
224 DESCR("restriction selectivity of > and related operators on scalar datatypes");
225 DATA(insert OID = 105 (  eqjoinsel                 PGUID 12 f t f t 3 f 701 "0 26 0" 100 0 0 100  eqjoinsel - ));
226 DESCR("join selectivity of = and related operators");
227 DATA(insert OID = 106 (  neqjoinsel                PGUID 12 f t f t 3 f 701 "0 26 0" 100 0 0 100  neqjoinsel - ));
228 DESCR("join selectivity of <> and related operators");
229 DATA(insert OID = 107 (  scalarltjoinsel   PGUID 12 f t f t 3 f 701 "0 26 0" 100 0 0 100  scalarltjoinsel - ));
230 DESCR("join selectivity of < and related operators on scalar datatypes");
231 DATA(insert OID = 108 (  scalargtjoinsel   PGUID 12 f t f t 3 f 701 "0 26 0" 100 0 0 100  scalargtjoinsel - ));
232 DESCR("join selectivity of > and related operators on scalar datatypes");
233
234 DATA(insert OID = 112 (  text                      PGUID 12 f t t t 1 f  25 "23" 100 0 0 100  int4_text - ));
235 DESCR("convert int4 to text");
236 DATA(insert OID = 113 (  text                      PGUID 12 f t t t 1 f  25 "21" 100 0 0 100  int2_text - ));
237 DESCR("convert int2 to text");
238 DATA(insert OID = 114 (  text                      PGUID 12 f t t t 1 f  25 "26" 100 0 0 100  oid_text - ));
239 DESCR("convert oid to text");
240
241 DATA(insert OID = 115 (  box_above                 PGUID 12 f t t t 2 f  16 "603 603" 100 0 0 100  box_above - ));
242 DESCR("is above");
243 DATA(insert OID = 116 (  box_below                 PGUID 12 f t t t 2 f  16 "603 603" 100 0 0 100  box_below - ));
244 DESCR("is below");
245
246 DATA(insert OID = 117 (  point_in                  PGUID 12 f t t t 1 f 600 "0" 100 0 0 100  point_in - ));
247 DESCR("(internal)");
248 DATA(insert OID = 118 (  point_out                 PGUID 12 f t t t 1 f 23      "600" 100 0 0 100  point_out - ));
249 DESCR("(internal)");
250 DATA(insert OID = 119 (  lseg_in                   PGUID 12 f t t t 1 f 601 "0" 100 0 0 100  lseg_in - ));
251 DESCR("(internal)");
252 DATA(insert OID = 120 (  lseg_out                  PGUID 12 f t t t 1 f 23      "0" 100 0 0 100  lseg_out - ));
253 DESCR("(internal)");
254 DATA(insert OID = 121 (  path_in                   PGUID 12 f t t t 1 f 602 "0" 100 0 0 100  path_in - ));
255 DESCR("(internal)");
256 DATA(insert OID = 122 (  path_out                  PGUID 12 f t t t 1 f 23      "0" 100 0 0 100  path_out - ));
257 DESCR("(internal)");
258 DATA(insert OID = 123 (  box_in                    PGUID 12 f t t t 1 f 603 "0" 100 0 0 100  box_in - ));
259 DESCR("(internal)");
260 DATA(insert OID = 124 (  box_out                   PGUID 12 f t t t 1 f 23      "0" 100 0 0 100  box_out - ));
261 DESCR("(internal)");
262 DATA(insert OID = 125 (  box_overlap       PGUID 12 f t t t 2 f 16 "603 603" 100 0 0 100  box_overlap - ));
263 DESCR("overlaps");
264 DATA(insert OID = 126 (  box_ge                    PGUID 12 f t t t 2 f 16 "603 603" 100 0 0 100  box_ge - ));
265 DESCR("greater-than-or-equal by area");
266 DATA(insert OID = 127 (  box_gt                    PGUID 12 f t t t 2 f 16 "603 603" 100 0 0 100  box_gt - ));
267 DESCR("greater-than by area");
268 DATA(insert OID = 128 (  box_eq                    PGUID 12 f t t t 2 f 16 "603 603" 100 0 0 100  box_eq - ));
269 DESCR("equal by area");
270 DATA(insert OID = 129 (  box_lt                    PGUID 12 f t t t 2 f 16 "603 603" 100 0 0 100  box_lt - ));
271 DESCR("less-than by area");
272 DATA(insert OID = 130 (  box_le                    PGUID 12 f t t t 2 f 16 "603 603" 100 0 0 100  box_le - ));
273 DESCR("less-than-or-equal by area");
274 DATA(insert OID = 131 (  point_above       PGUID 12 f t t t 2 f 16 "600 600" 100 0 0 100  point_above - ));
275 DESCR("is above");
276 DATA(insert OID = 132 (  point_left                PGUID 12 f t t t 2 f 16 "600 600" 100 0 0 100  point_left - ));
277 DESCR("is left of");
278 DATA(insert OID = 133 (  point_right       PGUID 12 f t t t 2 f 16 "600 600" 100 0 0 100  point_right - ));
279 DESCR("is right of");
280 DATA(insert OID = 134 (  point_below       PGUID 12 f t t t 2 f 16 "600 600" 100 0 0 100  point_below - ));
281 DESCR("is below");
282 DATA(insert OID = 135 (  point_eq                  PGUID 12 f t t t 2 f 16 "600 600" 100 0 0 100  point_eq - ));
283 DESCR("same as");
284 DATA(insert OID = 136 (  on_pb                     PGUID 12 f t t t 2 f 16 "600 603" 100 0 0 100  on_pb - ));
285 DESCR("point is inside");
286 DATA(insert OID = 137 (  on_ppath                  PGUID 12 f t t t 2 f 16 "600 602" 100 0 0 100  on_ppath - ));
287 DESCR("contained in");
288 DATA(insert OID = 138 (  box_center                PGUID 12 f t t t 1 f 600 "603" 100 0 0 100  box_center - ));
289 DESCR("center of");
290 DATA(insert OID = 139 (  areasel                   PGUID 12 f t f t 4 f 701 "0 26 0 23" 100 0 0 100  areasel - ));
291 DESCR("restriction selectivity for area-comparison operators");
292 DATA(insert OID = 140 (  areajoinsel       PGUID 12 f t f t 3 f 701 "0 26 0" 100 0 0 100  areajoinsel - ));
293 DESCR("join selectivity for area-comparison operators");
294 DATA(insert OID = 141 (  int4mul                   PGUID 12 f t t t 2 f 23 "23 23" 100 0 0 100  int4mul - ));
295 DESCR("multiply");
296 DATA(insert OID = 142 (  int4fac                   PGUID 12 f t t t 1 f 23 "23" 100 0 0 100  int4fac - ));
297 DESCR("factorial");
298 DATA(insert OID = 144 (  int4ne                    PGUID 12 f t t t 2 f 16 "23 23" 100 0 0 100  int4ne - ));
299 DESCR("not equal");
300 DATA(insert OID = 145 (  int2ne                    PGUID 12 f t t t 2 f 16 "21 21" 100 0 0 100  int2ne - ));
301 DESCR("not equal");
302 DATA(insert OID = 146 (  int2gt                    PGUID 12 f t t t 2 f 16 "21 21" 100 0 0 100  int2gt - ));
303 DESCR("greater-than");
304 DATA(insert OID = 147 (  int4gt                    PGUID 12 f t t t 2 f 16 "23 23" 100 0 0 100  int4gt - ));
305 DESCR("greater-than");
306 DATA(insert OID = 148 (  int2le                    PGUID 12 f t t t 2 f 16 "21 21" 100 0 0 100  int2le - ));
307 DESCR("less-than-or-equal");
308 DATA(insert OID = 149 (  int4le                    PGUID 12 f t t t 2 f 16 "23 23" 100 0 0 100  int4le - ));
309 DESCR("less-than-or-equal");
310 DATA(insert OID = 150 (  int4ge                    PGUID 12 f t t t 2 f 16 "23 23" 100 0 0 100  int4ge - ));
311 DESCR("greater-than-or-equal");
312 DATA(insert OID = 151 (  int2ge                    PGUID 12 f t t t 2 f 16 "21 21" 100 0 0 100  int2ge - ));
313 DESCR("greater-than-or-equal");
314 DATA(insert OID = 152 (  int2mul                   PGUID 12 f t t t 2 f 21 "21 21" 100 0 0 100  int2mul - ));
315 DESCR("multiply");
316 DATA(insert OID = 153 (  int2div                   PGUID 12 f t t t 2 f 21 "21 21" 100 0 0 100  int2div - ));
317 DESCR("divide");
318 DATA(insert OID = 154 (  int4div                   PGUID 12 f t t t 2 f 23 "23 23" 100 0 0 100  int4div - ));
319 DESCR("divide");
320 DATA(insert OID = 155 (  int2mod                   PGUID 12 f t t t 2 f 21 "21 21" 100 0 0 100  int2mod - ));
321 DESCR("modulus");
322 DATA(insert OID = 156 (  int4mod                   PGUID 12 f t t t 2 f 23 "23 23" 100 0 0 100  int4mod - ));
323 DESCR("modulus");
324 DATA(insert OID = 157 (  textne                    PGUID 12 f t t t 2 f 16 "25 25" 100 0 0 100  textne - ));
325 DESCR("not equal");
326 DATA(insert OID = 158 (  int24eq                   PGUID 12 f t t t 2 f 16 "21 23" 100 0 0 100  int24eq - ));
327 DESCR("equal");
328 DATA(insert OID = 159 (  int42eq                   PGUID 12 f t t t 2 f 16 "23 21" 100 0 0 100  int42eq - ));
329 DESCR("equal");
330 DATA(insert OID = 160 (  int24lt                   PGUID 12 f t t t 2 f 16 "21 23" 100 0 0 100  int24lt - ));
331 DESCR("less-than");
332 DATA(insert OID = 161 (  int42lt                   PGUID 12 f t t t 2 f 16 "23 21" 100 0 0 100  int42lt - ));
333 DESCR("less-than");
334 DATA(insert OID = 162 (  int24gt                   PGUID 12 f t t t 2 f 16 "21 23" 100 0 0 100  int24gt - ));
335 DESCR("greater-than");
336 DATA(insert OID = 163 (  int42gt                   PGUID 12 f t t t 2 f 16 "23 21" 100 0 0 100  int42gt - ));
337 DESCR("greater-than");
338 DATA(insert OID = 164 (  int24ne                   PGUID 12 f t t t 2 f 16 "21 23" 100 0 0 100  int24ne - ));
339 DESCR("not equal");
340 DATA(insert OID = 165 (  int42ne                   PGUID 12 f t t t 2 f 16 "23 21" 100 0 0 100  int42ne - ));
341 DESCR("not equal");
342 DATA(insert OID = 166 (  int24le                   PGUID 12 f t t t 2 f 16 "21 23" 100 0 0 100  int24le - ));
343 DESCR("less-than-or-equal");
344 DATA(insert OID = 167 (  int42le                   PGUID 12 f t t t 2 f 16 "23 21" 100 0 0 100  int42le - ));
345 DESCR("less-than-or-equal");
346 DATA(insert OID = 168 (  int24ge                   PGUID 12 f t t t 2 f 16 "21 23" 100 0 0 100  int24ge - ));
347 DESCR("greater-than-or-equal");
348 DATA(insert OID = 169 (  int42ge                   PGUID 12 f t t t 2 f 16 "23 21" 100 0 0 100  int42ge - ));
349 DESCR("greater-than-or-equal");
350 DATA(insert OID = 170 (  int24mul                  PGUID 12 f t t t 2 f 23 "21 23" 100 0 0 100  int24mul - ));
351 DESCR("multiply");
352 DATA(insert OID = 171 (  int42mul                  PGUID 12 f t t t 2 f 23 "23 21" 100 0 0 100  int42mul - ));
353 DESCR("multiply");
354 DATA(insert OID = 172 (  int24div                  PGUID 12 f t t t 2 f 23 "21 23" 100 0 0 100  int24div - ));
355 DESCR("divide");
356 DATA(insert OID = 173 (  int42div                  PGUID 12 f t t t 2 f 23 "23 21" 100 0 0 100  int42div - ));
357 DESCR("divide");
358 DATA(insert OID = 174 (  int24mod                  PGUID 12 f t t t 2 f 23 "21 23" 100 0 0 100  int24mod - ));
359 DESCR("modulus");
360 DATA(insert OID = 175 (  int42mod                  PGUID 12 f t t t 2 f 23 "23 21" 100 0 0 100  int42mod - ));
361 DESCR("modulus");
362 DATA(insert OID = 176 (  int2pl                    PGUID 12 f t t t 2 f 21 "21 21" 100 0 0 100  int2pl - ));
363 DESCR("add");
364 DATA(insert OID = 177 (  int4pl                    PGUID 12 f t t t 2 f 23 "23 23" 100 0 0 100  int4pl - ));
365 DESCR("add");
366 DATA(insert OID = 178 (  int24pl                   PGUID 12 f t t t 2 f 23 "21 23" 100 0 0 100  int24pl - ));
367 DESCR("add");
368 DATA(insert OID = 179 (  int42pl                   PGUID 12 f t t t 2 f 23 "23 21" 100 0 0 100  int42pl - ));
369 DESCR("add");
370 DATA(insert OID = 180 (  int2mi                    PGUID 12 f t t t 2 f 21 "21 21" 100 0 0 100  int2mi - ));
371 DESCR("subtract");
372 DATA(insert OID = 181 (  int4mi                    PGUID 12 f t t t 2 f 23 "23 23" 100 0 0 100  int4mi - ));
373 DESCR("subtract");
374 DATA(insert OID = 182 (  int24mi                   PGUID 12 f t t t 2 f 23 "21 23" 100 0 0 100  int24mi - ));
375 DESCR("subtract");
376 DATA(insert OID = 183 (  int42mi                   PGUID 12 f t t t 2 f 23 "23 21" 100 0 0 100  int42mi - ));
377 DESCR("subtract");
378 DATA(insert OID = 184 (  oideq                     PGUID 12 f t t t 2 f 16 "26 26" 100 0 0 100  oideq - ));
379 DESCR("equal");
380 DATA(insert OID = 185 (  oidne                     PGUID 12 f t t t 2 f 16 "26 26" 100 0 0 100  oidne - ));
381 DESCR("not equal");
382 DATA(insert OID = 186 (  box_same                  PGUID 12 f t t t 2 f 16 "603 603" 100 0 0 100  box_same - ));
383 DESCR("same as");
384 DATA(insert OID = 187 (  box_contain       PGUID 12 f t t t 2 f 16 "603 603" 100 0 0 100  box_contain - ));
385 DESCR("contains");
386 DATA(insert OID = 188 (  box_left                  PGUID 12 f t t t 2 f 16 "603 603" 100 0 0 100  box_left - ));
387 DESCR("is left of");
388 DATA(insert OID = 189 (  box_overleft      PGUID 12 f t t t 2 f 16 "603 603" 100 0 0 100  box_overleft - ));
389 DESCR("overlaps, but does not extend to right of");
390 DATA(insert OID = 190 (  box_overright     PGUID 12 f t t t 2 f 16 "603 603" 100 0 0 100  box_overright - ));
391 DESCR("overlaps, but does not extend to left of");
392 DATA(insert OID = 191 (  box_right                 PGUID 12 f t t t 2 f 16 "603 603" 100 0 0 100  box_right - ));
393 DESCR("is right of");
394 DATA(insert OID = 192 (  box_contained     PGUID 12 f t t t 2 f 16 "603 603" 100 0 0 100  box_contained - ));
395 DESCR("contained in");
396 DATA(insert OID = 193 (  rt_box_union      PGUID 12 f t t t 2 f 603 "603 603" 100 0 0 100  rt_box_union - ));
397 DESCR("r-tree");
398 DATA(insert OID = 194 (  rt_box_inter      PGUID 12 f t t t 2 f 603 "603 603" 100 0 0 100  rt_box_inter - ));
399 DESCR("r-tree");
400 DATA(insert OID = 195 (  rt_box_size       PGUID 12 f t t t 2 f 700 "603 700" 100 0 0 100  rt_box_size - ));
401 DESCR("r-tree");
402 DATA(insert OID = 196 (  rt_bigbox_size    PGUID 12 f t t t 2 f 700 "603 700" 100 0 0 100  rt_bigbox_size - ));
403 DESCR("r-tree");
404 DATA(insert OID = 197 (  rt_poly_union     PGUID 12 f t t t 2 f 604 "604 604" 100 0 0 100  rt_poly_union - ));
405 DESCR("r-tree");
406 DATA(insert OID = 198 (  rt_poly_inter     PGUID 12 f t t t 2 f 604 "604 604" 100 0 0 100  rt_poly_inter - ));
407 DESCR("r-tree");
408 DATA(insert OID = 199 (  rt_poly_size      PGUID 12 f t t t 2 f 23 "604 700" 100 0 0 100  rt_poly_size - ));
409 DESCR("r-tree");
410
411 /* OIDS 200 - 299 */
412
413 DATA(insert OID = 200 (  float4in                  PGUID 12 f t t t 1 f 700 "0" 100 0 0 100  float4in - ));
414 DESCR("(internal)");
415 DATA(insert OID = 201 (  float4out                 PGUID 12 f t t t 1 f 23      "700" 100 0 0 100  float4out - ));
416 DESCR("(internal)");
417 DATA(insert OID = 202 (  float4mul                 PGUID 12 f t t t 2 f 700 "700 700" 100 0 0 100  float4mul - ));
418 DESCR("multiply");
419 DATA(insert OID = 203 (  float4div                 PGUID 12 f t t t 2 f 700 "700 700" 100 0 0 100  float4div - ));
420 DESCR("divide");
421 DATA(insert OID = 204 (  float4pl                  PGUID 12 f t t t 2 f 700 "700 700" 100 0 0 100  float4pl - ));
422 DESCR("add");
423 DATA(insert OID = 205 (  float4mi                  PGUID 12 f t t t 2 f 700 "700 700" 100 0 0 100  float4mi - ));
424 DESCR("subtract");
425 DATA(insert OID = 206 (  float4um                  PGUID 12 f t t t 1 f 700 "700" 100 0 0 100  float4um - ));
426 DESCR("negate");
427 DATA(insert OID = 207 (  float4abs                 PGUID 12 f t t t 1 f 700 "700" 100 0 0 100  float4abs - ));
428 DESCR("absolute value");
429 DATA(insert OID = 208 (  float4_accum      PGUID 12 f t t t 2 f 1022 "1022 700" 100 0 0 100  float4_accum - ));
430 DESCR("aggregate transition function");
431 DATA(insert OID = 209 (  float4larger      PGUID 12 f t t t 2 f 700 "700 700" 100 0 0 100  float4larger - ));
432 DESCR("larger of two");
433 DATA(insert OID = 211 (  float4smaller     PGUID 12 f t t t 2 f 700 "700 700" 100 0 0 100  float4smaller - ));
434 DESCR("smaller of two");
435
436 DATA(insert OID = 212 (  int4um                    PGUID 12 f t t t 1 f 23 "23" 100 0 0 100  int4um - ));
437 DESCR("negate");
438 DATA(insert OID = 213 (  int2um                    PGUID 12 f t t t 1 f 21 "21" 100 0 0 100  int2um - ));
439 DESCR("negate");
440
441 DATA(insert OID = 214 (  float8in                  PGUID 12 f t t t 1 f 701 "0" 100 0 0 100  float8in - ));
442 DESCR("(internal)");
443 DATA(insert OID = 215 (  float8out                 PGUID 12 f t t t 1 f 23      "701" 100 0 0 100  float8out - ));
444 DESCR("(internal)");
445 DATA(insert OID = 216 (  float8mul                 PGUID 12 f t t t 2 f 701 "701 701" 100 0 0 100  float8mul - ));
446 DESCR("multiply");
447 DATA(insert OID = 217 (  float8div                 PGUID 12 f t t t 2 f 701 "701 701" 100 0 0 100  float8div - ));
448 DESCR("divide");
449 DATA(insert OID = 218 (  float8pl                  PGUID 12 f t t t 2 f 701 "701 701" 100 0 0 100  float8pl - ));
450 DESCR("add");
451 DATA(insert OID = 219 (  float8mi                  PGUID 12 f t t t 2 f 701 "701 701" 100 0 0 100  float8mi - ));
452 DESCR("subtract");
453 DATA(insert OID = 220 (  float8um                  PGUID 12 f t t t 1 f 701 "701" 100 0 0 100  float8um - ));
454 DESCR("negate");
455 DATA(insert OID = 221 (  float8abs                 PGUID 12 f t t t 1 f 701 "701" 100 0 0 100  float8abs - ));
456 DESCR("absolute value");
457 DATA(insert OID = 222 (  float8_accum      PGUID 12 f t t t 2 f 1022 "1022 701" 100 0 0 100  float8_accum - ));
458 DESCR("aggregate transition function");
459 DATA(insert OID = 223 (  float8larger      PGUID 12 f t t t 2 f 701 "701 701" 100 0 0 100  float8larger - ));
460 DESCR("larger of two");
461 DATA(insert OID = 224 (  float8smaller     PGUID 12 f t t t 2 f 701 "701 701" 100 0 0 100  float8smaller - ));
462 DESCR("smaller of two");
463
464 DATA(insert OID = 225 (  lseg_center       PGUID 12 f t t t 1 f 600 "601" 100 0 0 100  lseg_center - ));
465 DESCR("center of");
466 DATA(insert OID = 226 (  path_center       PGUID 12 f t t t 1 f 600 "602" 100 0 0 100  path_center - ));
467 DESCR("center of");
468 DATA(insert OID = 227 (  poly_center       PGUID 12 f t t t 1 f 600 "604" 100 0 0 100  poly_center - ));
469 DESCR("center of");
470
471 DATA(insert OID = 228 (  dround                    PGUID 12 f t t t 1 f 701 "701" 100 0 0 100  dround - ));
472 DESCR("round to nearest integer");
473 DATA(insert OID = 229 (  dtrunc                    PGUID 12 f t t t 1 f 701 "701" 100 0 0 100  dtrunc - ));
474 DESCR("truncate to integer");
475 DATA(insert OID = 230 (  dsqrt                     PGUID 12 f t t t 1 f 701 "701" 100 0 0 100  dsqrt - ));
476 DESCR("square root");
477 DATA(insert OID = 231 (  dcbrt                     PGUID 12 f t t t 1 f 701 "701" 100 0 0 100  dcbrt - ));
478 DESCR("cube root");
479 DATA(insert OID = 232 (  dpow                      PGUID 12 f t t t 2 f 701 "701 701" 100 0 0 100  dpow - ));
480 DESCR("exponentiation (x^y)");
481 DATA(insert OID = 233 (  dexp                      PGUID 12 f t t t 1 f 701 "701" 100 0 0 100  dexp - ));
482 DESCR("natural exponential (e^x)");
483 DATA(insert OID = 234 (  dlog1                     PGUID 12 f t t t 1 f 701 "701" 100 0 0 100  dlog1 - ));
484 DESCR("natural logarithm");
485 DATA(insert OID = 235 (  float8                    PGUID 12 f t t t 1 f 701  "21" 100 0 0 100  i2tod - ));
486 DESCR("convert int2 to float8");
487 DATA(insert OID = 236 (  float4                    PGUID 12 f t t t 1 f 700  "21" 100 0 0 100  i2tof - ));
488 DESCR("convert int2 to float4");
489 DATA(insert OID = 237 (  int2                      PGUID 12 f t t t 1 f  21 "701" 100 0 0 100  dtoi2 - ));
490 DESCR("convert float8 to int2");
491 DATA(insert OID = 238 (  int2                      PGUID 12 f t t t 1 f  21 "700" 100 0 0 100  ftoi2 - ));
492 DESCR("convert float4 to int2");
493 DATA(insert OID = 239 (  line_distance     PGUID 12 f t t t 2 f 701 "628 628" 100 0 0 100  line_distance - ));
494 DESCR("distance between");
495
496 DATA(insert OID = 240 (  nabstimein                PGUID 12 f t f t 1 f 702 "0" 100 0 0 100  nabstimein - ));
497 DESCR("(internal)");
498 DATA(insert OID = 241 (  nabstimeout       PGUID 12 f t f t 1 f 23      "0" 100 0 0 100  nabstimeout - ));
499 DESCR("(internal)");
500 DATA(insert OID = 242 (  reltimein                 PGUID 12 f t f t 1 f 703 "0" 100 0 0 100  reltimein - ));
501 DESCR("(internal)");
502 DATA(insert OID = 243 (  reltimeout                PGUID 12 f t f t 1 f 23      "0" 100 0 0 100  reltimeout - ));
503 DESCR("(internal)");
504 DATA(insert OID = 244 (  timepl                    PGUID 12 f t t t 2 f 702 "702 703" 100 0 0 100  timepl - ));
505 DESCR("add");
506 DATA(insert OID = 245 (  timemi                    PGUID 12 f t t t 2 f 702 "702 703" 100 0 0 100  timemi - ));
507 DESCR("subtract");
508 DATA(insert OID = 246 (  tintervalin       PGUID 12 f t f t 1 f 704 "0" 100 0 0 100  tintervalin - ));
509 DESCR("(internal)");
510 DATA(insert OID = 247 (  tintervalout      PGUID 12 f t f t 1 f 23      "0" 100 0 0 100  tintervalout - ));
511 DESCR("(internal)");
512 DATA(insert OID = 248 (  intinterval       PGUID 12 f t t t 2 f 16 "702 704" 100 0 0 100  intinterval - ));
513 DESCR("abstime in tinterval");
514 DATA(insert OID = 249 (  tintervalrel      PGUID 12 f t t t 1 f 703 "704" 100 0 0 100  tintervalrel - ));
515 DESCR("");
516 DATA(insert OID = 250 (  timenow                   PGUID 12 f t f t 0 f 702 "0" 100 0 0 100  timenow - ));
517 DESCR("Current date and time (abstime)");
518 DATA(insert OID = 251 (  abstimeeq                 PGUID 12 f t t t 2 f 16 "702 702" 100 0 0 100  abstimeeq - ));
519 DESCR("equal");
520 DATA(insert OID = 252 (  abstimene                 PGUID 12 f t t t 2 f 16 "702 702" 100 0 0 100  abstimene - ));
521 DESCR("not equal");
522 DATA(insert OID = 253 (  abstimelt                 PGUID 12 f t t t 2 f 16 "702 702" 100 0 0 100  abstimelt - ));
523 DESCR("less-than");
524 DATA(insert OID = 254 (  abstimegt                 PGUID 12 f t t t 2 f 16 "702 702" 100 0 0 100  abstimegt - ));
525 DESCR("greater-than");
526 DATA(insert OID = 255 (  abstimele                 PGUID 12 f t t t 2 f 16 "702 702" 100 0 0 100  abstimele - ));
527 DESCR("less-than-or-equal");
528 DATA(insert OID = 256 (  abstimege                 PGUID 12 f t t t 2 f 16 "702 702" 100 0 0 100  abstimege - ));
529 DESCR("greater-than-or-equal");
530 DATA(insert OID = 257 (  reltimeeq                 PGUID 12 f t t t 2 f 16 "703 703" 100 0 0 100  reltimeeq - ));
531 DESCR("equal");
532 DATA(insert OID = 258 (  reltimene                 PGUID 12 f t t t 2 f 16 "703 703" 100 0 0 100  reltimene - ));
533 DESCR("not equal");
534 DATA(insert OID = 259 (  reltimelt                 PGUID 12 f t t t 2 f 16 "703 703" 100 0 0 100  reltimelt - ));
535 DESCR("less-than");
536 DATA(insert OID = 260 (  reltimegt                 PGUID 12 f t t t 2 f 16 "703 703" 100 0 0 100  reltimegt - ));
537 DESCR("greater-than");
538 DATA(insert OID = 261 (  reltimele                 PGUID 12 f t t t 2 f 16 "703 703" 100 0 0 100  reltimele - ));
539 DESCR("less-than-or-equal");
540 DATA(insert OID = 262 (  reltimege                 PGUID 12 f t t t 2 f 16 "703 703" 100 0 0 100  reltimege - ));
541 DESCR("greater-than-or-equal");
542 DATA(insert OID = 263 (  tintervalsame     PGUID 12 f t t t 2 f 16 "704 704" 100 0 0 100  tintervalsame - ));
543 DESCR("same as");
544 DATA(insert OID = 264 (  tintervalct       PGUID 12 f t t t 2 f 16 "704 704" 100 0 0 100  tintervalct - ));
545 DESCR("less-than");
546 DATA(insert OID = 265 (  tintervalov       PGUID 12 f t t t 2 f 16 "704 704" 100 0 0 100  tintervalov - ));
547 DESCR("overlaps");
548 DATA(insert OID = 266 (  tintervalleneq    PGUID 12 f t t t 2 f 16 "704 703" 100 0 0 100  tintervalleneq - ));
549 DESCR("length equal");
550 DATA(insert OID = 267 (  tintervallenne    PGUID 12 f t t t 2 f 16 "704 703" 100 0 0 100  tintervallenne - ));
551 DESCR("length not equal to");
552 DATA(insert OID = 268 (  tintervallenlt    PGUID 12 f t t t 2 f 16 "704 703" 100 0 0 100  tintervallenlt - ));
553 DESCR("length less-than");
554 DATA(insert OID = 269 (  tintervallengt    PGUID 12 f t t t 2 f 16 "704 703" 100 0 0 100  tintervallengt - ));
555 DESCR("length greater-than");
556 DATA(insert OID = 270 (  tintervallenle    PGUID 12 f t t t 2 f 16 "704 703" 100 0 0 100  tintervallenle - ));
557 DESCR("length less-than-or-equal");
558 DATA(insert OID = 271 (  tintervallenge    PGUID 12 f t t t 2 f 16 "704 703" 100 0 0 100  tintervallenge - ));
559 DESCR("length greater-than-or-equal");
560 DATA(insert OID = 272 (  tintervalstart    PGUID 12 f t t t 1 f 702 "704" 100 0 0 100  tintervalstart - ));
561 DESCR("start of interval");
562 DATA(insert OID = 273 (  tintervalend      PGUID 12 f t t t 1 f 702 "704" 100 0 0 100  tintervalend - ));
563 DESCR("");
564 DATA(insert OID = 274 (  timeofday                 PGUID 12 f t f t 0 f 25 "0" 100 0 0 100      timeofday - ));
565 DESCR("Current date and time with microseconds");
566 DATA(insert OID = 275 (  isfinite                  PGUID 12 f t t t 1 f 16 "702" 100 0 0 100  abstime_finite - ));
567 DESCR("");
568
569 DATA(insert OID = 276 (  int2fac                   PGUID 12 f t t t 1 f 23 "21" 100 0 0 100  int2fac - ));
570 DESCR("factorial");
571
572 DATA(insert OID = 277 (  inter_sl                  PGUID 12 f t t t 2 f 16 "601 628" 100 0 0 100  inter_sl - ));
573 DESCR("");
574 DATA(insert OID = 278 (  inter_lb                  PGUID 12 f t t t 2 f 16 "628 603" 100 0 0 100  inter_lb - ));
575 DESCR("");
576
577 DATA(insert OID = 279 (  float48mul                PGUID 12 f t t t 2 f 701 "700 701" 100 0 0 100  float48mul - ));
578 DESCR("multiply");
579 DATA(insert OID = 280 (  float48div                PGUID 12 f t t t 2 f 701 "700 701" 100 0 0 100  float48div - ));
580 DESCR("divide");
581 DATA(insert OID = 281 (  float48pl                 PGUID 12 f t t t 2 f 701 "700 701" 100 0 0 100  float48pl - ));
582 DESCR("add");
583 DATA(insert OID = 282 (  float48mi                 PGUID 12 f t t t 2 f 701 "700 701" 100 0 0 100  float48mi - ));
584 DESCR("subtract");
585 DATA(insert OID = 283 (  float84mul                PGUID 12 f t t t 2 f 701 "701 700" 100 0 0 100  float84mul - ));
586 DESCR("multiply");
587 DATA(insert OID = 284 (  float84div                PGUID 12 f t t t 2 f 701 "701 700" 100 0 0 100  float84div - ));
588 DESCR("divide");
589 DATA(insert OID = 285 (  float84pl                 PGUID 12 f t t t 2 f 701 "701 700" 100 0 0 100  float84pl - ));
590 DESCR("add");
591 DATA(insert OID = 286 (  float84mi                 PGUID 12 f t t t 2 f 701 "701 700" 100 0 0 100  float84mi - ));
592 DESCR("subtract");
593
594 DATA(insert OID = 287 (  float4eq                  PGUID 12 f t t t 2 f 16 "700 700" 100 0 0 100  float4eq - ));
595 DESCR("equal");
596 DATA(insert OID = 288 (  float4ne                  PGUID 12 f t t t 2 f 16 "700 700" 100 0 0 100  float4ne - ));
597 DESCR("not equal");
598 DATA(insert OID = 289 (  float4lt                  PGUID 12 f t t t 2 f 16 "700 700" 100 0 0 100  float4lt - ));
599 DESCR("less-than");
600 DATA(insert OID = 290 (  float4le                  PGUID 12 f t t t 2 f 16 "700 700" 100 0 0 100  float4le - ));
601 DESCR("less-than-or-equal");
602 DATA(insert OID = 291 (  float4gt                  PGUID 12 f t t t 2 f 16 "700 700" 100 0 0 100  float4gt - ));
603 DESCR("greater-than");
604 DATA(insert OID = 292 (  float4ge                  PGUID 12 f t t t 2 f 16 "700 700" 100 0 0 100  float4ge - ));
605 DESCR("greater-than-or-equal");
606
607 DATA(insert OID = 293 (  float8eq                  PGUID 12 f t t t 2 f 16 "701 701" 100 0 0 100  float8eq - ));
608 DESCR("equal");
609 DATA(insert OID = 294 (  float8ne                  PGUID 12 f t t t 2 f 16 "701 701" 100 0 0 100  float8ne - ));
610 DESCR("not equal");
611 DATA(insert OID = 295 (  float8lt                  PGUID 12 f t t t 2 f 16 "701 701" 100 0 0 100  float8lt - ));
612 DESCR("less-than");
613 DATA(insert OID = 296 (  float8le                  PGUID 12 f t t t 2 f 16 "701 701" 100 0 0 100  float8le - ));
614 DESCR("less-than-or-equal");
615 DATA(insert OID = 297 (  float8gt                  PGUID 12 f t t t 2 f 16 "701 701" 100 0 0 100  float8gt - ));
616 DESCR("greater-than");
617 DATA(insert OID = 298 (  float8ge                  PGUID 12 f t t t 2 f 16 "701 701" 100 0 0 100  float8ge - ));
618 DESCR("greater-than-or-equal");
619
620 DATA(insert OID = 299 (  float48eq                 PGUID 12 f t t t 2 f 16 "700 701" 100 0 0 100  float48eq - ));
621 DESCR("equal");
622
623 /* OIDS 300 - 399 */
624
625 DATA(insert OID = 300 (  float48ne                 PGUID 12 f t t t 2 f 16 "700 701" 100 0 0 100  float48ne - ));
626 DESCR("not equal");
627 DATA(insert OID = 301 (  float48lt                 PGUID 12 f t t t 2 f 16 "700 701" 100 0 0 100  float48lt - ));
628 DESCR("less-than");
629 DATA(insert OID = 302 (  float48le                 PGUID 12 f t t t 2 f 16 "700 701" 100 0 0 100  float48le - ));
630 DESCR("less-than-or-equal");
631 DATA(insert OID = 303 (  float48gt                 PGUID 12 f t t t 2 f 16 "700 701" 100 0 0 100  float48gt - ));
632 DESCR("greater-than");
633 DATA(insert OID = 304 (  float48ge                 PGUID 12 f t t t 2 f 16 "700 701" 100 0 0 100  float48ge - ));
634 DESCR("greater-than-or-equal");
635 DATA(insert OID = 305 (  float84eq                 PGUID 12 f t t t 2 f 16 "701 700" 100 0 0 100  float84eq - ));
636 DESCR("equal");
637 DATA(insert OID = 306 (  float84ne                 PGUID 12 f t t t 2 f 16 "701 700" 100 0 0 100  float84ne - ));
638 DESCR("not equal");
639 DATA(insert OID = 307 (  float84lt                 PGUID 12 f t t t 2 f 16 "701 700" 100 0 0 100  float84lt - ));
640 DESCR("less-than");
641 DATA(insert OID = 308 (  float84le                 PGUID 12 f t t t 2 f 16 "701 700" 100 0 0 100  float84le - ));
642 DESCR("less-than-or-equal");
643 DATA(insert OID = 309 (  float84gt                 PGUID 12 f t t t 2 f 16 "701 700" 100 0 0 100  float84gt - ));
644 DESCR("greater-than");
645 DATA(insert OID = 310 (  float84ge                 PGUID 12 f t t t 2 f 16 "701 700" 100 0 0 100  float84ge - ));
646 DESCR("greater-than-or-equal");
647
648 DATA(insert OID = 311 (  float8                    PGUID 12 f t t t 1 f 701 "700" 100 0 0 100  ftod - ));
649 DESCR("convert float4 to float8");
650 DATA(insert OID = 312 (  float4                    PGUID 12 f t t t 1 f 700 "701" 100 0 0 100  dtof - ));
651 DESCR("convert float8 to float4");
652 DATA(insert OID = 313 (  int4                      PGUID 12 f t t t 1 f  23  "21" 100 0 0 100  i2toi4 - ));
653 DESCR("convert int2 to int4");
654 DATA(insert OID = 314 (  int2                      PGUID 12 f t t t 1 f  21  "23" 100 0 0 100  i4toi2 - ));
655 DESCR("convert int4 to int2");
656 DATA(insert OID = 315 (  int2vectoreq      PGUID 12 f t t t 2 f  16  "22 22" 100 0 0 100  int2vectoreq - ));
657 DESCR("equal");
658 DATA(insert OID = 316 (  float8                    PGUID 12 f t t t 1 f 701  "23" 100 0 0 100  i4tod - ));
659 DESCR("convert int4 to float8");
660 DATA(insert OID = 317 (  int4                      PGUID 12 f t t t 1 f  23 "701" 100 0 0 100  dtoi4 - ));
661 DESCR("convert float8 to int4");
662 DATA(insert OID = 318 (  float4                    PGUID 12 f t t t 1 f 700  "23" 100 0 0 100  i4tof - ));
663 DESCR("convert int4 to float4");
664 DATA(insert OID = 319 (  int4                      PGUID 12 f t t t 1 f  23 "700" 100 0 0 100  ftoi4 - ));
665 DESCR("convert float4 to int4");
666
667 DATA(insert OID = 320 (  rtinsert                  PGUID 12 f t f t 5 f 23 "0 0 0 0 0" 100 0 0 100      rtinsert - ));
668 DESCR("r-tree(internal)");
669 DATA(insert OID = 322 (  rtgettuple                PGUID 12 f t f t 2 f 23 "0 0" 100 0 0 100  rtgettuple - ));
670 DESCR("r-tree(internal)");
671 DATA(insert OID = 323 (  rtbuild                   PGUID 12 f t f t 3 f 23 "0 0 0" 100 0 0 100  rtbuild - ));
672 DESCR("r-tree(internal)");
673 DATA(insert OID = 324 (  rtbeginscan       PGUID 12 f t f t 4 f 23 "0 0 0 0" 100 0 0 100  rtbeginscan - ));
674 DESCR("r-tree(internal)");
675 DATA(insert OID = 325 (  rtendscan                 PGUID 12 f t f t 1 f 23 "0" 100 0 0 100      rtendscan - ));
676 DESCR("r-tree(internal)");
677 DATA(insert OID = 326 (  rtmarkpos                 PGUID 12 f t f t 1 f 23 "0" 100 0 0 100      rtmarkpos - ));
678 DESCR("r-tree(internal)");
679 DATA(insert OID = 327 (  rtrestrpos                PGUID 12 f t f t 1 f 23 "0" 100 0 0 100      rtrestrpos - ));
680 DESCR("r-tree(internal)");
681 DATA(insert OID = 328 (  rtrescan                  PGUID 12 f t f t 3 f 23 "0 0 0" 100 0 0 100  rtrescan - ));
682 DESCR("r-tree(internal)");
683 DATA(insert OID = 321 (  rtbulkdelete      PGUID 12 f t f t 3 f 23 "0 0 0" 100 0 0 100  rtbulkdelete - ));
684 DESCR("r-tree(internal)");
685 DATA(insert OID = 1265 (  rtcostestimate   PGUID 12 f t f t 8 f 0 "0 0 0 0 0 0 0 0" 100 0 0 100  rtcostestimate - ));
686 DESCR("r-tree(internal)");
687
688 DATA(insert OID = 330 (  btgettuple                PGUID 12 f t f t 2 f 23 "0 0" 100 0 0 100  btgettuple - ));
689 DESCR("btree(internal)");
690 DATA(insert OID = 331 (  btinsert                  PGUID 12 f t f t 5 f 23 "0 0 0 0 0" 100 0 0 100      btinsert - ));
691 DESCR("btree(internal)");
692 DATA(insert OID = 333 (  btbeginscan       PGUID 12 f t f t 4 f 23 "0 0 0 0" 100 0 0 100  btbeginscan - ));
693 DESCR("btree(internal)");
694 DATA(insert OID = 334 (  btrescan                  PGUID 12 f t f t 3 f 23 "0 0 0" 100 0 0 100  btrescan - ));
695 DESCR("btree(internal)");
696 DATA(insert OID = 335 (  btendscan                 PGUID 12 f t f t 1 f 23 "0" 100 0 0 100      btendscan - ));
697 DESCR("btree(internal)");
698 DATA(insert OID = 336 (  btmarkpos                 PGUID 12 f t f t 1 f 23 "0" 100 0 0 100      btmarkpos - ));
699 DESCR("btree(internal)");
700 DATA(insert OID = 337 (  btrestrpos                PGUID 12 f t f t 1 f 23 "0" 100 0 0 100      btrestrpos - ));
701 DESCR("btree(internal)");
702 DATA(insert OID = 338 (  btbuild                   PGUID 12 f t f t 3 f 23 "0 0 0" 100 0 0 100  btbuild - ));
703 DESCR("btree(internal)");
704 DATA(insert OID = 332 (  btbulkdelete      PGUID 12 f t f t 3 f 23 "0 0 0" 100 0 0 100  btbulkdelete - ));
705 DESCR("btree(internal)");
706 DATA(insert OID = 1268 (  btcostestimate   PGUID 12 f t f t 8 f 0 "0 0 0 0 0 0 0 0" 100 0 0 100  btcostestimate - ));
707 DESCR("btree(internal)");
708
709 DATA(insert OID = 339 (  poly_same                 PGUID 12 f t t t 2 f 16 "604 604" 100 0 0 100  poly_same - ));
710 DESCR("same as");
711 DATA(insert OID = 340 (  poly_contain      PGUID 12 f t t t 2 f 16 "604 604" 100 0 0 100  poly_contain - ));
712 DESCR("contains");
713 DATA(insert OID = 341 (  poly_left                 PGUID 12 f t t t 2 f 16 "604 604" 100 0 0 100  poly_left - ));
714 DESCR("is left of");
715 DATA(insert OID = 342 (  poly_overleft     PGUID 12 f t t t 2 f 16 "604 604" 100 0 0 100  poly_overleft - ));
716 DESCR("overlaps, but does not extend to right of");
717 DATA(insert OID = 343 (  poly_overright    PGUID 12 f t t t 2 f 16 "604 604" 100 0 0 100  poly_overright - ));
718 DESCR("overlaps, but does not extend to left of");
719 DATA(insert OID = 344 (  poly_right                PGUID 12 f t t t 2 f 16 "604 604" 100 0 0 100  poly_right - ));
720 DESCR("is right of");
721 DATA(insert OID = 345 (  poly_contained    PGUID 12 f t t t 2 f 16 "604 604" 100 0 0 100  poly_contained - ));
722 DESCR("contained in");
723 DATA(insert OID = 346 (  poly_overlap      PGUID 12 f t t t 2 f 16 "604 604" 100 0 0 100  poly_overlap - ));
724 DESCR("overlaps");
725 DATA(insert OID = 347 (  poly_in                   PGUID 12 f t t t 1 f 604 "0" 100 0 0 100  poly_in - ));
726 DESCR("(internal)");
727 DATA(insert OID = 348 (  poly_out                  PGUID 12 f t t t 1 f 23      "0" 100 0 0 100  poly_out - ));
728 DESCR("(internal)");
729
730 DATA(insert OID = 350 (  btint2cmp                 PGUID 12 f t t t 2 f 23 "21 21" 100 0 0 100  btint2cmp - ));
731 DESCR("btree less-equal-greater");
732 DATA(insert OID = 351 (  btint4cmp                 PGUID 12 f t t t 2 f 23 "23 23" 100 0 0 100  btint4cmp - ));
733 DESCR("btree less-equal-greater");
734 DATA(insert OID = 842 (  btint8cmp                 PGUID 12 f t t t 2 f 23 "20 20" 100 0 0 100  btint8cmp - ));
735 DESCR("btree less-equal-greater");
736 DATA(insert OID = 354 (  btfloat4cmp       PGUID 12 f t t t 2 f 23 "700 700" 100 0 0 100  btfloat4cmp - ));
737 DESCR("btree less-equal-greater");
738 DATA(insert OID = 355 (  btfloat8cmp       PGUID 12 f t t t 2 f 23 "701 701" 100 0 0 100  btfloat8cmp - ));
739 DESCR("btree less-equal-greater");
740 DATA(insert OID = 356 (  btoidcmp                  PGUID 12 f t t t 2 f 23 "26 26" 100 0 0 100  btoidcmp - ));
741 DESCR("btree less-equal-greater");
742 DATA(insert OID = 404 (  btoidvectorcmp    PGUID 12 f t t t 2 f 23 "30 30" 100 0 0 100  btoidvectorcmp - ));
743 DESCR("btree less-equal-greater");
744 DATA(insert OID = 357 (  btabstimecmp      PGUID 12 f t t t 2 f 23 "702 702" 100 0 0 100  btabstimecmp - ));
745 DESCR("btree less-equal-greater");
746 DATA(insert OID = 358 (  btcharcmp                 PGUID 12 f t t t 2 f 23 "18 18" 100 0 0 100  btcharcmp - ));
747 DESCR("btree less-equal-greater");
748 DATA(insert OID = 359 (  btnamecmp                 PGUID 12 f t t t 2 f 23 "19 19" 100 0 0 100  btnamecmp - ));
749 DESCR("btree less-equal-greater");
750 DATA(insert OID = 360 (  bttextcmp                 PGUID 12 f t t t 2 f 23 "25 25" 100 0 0 100  bttextcmp - ));
751 DESCR("btree less-equal-greater");
752
753 DATA(insert OID = 361 (  lseg_distance     PGUID 12 f t t t 2 f 701 "601 601" 100 0 0 100  lseg_distance - ));
754 DESCR("distance between");
755 DATA(insert OID = 362 (  lseg_interpt      PGUID 12 f t t t 2 f 600 "601 601" 100 0 0 100  lseg_interpt - ));
756 DESCR("");
757 DATA(insert OID = 363 (  dist_ps                   PGUID 12 f t t t 2 f 701 "600 601" 100 0 0 100  dist_ps - ));
758 DESCR("distance between");
759 DATA(insert OID = 364 (  dist_pb                   PGUID 12 f t t t 2 f 701 "600 603" 100 0 0 100  dist_pb - ));
760 DESCR("distance between point and box");
761 DATA(insert OID = 365 (  dist_sb                   PGUID 12 f t t t 2 f 701 "601 603" 100 0 0 100  dist_sb - ));
762 DESCR("distance between segment and box");
763 DATA(insert OID = 366 (  close_ps                  PGUID 12 f t t t 2 f 600 "600 601" 100 0 0 100  close_ps - ));
764 DESCR("closest point on line segment");
765 DATA(insert OID = 367 (  close_pb                  PGUID 12 f t t t 2 f 600 "600 603" 100 0 0 100  close_pb - ));
766 DESCR("closest point on box");
767 DATA(insert OID = 368 (  close_sb                  PGUID 12 f t t t 2 f 600 "601 603" 100 0 0 100  close_sb - ));
768 DESCR("closest point to line segment on box");
769 DATA(insert OID = 369 (  on_ps                     PGUID 12 f t t t 2 f 16 "600 601" 100 0 0 100  on_ps - ));
770 DESCR("point contained in segment");
771 DATA(insert OID = 370 (  path_distance     PGUID 12 f t t t 2 f 701 "602 602" 100 0 0 100  path_distance - ));
772 DESCR("distance between paths");
773 DATA(insert OID = 371 (  dist_ppath                PGUID 12 f t t t 2 f 701 "600 602" 100 0 0 100  dist_ppath - ));
774 DESCR("distance between point and path");
775 DATA(insert OID = 372 (  on_sb                     PGUID 12 f t t t 2 f 16 "601 603" 100 0 0 100  on_sb - ));
776 DESCR("contained in");
777 DATA(insert OID = 373 (  inter_sb                  PGUID 12 f t t t 2 f 16 "601 603" 100 0 0 100  inter_sb - ));
778 DESCR("intersects?");
779
780 /* OIDS 400 - 499 */
781
782 DATA(insert OID =  406 (  text                     PGUID 12 f t t t 1 f 25 "19" 100 0 0 100 name_text - ));
783 DESCR("convert name to text");
784 DATA(insert OID =  407 (  name                     PGUID 12 f t t t 1 f 19 "25" 100 0 0 100 text_name - ));
785 DESCR("convert text to name");
786 DATA(insert OID =  408 (  bpchar                   PGUID 12 f t t t 1 f 1042 "19" 100 0 0 100 name_bpchar - ));
787 DESCR("convert name to char()");
788 DATA(insert OID =  409 (  name                     PGUID 12 f t t t 1 f 19 "1042" 100 0 0 100  bpchar_name - ));
789 DESCR("convert char() to name");
790
791 DATA(insert OID = 440 (  hashgettuple      PGUID 12 f t f t 2 f 23 "0 0" 100 0 0 100  hashgettuple - ));
792 DESCR("hash(internal)");
793 DATA(insert OID = 441 (  hashinsert                PGUID 12 f t f t 5 f 23 "0 0 0 0 0" 100 0 0 100      hashinsert - ));
794 DESCR("hash(internal)");
795 DATA(insert OID = 443 (  hashbeginscan     PGUID 12 f t f t 4 f 23 "0 0 0 0" 100 0 0 100  hashbeginscan - ));
796 DESCR("hash(internal)");
797 DATA(insert OID = 444 (  hashrescan                PGUID 12 f t f t 3 f 23 "0 0 0" 100 0 0 100  hashrescan - ));
798 DESCR("hash(internal)");
799 DATA(insert OID = 445 (  hashendscan       PGUID 12 f t f t 1 f 23 "0" 100 0 0 100      hashendscan - ));
800 DESCR("hash(internal)");
801 DATA(insert OID = 446 (  hashmarkpos       PGUID 12 f t f t 1 f 23 "0" 100 0 0 100      hashmarkpos - ));
802 DESCR("hash(internal)");
803 DATA(insert OID = 447 (  hashrestrpos      PGUID 12 f t f t 1 f 23 "0" 100 0 0 100      hashrestrpos - ));
804 DESCR("hash(internal)");
805 DATA(insert OID = 448 (  hashbuild                 PGUID 12 f t f t 3 f 23 "0 0 0" 100 0 0 100  hashbuild - ));
806 DESCR("hash(internal)");
807 DATA(insert OID = 442 (  hashbulkdelete    PGUID 12 f t f t 3 f 23 "0 0 0" 100 0 0 100  hashbulkdelete - ));
808 DESCR("hash(internal)");
809 DATA(insert OID = 438 (  hashcostestimate  PGUID 12 f t f t 8 f 0 "0 0 0 0 0 0 0 0" 100 0 0 100  hashcostestimate - ));
810 DESCR("hash(internal)");
811
812 DATA(insert OID = 449 (  hashint2                  PGUID 12 f t t t 1 f 23 "21" 100 0 0 100  hashint2 - ));
813 DESCR("hash");
814 DATA(insert OID = 450 (  hashint4                  PGUID 12 f t t t 1 f 23 "23" 100 0 0 100  hashint4 - ));
815 DESCR("hash");
816 DATA(insert OID = 949 (  hashint8                  PGUID 12 f t t t 1 f 23 "20" 100 0 0 100  hashint8 - ));
817 DESCR("hash");
818 DATA(insert OID = 451 (  hashfloat4                PGUID 12 f t t t 1 f 23 "700" 100 0 0 100  hashfloat4 - ));
819 DESCR("hash");
820 DATA(insert OID = 452 (  hashfloat8                PGUID 12 f t t t 1 f 23 "701" 100 0 0 100  hashfloat8 - ));
821 DESCR("hash");
822 DATA(insert OID = 453 (  hashoid                   PGUID 12 f t t t 1 f 23 "26" 100 0 0 100  hashoid - ));
823 DESCR("hash");
824 DATA(insert OID = 454 (  hashchar                  PGUID 12 f t t t 1 f 23 "18" 100 0 0 100  hashchar - ));
825 DESCR("hash");
826 DATA(insert OID = 455 (  hashname                  PGUID 12 f t t t 1 f 23 "19" 100 0 0 100  hashname - ));
827 DESCR("hash");
828 DATA(insert OID = 456 (  hashvarlena       PGUID 12 f t t t 1 f 23 "0" 100 0 0 100      hashvarlena - ));
829 DESCR("hash any varlena type");
830 DATA(insert OID = 457 (  hashoidvector     PGUID 12 f t t t 1 f 23 "30" 100 0 0 100  hashoidvector - ));
831 DESCR("hash");
832 DATA(insert OID = 399 (  hashmacaddr       PGUID 12 f t t t 1 f 23 "829" 100 0 0 100  hashmacaddr - ));
833 DESCR("hash");
834 DATA(insert OID = 458 (  text_larger       PGUID 12 f t t t 2 f 25 "25 25" 100 0 0 100  text_larger - ));
835 DESCR("larger of two");
836 DATA(insert OID = 459 (  text_smaller      PGUID 12 f t t t 2 f 25 "25 25" 100 0 0 100  text_smaller - ));
837 DESCR("smaller of two");
838
839 DATA(insert OID = 460 (  int8in                    PGUID 12 f t t t 1 f 20 "0" 100 0 0 100      int8in - ));
840 DESCR("(internal)");
841 DATA(insert OID = 461 (  int8out                   PGUID 12 f t t t 1 f 23 "0" 100 0 0 100      int8out - ));
842 DESCR("(internal)");
843 DATA(insert OID = 462 (  int8um                    PGUID 12 f t t t 1 f 20 "20" 100 0 0 100  int8um - ));
844 DESCR("negate");
845 DATA(insert OID = 463 (  int8pl                    PGUID 12 f t t t 2 f 20 "20 20" 100 0 0 100  int8pl - ));
846 DESCR("add");
847 DATA(insert OID = 464 (  int8mi                    PGUID 12 f t t t 2 f 20 "20 20" 100 0 0 100  int8mi - ));
848 DESCR("subtract");
849 DATA(insert OID = 465 (  int8mul                   PGUID 12 f t t t 2 f 20 "20 20" 100 0 0 100  int8mul - ));
850 DESCR("multiply");
851 DATA(insert OID = 466 (  int8div                   PGUID 12 f t t t 2 f 20 "20 20" 100 0 0 100  int8div - ));
852 DESCR("divide");
853 DATA(insert OID = 467 (  int8eq                    PGUID 12 f t t t 2 f 16 "20 20" 100 0 0 100  int8eq - ));
854 DESCR("equal");
855 DATA(insert OID = 468 (  int8ne                    PGUID 12 f t t t 2 f 16 "20 20" 100 0 0 100  int8ne - ));
856 DESCR("not equal");
857 DATA(insert OID = 469 (  int8lt                    PGUID 12 f t t t 2 f 16 "20 20" 100 0 0 100  int8lt - ));
858 DESCR("less-than");
859 DATA(insert OID = 470 (  int8gt                    PGUID 12 f t t t 2 f 16 "20 20" 100 0 0 100  int8gt - ));
860 DESCR("greater-than");
861 DATA(insert OID = 471 (  int8le                    PGUID 12 f t t t 2 f 16 "20 20" 100 0 0 100  int8le - ));
862 DESCR("less-than-or-equal");
863 DATA(insert OID = 472 (  int8ge                    PGUID 12 f t t t 2 f 16 "20 20" 100 0 0 100  int8ge - ));
864 DESCR("greater-than-or-equal");
865
866 DATA(insert OID = 474 (  int84eq                   PGUID 12 f t t t 2 f 16 "20 23" 100 0 0 100  int84eq - ));
867 DESCR("equal");
868 DATA(insert OID = 475 (  int84ne                   PGUID 12 f t t t 2 f 16 "20 23" 100 0 0 100  int84ne - ));
869 DESCR("not equal");
870 DATA(insert OID = 476 (  int84lt                   PGUID 12 f t t t 2 f 16 "20 23" 100 0 0 100  int84lt - ));
871 DESCR("less-than");
872 DATA(insert OID = 477 (  int84gt                   PGUID 12 f t t t 2 f 16 "20 23" 100 0 0 100  int84gt - ));
873 DESCR("greater-than");
874 DATA(insert OID = 478 (  int84le                   PGUID 12 f t t t 2 f 16 "20 23" 100 0 0 100  int84le - ));
875 DESCR("less-than-or-equal");
876 DATA(insert OID = 479 (  int84ge                   PGUID 12 f t t t 2 f 16 "20 23" 100 0 0 100  int84ge - ));
877 DESCR("greater-than-or-equal");
878
879 DATA(insert OID = 480 (  int4                      PGUID 12 f t t t 1 f  23 "20" 100 0 0 100  int84 - ));
880 DESCR("convert int8 to int4");
881 DATA(insert OID = 481 (  int8                      PGUID 12 f t t t 1 f  20 "23" 100 0 0 100  int48 - ));
882 DESCR("convert int4 to int8");
883 DATA(insert OID = 482 (  float8                    PGUID 12 f t t t 1 f 701 "20" 100 0 0 100  i8tod - ));
884 DESCR("convert int8 to float8");
885 DATA(insert OID = 483 (  int8                      PGUID 12 f t t t 1 f  20 "701" 100 0 0 100  dtoi8 - ));
886 DESCR("convert float8 to int8");
887
888 DATA(insert OID = 714 (  int2                      PGUID 12 f t t t 1 f  21 "20" 100 0 0 100  int82 - ));
889 DESCR("convert int8 to int2");
890 DATA(insert OID = 754 (  int8                      PGUID 12 f t t t 1 f  20 "21" 100 0 0 100  int28 - ));
891 DESCR("convert int2 to int8");
892
893 /* OIDS 500 - 599 */
894
895 /* OIDS 600 - 699 */
896
897 DATA(insert OID = 1285 (  int4notin                PGUID 12 f t f t 2 f 16 "23 25" 100 0 0 100  int4notin - ));
898 DESCR("not in");
899 DATA(insert OID = 1286 (  oidnotin                 PGUID 12 f t f t 2 f 16 "26 25" 100 0 0 100  oidnotin - ));
900 DESCR("not in");
901 DATA(insert OID = 1287 (  int44in                  PGUID 12 f t t t 1 f 22 "0" 100 0 0 100      int44in - ));
902 DESCR("(internal)");
903 DATA(insert OID = 653 (  int44out                  PGUID 12 f t t t 1 f 23 "0" 100 0 0 100      int44out - ));
904 DESCR("(internal)");
905 DATA(insert OID = 655 (  namelt                    PGUID 12 f t t t 2 f 16 "19 19" 100 0 0 100  namelt - ));
906 DESCR("less-than");
907 DATA(insert OID = 656 (  namele                    PGUID 12 f t t t 2 f 16 "19 19" 100 0 0 100  namele - ));
908 DESCR("less-than-or-equal");
909 DATA(insert OID = 657 (  namegt                    PGUID 12 f t t t 2 f 16 "19 19" 100 0 0 100  namegt - ));
910 DESCR("greater-than");
911 DATA(insert OID = 658 (  namege                    PGUID 12 f t t t 2 f 16 "19 19" 100 0 0 100  namege - ));
912 DESCR("greater-than-or-equal");
913 DATA(insert OID = 659 (  namene                    PGUID 12 f t t t 2 f 16 "19 19" 100 0 0 100  namene - ));
914 DESCR("not equal");
915
916 DATA(insert OID = 668 (  bpchar                    PGUID 12 f t t t 2 f 1042 "1042 23" 100 0 0 100      bpchar - ));
917 DESCR("adjust char() to typmod length");
918 DATA(insert OID = 669 (  varchar                   PGUID 12 f t t t 2 f 1043 "1043 23" 100 0 0 100      varchar - ));
919 DESCR("adjust varchar() to typmod length");
920
921 DATA(insert OID = 676 (  mktinterval       PGUID 12 f t t t 2 f 704 "702 702" 100 0 0 100 mktinterval - ));
922 DESCR("convert to tinterval");
923 DATA(insert OID = 619 (  oidvectorne       PGUID 12 f t t t 2 f 16 "30 30" 100 0 0 100  oidvectorne - ));
924 DESCR("not equal");
925 DATA(insert OID = 677 (  oidvectorlt       PGUID 12 f t t t 2 f 16 "30 30" 100 0 0 100  oidvectorlt - ));
926 DESCR("less-than");
927 DATA(insert OID = 678 (  oidvectorle       PGUID 12 f t t t 2 f 16 "30 30" 100 0 0 100  oidvectorle - ));
928 DESCR("less-than-or-equal");
929 DATA(insert OID = 679 (  oidvectoreq       PGUID 12 f t t t 2 f 16 "30 30" 100 0 0 100  oidvectoreq - ));
930 DESCR("equal");
931 DATA(insert OID = 680 (  oidvectorge       PGUID 12 f t t t 2 f 16 "30 30" 100 0 0 100  oidvectorge - ));
932 DESCR("greater-than-or-equal");
933 DATA(insert OID = 681 (  oidvectorgt       PGUID 12 f t t t 2 f 16 "30 30" 100 0 0 100  oidvectorgt - ));
934 DESCR("greater-than");
935
936 /* OIDS 700 - 799 */
937 DATA(insert OID = 710 (  getpgusername     PGUID 12 f t f t 0 f 19 "0" 100 0 0 100      current_user - ));
938 DESCR("deprecated -- use current_user");
939 DATA(insert OID = 711 (  userfntest                PGUID 12 f t t t 1 f 23 "23" 100 0 0 100  userfntest - ));
940 DESCR("");
941 DATA(insert OID = 713 (  oidrand                   PGUID 12 f t f t 2 f 16 "26 23" 100 0 0 100  oidrand - ));
942 DESCR("random");
943 DATA(insert OID = 715 (  oidsrand                  PGUID 12 f t f t 1 f 16 "23" 100 0 0 100  oidsrand - ));
944 DESCR("seed random number generator");
945 DATA(insert OID = 716 (  oidlt                     PGUID 12 f t t t 2 f 16 "26 26" 100 0 0 100  oidlt - ));
946 DESCR("less-than");
947 DATA(insert OID = 717 (  oidle                     PGUID 12 f t t t 2 f 16 "26 26" 100 0 0 100  oidle - ));
948 DESCR("less-than-or-equal");
949
950 DATA(insert OID = 720 (  octet_length      PGUID 12 f t t t 1 f 23 "17" 100 0 0 100  byteaoctetlen - ));
951 DESCR("octet length");
952 DATA(insert OID = 721 (  get_byte                  PGUID 12 f t t t 2 f 23 "17 23" 100 0 0 100  byteaGetByte - ));
953 DESCR("");
954 DATA(insert OID = 722 (  set_byte                  PGUID 12 f t t t 3 f 17 "17 23 23" 100 0 0 100  byteaSetByte - ));
955 DESCR("");
956 DATA(insert OID = 723 (  get_bit                   PGUID 12 f t t t 2 f 23 "17 23" 100 0 0 100  byteaGetBit - ));
957 DESCR("");
958 DATA(insert OID = 724 (  set_bit                   PGUID 12 f t t t 3 f 17 "17 23 23" 100 0 0 100  byteaSetBit - ));
959 DESCR("");
960
961 DATA(insert OID = 725 (  dist_pl                   PGUID 12 f t t t 2 f 701 "600 628" 100 0 0 100  dist_pl - ));
962 DESCR("distance between point and line");
963 DATA(insert OID = 726 (  dist_lb                   PGUID 12 f t t t 2 f 701 "628 603" 100 0 0 100  dist_lb - ));
964 DESCR("distance between line and box");
965 DATA(insert OID = 727 (  dist_sl                   PGUID 12 f t t t 2 f 701 "601 628" 100 0 0 100  dist_sl - ));
966 DESCR("distance between lseg and line");
967 DATA(insert OID = 728 (  dist_cpoly                PGUID 12 f t t t 2 f 701 "718 604" 100 0 0 100  dist_cpoly - ));
968 DESCR("distance between");
969 DATA(insert OID = 729 (  poly_distance     PGUID 12 f t t t 2 f 701 "604 604" 100 0 0 100  poly_distance - ));
970 DESCR("distance between");
971
972 DATA(insert OID = 740 (  text_lt                   PGUID 12 f t t t 2 f 16 "25 25" 100 0 0 100  text_lt - ));
973 DESCR("less-than");
974 DATA(insert OID = 741 (  text_le                   PGUID 12 f t t t 2 f 16 "25 25" 100 0 0 100  text_le - ));
975 DESCR("less-than-or-equal");
976 DATA(insert OID = 742 (  text_gt                   PGUID 12 f t t t 2 f 16 "25 25" 100 0 0 100  text_gt - ));
977 DESCR("greater-than");
978 DATA(insert OID = 743 (  text_ge                   PGUID 12 f t t t 2 f 16 "25 25" 100 0 0 100  text_ge - ));
979 DESCR("greater-than-or-equal");
980
981 DATA(insert OID = 744 (  array_eq                  PGUID 12 f t t t 2 f 16 "0 0" 100 0 0 100 array_eq -));
982 DESCR("array equal");
983
984 DATA(insert OID = 745 (  current_user      PGUID 12 f t f t 0 f 19 "0" 100 0 0 100      current_user - ));
985 DESCR("current user name");
986 DATA(insert OID = 746 (  session_user      PGUID 12 f t f t 0 f 19 "0" 100 0 0 100      session_user - ));
987 DESCR("session user name");
988
989 DATA(insert OID = 747 (  array_dims                PGUID 12 f t t t 1 f 25 "0" 100 0 0 100 array_dims -));
990 DESCR("array dimensions");
991 DATA(insert OID = 750 (  array_in                  PGUID 12 f t t t 3 f 23 "0 26 23" 100 0 0 100  array_in - ));
992 DESCR("array");
993 DATA(insert OID = 751 (  array_out                 PGUID 12 f t t t 2 f 23 "0 26" 100 0 0 100  array_out - ));
994 DESCR("array");
995
996 DATA(insert OID = 760 (  smgrin                    PGUID 12 f t f t 1 f 210 "0" 100 0 0 100  smgrin - ));
997 DESCR("storage manager(internal)");
998 DATA(insert OID = 761 (  smgrout                   PGUID 12 f t f t 1 f 23      "0" 100 0 0 100  smgrout - ));
999 DESCR("storage manager(internal)");
1000 DATA(insert OID = 762 (  smgreq                    PGUID 12 f t t t 2 f 16 "210 210" 100 0 0 100  smgreq - ));
1001 DESCR("storage manager");
1002 DATA(insert OID = 763 (  smgrne                    PGUID 12 f t t t 2 f 16 "210 210" 100 0 0 100  smgrne - ));
1003 DESCR("storage manager");
1004
1005 DATA(insert OID = 764 (  lo_import                 PGUID 12 f t f t 1 f 26 "25" 100 0 0 100  lo_import - ));
1006 DESCR("large object import");
1007 DATA(insert OID = 765 (  lo_export                 PGUID 12 f t f t 2 f 23 "26 25" 100 0 0 100  lo_export - ));
1008 DESCR("large object export");
1009
1010 DATA(insert OID = 766 (  int4inc                   PGUID 12 f t t t 1 f 23 "23" 100 0 0 100  int4inc - ));
1011 DESCR("increment");
1012 DATA(insert OID = 768 (  int4larger                PGUID 12 f t t t 2 f 23 "23 23" 100 0 0 100  int4larger - ));
1013 DESCR("larger of two");
1014 DATA(insert OID = 769 (  int4smaller       PGUID 12 f t t t 2 f 23 "23 23" 100 0 0 100  int4smaller - ));
1015 DESCR("smaller of two");
1016 DATA(insert OID = 770 (  int2larger                PGUID 12 f t t t 2 f 21 "21 21" 100 0 0 100  int2larger - ));
1017 DESCR("larger of two");
1018 DATA(insert OID = 771 (  int2smaller       PGUID 12 f t t t 2 f 21 "21 21" 100 0 0 100  int2smaller - ));
1019 DESCR("smaller of two");
1020
1021 DATA(insert OID = 774 (  gistgettuple      PGUID 12 f t f t 2 f 23 "0 0" 100 0 0 100  gistgettuple - ));
1022 DESCR("gist(internal)");
1023 DATA(insert OID = 775 (  gistinsert                PGUID 12 f t f t 5 f 23 "0 0 0 0 0" 100 0 0 100      gistinsert - ));
1024 DESCR("gist(internal)");
1025 DATA(insert OID = 777 (  gistbeginscan     PGUID 12 f t f t 4 f 23 "0 0 0 0" 100 0 0 100  gistbeginscan - ));
1026 DESCR("gist(internal)");
1027 DATA(insert OID = 778 (  gistrescan                PGUID 12 f t f t 3 f 23 "0 0 0" 100 0 0 100  gistrescan - ));
1028 DESCR("gist(internal)");
1029 DATA(insert OID = 779 (  gistendscan       PGUID 12 f t f t 1 f 23 "0" 100 0 0 100      gistendscan - ));
1030 DESCR("gist(internal)");
1031 DATA(insert OID = 780 (  gistmarkpos       PGUID 12 f t f t 1 f 23 "0" 100 0 0 100      gistmarkpos - ));
1032 DESCR("gist(internal)");
1033 DATA(insert OID = 781 (  gistrestrpos      PGUID 12 f t f t 1 f 23 "0" 100 0 0 100      gistrestrpos - ));
1034 DESCR("gist(internal)");
1035 DATA(insert OID = 782 (  gistbuild                 PGUID 12 f t f t 3 f 23 "0 0 0" 100 0 0 100  gistbuild - ));
1036 DESCR("gist(internal)");
1037 DATA(insert OID = 776 (  gistbulkdelete    PGUID 12 f t f t 3 f 23 "0 0 0" 100 0 0 100  gistbulkdelete - ));
1038 DESCR("gist(internal)");
1039 DATA(insert OID = 772 (  gistcostestimate  PGUID 12 f t f t 8 f 0 "0 0 0 0 0 0 0 0" 100 0 0 100  gistcostestimate - ));
1040 DESCR("gist(internal)");
1041
1042 DATA(insert OID = 784 (  tintervaleq       PGUID 12 f t t t 2 f 16 "704 704" 100 0 0 100  tintervaleq - ));
1043 DESCR("equal");
1044 DATA(insert OID = 785 (  tintervalne       PGUID 12 f t t t 2 f 16 "704 704" 100 0 0 100  tintervalne - ));
1045 DESCR("not equal");
1046 DATA(insert OID = 786 (  tintervallt       PGUID 12 f t t t 2 f 16 "704 704" 100 0 0 100  tintervallt - ));
1047 DESCR("less-than");
1048 DATA(insert OID = 787 (  tintervalgt       PGUID 12 f t t t 2 f 16 "704 704" 100 0 0 100  tintervalgt - ));
1049 DESCR("greater-than");
1050 DATA(insert OID = 788 (  tintervalle       PGUID 12 f t t t 2 f 16 "704 704" 100 0 0 100  tintervalle - ));
1051 DESCR("less-than-or-equal");
1052 DATA(insert OID = 789 (  tintervalge       PGUID 12 f t t t 2 f 16 "704 704" 100 0 0 100  tintervalge - ));
1053 DESCR("greater-than-or-equal");
1054
1055 /* OIDS 800 - 899 */
1056
1057 DATA(insert OID = 817 (  oid                       PGUID 12 f t t t 1 f 26 "25" 100 0 0 100  text_oid -));
1058 DESCR("convert text to oid");
1059 DATA(insert OID = 818 (  int2                      PGUID 12 f t t t 1 f 21 "25" 100 0 0 100  text_int2 -));
1060 DESCR("convert text to int2");
1061 DATA(insert OID = 819 (  int4                      PGUID 12 f t t t 1 f 23 "25" 100 0 0 100  text_int4 -));
1062 DESCR("convert text to int4");
1063
1064 DATA(insert OID = 838 (  float8                    PGUID 12 f t t t 1 f 701 "25" 100 0 0 100  text_float8 -));
1065 DESCR("convert text to float8");
1066 DATA(insert OID = 839 (  float4                    PGUID 12 f t t t 1 f 700 "25" 100 0 0 100  text_float4 -));
1067 DESCR("convert text to float4");
1068 DATA(insert OID = 840 (  text                      PGUID 12 f t t t 1 f  25 "701" 100 0 0 100  float8_text -));
1069 DESCR("convert float8 to text");
1070 DATA(insert OID = 841 (  text                      PGUID 12 f t t t 1 f  25 "700" 100 0 0 100  float4_text -));
1071 DESCR("convert float4 to text");
1072
1073 DATA(insert OID =  846 (  cash_mul_flt4    PGUID 12 f t t t 2 f 790 "790 700" 100 0 0 100  cash_mul_flt4 - ));
1074 DESCR("multiply");
1075 DATA(insert OID =  847 (  cash_div_flt4    PGUID 12 f t t t 2 f 790 "790 700" 100 0 0 100  cash_div_flt4 - ));
1076 DESCR("divide");
1077 DATA(insert OID =  848 (  flt4_mul_cash    PGUID 12 f t t t 2 f 790 "700 790" 100 0 0 100  flt4_mul_cash - ));
1078 DESCR("multiply");
1079
1080 DATA(insert OID =  849 (  position                 PGUID 12 f t t t 2 f 23 "25 25" 100 0 0 100 textpos - ));
1081 DESCR("return position of substring");
1082 DATA(insert OID =  850 (  textlike                 PGUID 12 f t t t 2 f 16 "25 25" 100 0 0 100 textlike - ));
1083 DESCR("matches LIKE expression");
1084 DATA(insert OID =  851 (  textnlike                PGUID 12 f t t t 2 f 16 "25 25" 100 0 0 100 textnlike - ));
1085 DESCR("does not match LIKE expression");
1086
1087 DATA(insert OID =  852 (  int48eq                  PGUID 12 f t t t 2 f 16 "23 20" 100 0 0 100  int48eq - ));
1088 DESCR("equal");
1089 DATA(insert OID =  853 (  int48ne                  PGUID 12 f t t t 2 f 16 "23 20" 100 0 0 100  int48ne - ));
1090 DESCR("not equal");
1091 DATA(insert OID =  854 (  int48lt                  PGUID 12 f t t t 2 f 16 "23 20" 100 0 0 100  int48lt - ));
1092 DESCR("less-than");
1093 DATA(insert OID =  855 (  int48gt                  PGUID 12 f t t t 2 f 16 "23 20" 100 0 0 100  int48gt - ));
1094 DESCR("greater-than");
1095 DATA(insert OID =  856 (  int48le                  PGUID 12 f t t t 2 f 16 "23 20" 100 0 0 100  int48le - ));
1096 DESCR("less-than-or-equal");
1097 DATA(insert OID =  857 (  int48ge                  PGUID 12 f t t t 2 f 16 "23 20" 100 0 0 100  int48ge - ));
1098 DESCR("greater-than-or-equal");
1099
1100 DATA(insert OID =  858 (  namelike                 PGUID 12 f t t t 2 f 16 "19 25" 100 0 0 100  namelike - ));
1101 DESCR("matches LIKE expression");
1102 DATA(insert OID =  859 (  namenlike                PGUID 12 f t t t 2 f 16 "19 25" 100 0 0 100  namenlike - ));
1103 DESCR("does not match LIKE expression");
1104
1105 DATA(insert OID =  860 (  bpchar                   PGUID 12 f t t t 1 f 1042 "18" 100 0 0 100  char_bpchar - ));
1106 DESCR("convert char to char()");
1107 DATA(insert OID =  861 (  char                     PGUID 12 f t t t 1 f 18 "1042" 100 0 0 100  bpchar_char - ));
1108 DESCR("convert char() to char");
1109
1110 DATA(insert OID =  862 (  int4_mul_cash            PGUID 12 f t t t 2 f 790 "23 790" 100 0 0 100  int4_mul_cash - ));
1111 DESCR("multiply");
1112 DATA(insert OID =  863 (  int2_mul_cash            PGUID 12 f t t t 2 f 790 "21 790" 100 0 0 100  int2_mul_cash - ));
1113 DESCR("multiply");
1114 DATA(insert OID =  864 (  cash_mul_int4            PGUID 12 f t t t 2 f 790 "790 23" 100 0 0 100  cash_mul_int4 - ));
1115 DESCR("multiply");
1116 DATA(insert OID =  865 (  cash_div_int4            PGUID 12 f t t t 2 f 790 "790 23" 100 0 0 100  cash_div_int4 - ));
1117 DESCR("divide");
1118 DATA(insert OID =  866 (  cash_mul_int2            PGUID 12 f t t t 2 f 790 "790 21" 100 0 0 100  cash_mul_int2 - ));
1119 DESCR("multiply");
1120 DATA(insert OID =  867 (  cash_div_int2            PGUID 12 f t t t 2 f 790 "790 21" 100 0 0 100  cash_div_int2 - ));
1121 DESCR("divide");
1122
1123 DATA(insert OID =  886 (  cash_in                  PGUID 12 f t t t 1 f 790 "0" 100 0 0 100  cash_in - ));
1124 DESCR("(internal)");
1125 DATA(insert OID =  887 (  cash_out                 PGUID 12 f t t t 1 f  23 "0" 100 0 0 100  cash_out - ));
1126 DESCR("(internal)");
1127 DATA(insert OID =  888 (  cash_eq                  PGUID 12 f t t t 2 f  16 "790 790" 100 0 0 100  cash_eq - ));
1128 DESCR("equal");
1129 DATA(insert OID =  889 (  cash_ne                  PGUID 12 f t t t 2 f  16 "790 790" 100 0 0 100  cash_ne - ));
1130 DESCR("not equal");
1131 DATA(insert OID =  890 (  cash_lt                  PGUID 12 f t t t 2 f  16 "790 790" 100 0 0 100  cash_lt - ));
1132 DESCR("less-than");
1133 DATA(insert OID =  891 (  cash_le                  PGUID 12 f t t t 2 f  16 "790 790" 100 0 0 100  cash_le - ));
1134 DESCR("less-than-or-equal");
1135 DATA(insert OID =  892 (  cash_gt                  PGUID 12 f t t t 2 f  16 "790 790" 100 0 0 100  cash_gt - ));
1136 DESCR("greater-than");
1137 DATA(insert OID =  893 (  cash_ge                  PGUID 12 f t t t 2 f  16 "790 790" 100 0 0 100  cash_ge - ));
1138 DESCR("greater-than-or-equal");
1139 DATA(insert OID =  894 (  cash_pl                  PGUID 12 f t t t 2 f 790 "790 790" 100 0 0 100  cash_pl - ));
1140 DESCR("add");
1141 DATA(insert OID =  895 (  cash_mi                  PGUID 12 f t t t 2 f 790 "790 790" 100 0 0 100  cash_mi - ));
1142 DESCR("subtract");
1143 DATA(insert OID =  896 (  cash_mul_flt8    PGUID 12 f t t t 2 f 790 "790 701" 100 0 0 100  cash_mul_flt8 - ));
1144 DESCR("multiply");
1145 DATA(insert OID =  897 (  cash_div_flt8    PGUID 12 f t t t 2 f 790 "790 701" 100 0 0 100  cash_div_flt8 - ));
1146 DESCR("divide");
1147 DATA(insert OID =  898 (  cashlarger       PGUID 12 f t t t 2 f 790 "790 790" 100 0 0 100  cashlarger - ));
1148 DESCR("larger of two");
1149 DATA(insert OID =  899 (  cashsmaller      PGUID 12 f t t t 2 f 790 "790 790" 100 0 0 100  cashsmaller - ));
1150 DESCR("smaller of two");
1151 DATA(insert OID =  919 (  flt8_mul_cash    PGUID 12 f t t t 2 f 790 "701 790" 100 0 0 100  flt8_mul_cash - ));
1152 DESCR("multiply");
1153 DATA(insert OID =  935 (  cash_words       PGUID 12 f t t t 1 f  25 "790" 100 0 0 100  cash_words - ));
1154 DESCR("output amount as words");
1155
1156 /* OIDS 900 - 999 */
1157
1158 DATA(insert OID = 940 (  mod                       PGUID 12 f t t t 2 f 21 "21 21" 100 0 0 100  int2mod - ));
1159 DESCR("modulus");
1160 DATA(insert OID = 941 (  mod                       PGUID 12 f t t t 2 f 23 "23 23" 100 0 0 100  int4mod - ));
1161 DESCR("modulus");
1162 DATA(insert OID = 942 (  mod                       PGUID 12 f t t t 2 f 23 "21 23" 100 0 0 100  int24mod - ));
1163 DESCR("modulus");
1164 DATA(insert OID = 943 (  mod                       PGUID 12 f t t t 2 f 23 "23 21" 100 0 0 100  int42mod - ));
1165 DESCR("modulus");
1166
1167 DATA(insert OID = 945 (  int8mod                   PGUID 12 f t t t 2 f 20 "20 20" 100 0 0 100  int8mod - ));
1168 DESCR("modulus");
1169 DATA(insert OID = 947 (  mod                       PGUID 12 f t t t 2 f 20 "20 20" 100 0 0 100  int8mod - ));
1170 DESCR("modulus");
1171
1172 DATA(insert OID = 944 (  char                      PGUID 12 f t t t 1 f 18 "25" 100 0 0 100  text_char - ));
1173 DESCR("convert text to char");
1174 DATA(insert OID = 946 (  text                      PGUID 12 f t t t 1 f 25 "18" 100 0 0 100  char_text - ));
1175 DESCR("convert char to text");
1176
1177 DATA(insert OID = 950 (  istrue                    PGUID 12 f t t f 1 f 16 "16" 100 0 0 100  istrue - ));
1178 DESCR("bool is true (not false or unknown)");
1179 DATA(insert OID = 951 (  isfalse                   PGUID 12 f t t f 1 f 16 "16" 100 0 0 100  isfalse - ));
1180 DESCR("bool is false (not true or unknown)");
1181
1182 DATA(insert OID = 952 (  lo_open                   PGUID 12 f t f t 2 f 23 "26 23" 100 0 0 100  lo_open - ));
1183 DESCR("large object open");
1184 DATA(insert OID = 953 (  lo_close                  PGUID 12 f t f t 1 f 23 "23" 100 0 0 100  lo_close - ));
1185 DESCR("large object close");
1186 DATA(insert OID = 954 (  loread                    PGUID 12 f t f t 2 f 17 "23 23" 100 0 0 100  loread - ));
1187 DESCR("large object read");
1188 DATA(insert OID = 955 (  lowrite                   PGUID 12 f t f t 2 f 23 "23 17" 100 0 0 100  lowrite - ));
1189 DESCR("large object write");
1190 DATA(insert OID = 956 (  lo_lseek                  PGUID 12 f t f t 3 f 23 "23 23 23" 100 0 0 100  lo_lseek - ));
1191 DESCR("large object seek");
1192 DATA(insert OID = 957 (  lo_creat                  PGUID 12 f t f t 1 f 26 "23" 100 0 0 100  lo_creat - ));
1193 DESCR("large object create");
1194 DATA(insert OID = 958 (  lo_tell                   PGUID 12 f t f t 1 f 23 "23" 100 0 0 100  lo_tell - ));
1195 DESCR("large object position");
1196
1197 DATA(insert OID = 959 (  on_pl                     PGUID 12 f t t t 2 f  16 "600 628" 100 0 0 100  on_pl - ));
1198 DESCR("point on line?");
1199 DATA(insert OID = 960 (  on_sl                     PGUID 12 f t t t 2 f  16 "601 628" 100 0 0 100  on_sl - ));
1200 DESCR("lseg on line?");
1201 DATA(insert OID = 961 (  close_pl                  PGUID 12 f t t t 2 f 600 "600 628" 100 0 0 100  close_pl - ));
1202 DESCR("closest point on line");
1203 DATA(insert OID = 962 (  close_sl                  PGUID 12 f t t t 2 f 600 "601 628" 100 0 0 100  close_sl - ));
1204 DESCR("closest point to line segment on line");
1205 DATA(insert OID = 963 (  close_lb                  PGUID 12 f t t t 2 f 600 "628 603" 100 0 0 100  close_lb - ));
1206 DESCR("closest point to line on box");
1207
1208 DATA(insert OID = 964 (  lo_unlink                 PGUID 12 f t f t 1 f  23 "26" 100 0 0 100  lo_unlink - ));
1209 DESCR("large object unlink(delete)");
1210 DATA(insert OID = 972 (  regproctooid      PGUID 12 f t t t 1 f  26 "24" 100 0 0 100  regproctooid - ));
1211 DESCR("get oid for regproc");
1212
1213 DATA(insert OID = 973 (  path_inter                PGUID 12 f t t t 2 f  16 "602 602" 100 0 0 100  path_inter - ));
1214 DESCR("paths intersect?");
1215 DATA(insert OID = 975 (  area                      PGUID 12 f t t t 1 f 701 "603" 100 0 0 100  box_area - ));
1216 DESCR("box area");
1217 DATA(insert OID = 976 (  width                     PGUID 12 f t t t 1 f 701 "603" 100 0 0 100  box_width - ));
1218 DESCR("box width");
1219 DATA(insert OID = 977 (  height                    PGUID 12 f t t t 1 f 701 "603" 100 0 0 100  box_height - ));
1220 DESCR("box height");
1221 DATA(insert OID = 978 (  box_distance      PGUID 12 f t t t 2 f 701 "603 603" 100 0 0 100  box_distance - ));
1222 DESCR("distance between boxes");
1223 DATA(insert OID = 980 (  box_intersect     PGUID 12 f t t t 2 f 603 "603 603" 100 0 0 100  box_intersect - ));
1224 DESCR("box intersection (another box)");
1225 DATA(insert OID = 981 (  diagonal                  PGUID 12 f t t t 1 f 601 "603" 100 0 0 100  box_diagonal - ));
1226 DESCR("box diagonal");
1227 DATA(insert OID = 982 (  path_n_lt                 PGUID 12 f t t t 2 f 16 "602 602" 100 0 0 100  path_n_lt - ));
1228 DESCR("less-than");
1229 DATA(insert OID = 983 (  path_n_gt                 PGUID 12 f t t t 2 f 16 "602 602" 100 0 0 100  path_n_gt - ));
1230 DESCR("greater-than");
1231 DATA(insert OID = 984 (  path_n_eq                 PGUID 12 f t t t 2 f 16 "602 602" 100 0 0 100  path_n_eq - ));
1232 DESCR("equal");
1233 DATA(insert OID = 985 (  path_n_le                 PGUID 12 f t t t 2 f 16 "602 602" 100 0 0 100  path_n_le - ));
1234 DESCR("less-than-or-equal");
1235 DATA(insert OID = 986 (  path_n_ge                 PGUID 12 f t t t 2 f 16 "602 602" 100 0 0 100  path_n_ge - ));
1236 DESCR("greater-than-or-equal");
1237 DATA(insert OID = 987 (  path_length       PGUID 12 f t t t 1 f 701 "602" 100 0 0 100  path_length - ));
1238 DESCR("sum of path segments");
1239 DATA(insert OID = 988 (  point_ne                  PGUID 12 f t t t 2 f 16 "600 600" 100 0 0 100  point_ne - ));
1240 DESCR("not equal");
1241 DATA(insert OID = 989 (  point_vert                PGUID 12 f t t t 2 f 16 "600 600" 100 0 0 100  point_vert - ));
1242 DESCR("vertically aligned?");
1243 DATA(insert OID = 990 (  point_horiz       PGUID 12 f t t t 2 f 16 "600 600" 100 0 0 100  point_horiz - ));
1244 DESCR("horizontally aligned?");
1245 DATA(insert OID = 991 (  point_distance    PGUID 12 f t t t 2 f 701 "600 600" 100 0 0 100  point_distance - ));
1246 DESCR("distance between");
1247 DATA(insert OID = 992 (  slope                     PGUID 12 f t t t 2 f 701 "600 600" 100 0 0 100  point_slope - ));
1248 DESCR("slope between points");
1249 DATA(insert OID = 993 (  lseg                      PGUID 12 f t t t 2 f 601 "600 600" 100 0 0 100  lseg_construct - ));
1250 DESCR("convert points to line segment");
1251 DATA(insert OID = 994 (  lseg_intersect    PGUID 12 f t t t 2 f 16 "601 601" 100 0 0 100  lseg_intersect - ));
1252 DESCR("intersect?");
1253 DATA(insert OID = 995 (  lseg_parallel     PGUID 12 f t t t 2 f 16 "601 601" 100 0 0 100  lseg_parallel - ));
1254 DESCR("parallel?");
1255 DATA(insert OID = 996 (  lseg_perp                 PGUID 12 f t t t 2 f 16 "601 601" 100 0 0 100  lseg_perp - ));
1256 DESCR("perpendicular?");
1257 DATA(insert OID = 997 (  lseg_vertical     PGUID 12 f t t t 1 f 16 "601" 100 0 0 100  lseg_vertical - ));
1258 DESCR("vertical?");
1259 DATA(insert OID = 998 (  lseg_horizontal   PGUID 12 f t t t 1 f 16 "601" 100 0 0 100  lseg_horizontal - ));
1260 DESCR("horizontal?");
1261 DATA(insert OID = 999 (  lseg_eq                   PGUID 12 f t t t 2 f 16 "601 601" 100 0 0 100  lseg_eq - ));
1262 DESCR("equal");
1263
1264 DATA(insert OID =  748 (  date                     PGUID 12 f t f t 1 f 1082 "25" 100 0 0 100 text_date - ));
1265 DESCR("convert text to date");
1266 DATA(insert OID =  749 (  text                     PGUID 12 f t f t 1 f 25 "1082" 100 0 0 100 date_text - ));
1267 DESCR("convert date to text");
1268 DATA(insert OID =  837 (  time                     PGUID 12 f t f t 1 f 1083 "25" 100 0 0 100 text_time - ));
1269 DESCR("convert text to time");
1270 DATA(insert OID =  948 (  text                     PGUID 12 f t t t 1 f 25 "1083" 100 0 0 100 time_text - ));
1271 DESCR("convert time to text");
1272 DATA(insert OID =  938 (  timetz                   PGUID 12 f t f t 1 f 1266 "25" 100 0 0 100 text_timetz - ));
1273 DESCR("convert text to timetz");
1274 DATA(insert OID =  939 (  text                     PGUID 12 f t t t 1 f 25 "1266" 100 0 0 100 timetz_text - ));
1275 DESCR("convert timetz to text");
1276
1277 /* OIDS 1000 - 1999 */
1278
1279 DATA(insert OID = 1026 (  timezone                 PGUID 12 f t f t 2 f 25 "1186 1184" 100 0 0 100      timestamptz_izone - ));
1280 DESCR("time zone");
1281
1282 DATA(insert OID = 1029 (  nullvalue                PGUID 12 f t t f 1 f 16 "0" 100 0 0 100      nullvalue - ));
1283 DESCR("(internal)");
1284 DATA(insert OID = 1030 (  nonnullvalue     PGUID 12 f t t f 1 f 16 "0" 100 0 0 100      nonnullvalue - ));
1285 DESCR("(internal)");
1286 DATA(insert OID = 1031 (  aclitemin                PGUID 12 f t f t 1 f 1033 "0" 100 0 0 100  aclitemin - ));
1287 DESCR("(internal)");
1288 DATA(insert OID = 1032 (  aclitemout       PGUID 12 f t f t 1 f 23 "1033" 100 0 0 100  aclitemout - ));
1289 DESCR("(internal)");
1290 DATA(insert OID = 1035 (  aclinsert                PGUID 12 f t f t 2 f 1034 "1034 1033" 100 0 0 100  aclinsert - ));
1291 DESCR("add/update ACL item");
1292 DATA(insert OID = 1036 (  aclremove                PGUID 12 f t f t 2 f 1034 "1034 1033" 100 0 0 100  aclremove - ));
1293 DESCR("remove ACL item");
1294 DATA(insert OID = 1037 (  aclcontains      PGUID 12 f t f t 2 f 16 "1034 1033" 100 0 0 100      aclcontains - ));
1295 DESCR("does ACL contain item?");
1296 DATA(insert OID = 1038 (  seteval                  PGUID 12 f t f t 1 t 23 "26" 100 0 0 100  seteval - ));
1297 DESCR("internal function supporting PostQuel-style sets");
1298 DATA(insert OID = 1044 (  bpcharin                 PGUID 12 f t t t 3 f 1042 "0 26 23" 100 0 0 100 bpcharin - ));
1299 DESCR("(internal)");
1300 DATA(insert OID = 1045 (  bpcharout                PGUID 12 f t t t 1 f 23 "0" 100 0 0 100      bpcharout - ));
1301 DESCR("(internal)");
1302 DATA(insert OID = 1046 (  varcharin                PGUID 12 f t t t 3 f 1043 "0 26 23" 100 0 0 100 varcharin - ));
1303 DESCR("(internal)");
1304 DATA(insert OID = 1047 (  varcharout       PGUID 12 f t t t 1 f 23 "0" 100 0 0 100      varcharout - ));
1305 DESCR("(internal)");
1306 DATA(insert OID = 1048 (  bpchareq                 PGUID 12 f t t t 2 f 16 "1042 1042" 100 0 0 100      bpchareq - ));
1307 DESCR("equal");
1308 DATA(insert OID = 1049 (  bpcharlt                 PGUID 12 f t t t 2 f 16 "1042 1042" 100 0 0 100      bpcharlt - ));
1309 DESCR("less-than");
1310 DATA(insert OID = 1050 (  bpcharle                 PGUID 12 f t t t 2 f 16 "1042 1042" 100 0 0 100      bpcharle - ));
1311 DESCR("less-than-or-equal");
1312 DATA(insert OID = 1051 (  bpchargt                 PGUID 12 f t t t 2 f 16 "1042 1042" 100 0 0 100      bpchargt - ));
1313 DESCR("greater-than");
1314 DATA(insert OID = 1052 (  bpcharge                 PGUID 12 f t t t 2 f 16 "1042 1042" 100 0 0 100      bpcharge - ));
1315 DESCR("greater-than-or-equal");
1316 DATA(insert OID = 1053 (  bpcharne                 PGUID 12 f t t t 2 f 16 "1042 1042" 100 0 0 100      bpcharne - ));
1317 DESCR("not equal");
1318 DATA(insert OID = 1070 (  varchareq                PGUID 12 f t t t 2 f 16 "1043 1043" 100 0 0 100      varchareq - ));
1319 DESCR("equal");
1320 DATA(insert OID = 1071 (  varcharlt                PGUID 12 f t t t 2 f 16 "1043 1043" 100 0 0 100      varcharlt - ));
1321 DESCR("less-than");
1322 DATA(insert OID = 1072 (  varcharle                PGUID 12 f t t t 2 f 16 "1043 1043" 100 0 0 100      varcharle - ));
1323 DESCR("less-than-or-equal");
1324 DATA(insert OID = 1073 (  varchargt                PGUID 12 f t t t 2 f 16 "1043 1043" 100 0 0 100      varchargt - ));
1325 DESCR("greater-than");
1326 DATA(insert OID = 1074 (  varcharge                PGUID 12 f t t t 2 f 16 "1043 1043" 100 0 0 100      varcharge - ));
1327 DESCR("greater-than-or-equal");
1328 DATA(insert OID = 1075 (  varcharne                PGUID 12 f t t t 2 f 16 "1043 1043" 100 0 0 100      varcharne - ));
1329 DESCR("not equal");
1330 DATA(insert OID = 1078 (  bpcharcmp                PGUID 12 f t t t 2 f 23 "1042 1042" 100 0 0 100      bpcharcmp - ));
1331 DESCR("less-equal-greater");
1332 DATA(insert OID = 1079 (  varcharcmp       PGUID 12 f t t t 2 f 23 "1043 1043" 100 0 0 100      varcharcmp - ));
1333 DESCR("less-equal-greater");
1334 DATA(insert OID = 1080 (  hashbpchar       PGUID 12 f t t t 1 f 23 "1042" 100 0 0 100  hashbpchar - ));
1335 DESCR("hash");
1336 DATA(insert OID = 1081 (  format_type      PGUID 12 f t t f 2 f 25 "26 23" 100 0 0 100 format_type - ));
1337 DESCR("format a type oid and atttypmod to canonical SQL");
1338 DATA(insert OID = 1084 (  date_in                  PGUID 12 f t f t 1 f 1082 "0" 100 0 0 100  date_in - ));
1339 DESCR("(internal)");
1340 DATA(insert OID = 1085 (  date_out                 PGUID 12 f t f t 1 f 23 "0" 100 0 0 100      date_out - ));
1341 DESCR("(internal)");
1342 DATA(insert OID = 1086 (  date_eq                  PGUID 12 f t t t 2 f 16 "1082 1082" 100 0 0 100      date_eq - ));
1343 DESCR("equal");
1344 DATA(insert OID = 1087 (  date_lt                  PGUID 12 f t t t 2 f 16 "1082 1082" 100 0 0 100      date_lt - ));
1345 DESCR("less-than");
1346 DATA(insert OID = 1088 (  date_le                  PGUID 12 f t t t 2 f 16 "1082 1082" 100 0 0 100      date_le - ));
1347 DESCR("less-than-or-equal");
1348 DATA(insert OID = 1089 (  date_gt                  PGUID 12 f t t t 2 f 16 "1082 1082" 100 0 0 100      date_gt - ));
1349 DESCR("greater-than");
1350 DATA(insert OID = 1090 (  date_ge                  PGUID 12 f t t t 2 f 16 "1082 1082" 100 0 0 100      date_ge - ));
1351 DESCR("greater-than-or-equal");
1352 DATA(insert OID = 1091 (  date_ne                  PGUID 12 f t t t 2 f 16 "1082 1082" 100 0 0 100      date_ne - ));
1353 DESCR("not equal");
1354 DATA(insert OID = 1092 (  date_cmp                 PGUID 12 f t t t 2 f 23 "1082 1082" 100 0 0 100      date_cmp - ));
1355 DESCR("less-equal-greater");
1356
1357 /* OIDS 1100 - 1199 */
1358
1359 DATA(insert OID = 1102 (  time_lt                  PGUID 12 f t t t 2 f 16 "1083 1083" 100 0 0 100      time_lt - ));
1360 DESCR("less-than");
1361 DATA(insert OID = 1103 (  time_le                  PGUID 12 f t t t 2 f 16 "1083 1083" 100 0 0 100      time_le - ));
1362 DESCR("less-than-or-equal");
1363 DATA(insert OID = 1104 (  time_gt                  PGUID 12 f t t t 2 f 16 "1083 1083" 100 0 0 100      time_gt - ));
1364 DESCR("greater-than");
1365 DATA(insert OID = 1105 (  time_ge                  PGUID 12 f t t t 2 f 16 "1083 1083" 100 0 0 100      time_ge - ));
1366 DESCR("greater-than-or-equal");
1367 DATA(insert OID = 1106 (  time_ne                  PGUID 12 f t t t 2 f 16 "1083 1083" 100 0 0 100      time_ne - ));
1368 DESCR("not equal");
1369 DATA(insert OID = 1107 (  time_cmp                 PGUID 12 f t t t 2 f 23 "1083 1083" 100 0 0 100      time_cmp - ));
1370 DESCR("less-equal-greater");
1371 DATA(insert OID = 1138 (  date_larger      PGUID 12 f t t t 2 f 1082 "1082 1082" 100 0 0 100  date_larger - ));
1372 DESCR("larger of two");
1373 DATA(insert OID = 1139 (  date_smaller     PGUID 12 f t t t 2 f 1082 "1082 1082" 100 0 0 100  date_smaller - ));
1374 DESCR("smaller of two");
1375 DATA(insert OID = 1140 (  date_mi                  PGUID 12 f t t t 2 f 23 "1082 1082" 100 0 0 100      date_mi - ));
1376 DESCR("subtract");
1377 DATA(insert OID = 1141 (  date_pli                 PGUID 12 f t t t 2 f 1082 "1082 23" 100 0 0 100      date_pli - ));
1378 DESCR("add");
1379 DATA(insert OID = 1142 (  date_mii                 PGUID 12 f t t t 2 f 1082 "1082 23" 100 0 0 100      date_mii - ));
1380 DESCR("subtract");
1381 DATA(insert OID = 1143 (  time_in                  PGUID 12 f t f t 1 f 1083 "0" 100 0 0 100  time_in - ));
1382 DESCR("(internal)");
1383 DATA(insert OID = 1144 (  time_out                 PGUID 12 f t t t 1 f 23 "0" 100 0 0 100      time_out - ));
1384 DESCR("(internal)");
1385 DATA(insert OID = 1145 (  time_eq                  PGUID 12 f t t t 2 f 16 "1083 1083" 100 0 0 100      time_eq - ));
1386 DESCR("equal");
1387
1388 DATA(insert OID = 1146 (  circle_add_pt    PGUID 12 f t t t 2 f 718 "718 600" 100 0 0 100  circle_add_pt - ));
1389 DESCR("add");
1390 DATA(insert OID = 1147 (  circle_sub_pt    PGUID 12 f t t t 2 f 718 "718 600" 100 0 0 100  circle_sub_pt - ));
1391 DESCR("subtract");
1392 DATA(insert OID = 1148 (  circle_mul_pt    PGUID 12 f t t t 2 f 718 "718 600" 100 0 0 100  circle_mul_pt - ));
1393 DESCR("multiply");
1394 DATA(insert OID = 1149 (  circle_div_pt    PGUID 12 f t t t 2 f 718 "718 600" 100 0 0 100  circle_div_pt - ));
1395 DESCR("divide");
1396
1397 DATA(insert OID = 1150 (  timestamptz_in   PGUID 12 f t f t 1 f 1184 "0" 100 0 0 100  timestamptz_in - ));
1398 DESCR("(internal)");
1399 DATA(insert OID = 1151 (  timestamptz_out  PGUID 12 f t f t 1 f 23 "0" 100 0 0 100      timestamptz_out - ));
1400 DESCR("(internal)");
1401 DATA(insert OID = 1152 (  timestamptz_eq   PGUID 12 f t t t 2 f 16 "1184 1184" 100 0 0 100      timestamp_eq - ));
1402 DESCR("equal");
1403 DATA(insert OID = 1153 (  timestamptz_ne   PGUID 12 f t t t 2 f 16 "1184 1184" 100 0 0 100      timestamp_ne - ));
1404 DESCR("not equal");
1405 DATA(insert OID = 1154 (  timestamptz_lt   PGUID 12 f t t t 2 f 16 "1184 1184" 100 0 0 100      timestamp_lt - ));
1406 DESCR("less-than");
1407 DATA(insert OID = 1155 (  timestamptz_le   PGUID 12 f t t t 2 f 16 "1184 1184" 100 0 0 100      timestamp_le - ));
1408 DESCR("less-than-or-equal");
1409 DATA(insert OID = 1156 (  timestamptz_ge   PGUID 12 f t t t 2 f 16 "1184 1184" 100 0 0 100      timestamp_ge - ));
1410 DESCR("greater-than-or-equal");
1411 DATA(insert OID = 1157 (  timestamptz_gt   PGUID 12 f t t t 2 f 16 "1184 1184" 100 0 0 100      timestamp_gt - ));
1412 DESCR("greater-than");
1413 DATA(insert OID = 1159 (  timezone                 PGUID 12 f t f t 2 f 25 "25 1184" 100 0 0 100  timestamptz_zone - ));
1414 DESCR("time zone");
1415
1416 DATA(insert OID = 1160 (  interval_in      PGUID 12 f t f t 1 f 1186 "0" 100 0 0 100  interval_in - ));
1417 DESCR("(internal)");
1418 DATA(insert OID = 1161 (  interval_out     PGUID 12 f t t t 1 f 23 "0" 100 0 0 100      interval_out - ));
1419 DESCR("(internal)");
1420 DATA(insert OID = 1162 (  interval_eq      PGUID 12 f t t t 2 f 16 "1186 1186" 100 0 0 100      interval_eq - ));
1421 DESCR("equal");
1422 DATA(insert OID = 1163 (  interval_ne      PGUID 12 f t t t 2 f 16 "1186 1186" 100 0 0 100      interval_ne - ));
1423 DESCR("not equal");
1424 DATA(insert OID = 1164 (  interval_lt      PGUID 12 f t t t 2 f 16 "1186 1186" 100 0 0 100      interval_lt - ));
1425 DESCR("less-than");
1426 DATA(insert OID = 1165 (  interval_le      PGUID 12 f t t t 2 f 16 "1186 1186" 100 0 0 100      interval_le - ));
1427 DESCR("less-than-or-equal");
1428 DATA(insert OID = 1166 (  interval_ge      PGUID 12 f t t t 2 f 16 "1186 1186" 100 0 0 100      interval_ge - ));
1429 DESCR("greater-than-or-equal");
1430 DATA(insert OID = 1167 (  interval_gt      PGUID 12 f t t t 2 f 16 "1186 1186" 100 0 0 100      interval_gt - ));
1431 DESCR("greater-than");
1432 DATA(insert OID = 1168 (  interval_um      PGUID 12 f t t t 1 f 1186 "1186" 100 0 0 100  interval_um - ));
1433 DESCR("subtract");
1434 DATA(insert OID = 1169 (  interval_pl      PGUID 12 f t t t 2 f 1186 "1186 1186" 100 0 0 100  interval_pl - ));
1435 DESCR("add");
1436 DATA(insert OID = 1170 (  interval_mi      PGUID 12 f t t t 2 f 1186 "1186 1186" 100 0 0 100  interval_mi - ));
1437 DESCR("subtract");
1438 DATA(insert OID = 1171 (  date_part                PGUID 12 f t f t 2 f  701 "25 1184" 100 0 0 100      timestamptz_part - ));
1439 DESCR("extract field from timestamp with time zone");
1440 DATA(insert OID = 1172 (  date_part                PGUID 12 f t t t 2 f  701 "25 1186" 100 0 0 100      interval_part - ));
1441 DESCR("extract field from interval");
1442 DATA(insert OID = 1173 (  timestamptz      PGUID 12 f t f t 1 f 1184 "702" 100 0 0 100  abstime_timestamptz - ));
1443 DESCR("convert abstime to timestamp with time zone");
1444 DATA(insert OID = 1174 (  timestamptz      PGUID 12 f t f t 1 f 1184 "1082" 100 0 0 100  date_timestamptz - ));
1445 DESCR("convert date to timestamp with time zone");
1446 DATA(insert OID = 1176 (  timestamptz      PGUID 14 f t f t 2 f 1184 "1082 1083" 100 0 0 100  "select timestamptz($1 + $2)" - ));
1447 DESCR("convert date and time to timestamp with time zone");
1448 DATA(insert OID = 1177 (  interval                 PGUID 12 f t t t 1 f 1186 "703" 100 0 0 100  reltime_interval - ));
1449 DESCR("convert reltime to interval");
1450 DATA(insert OID = 1178 (  date                     PGUID 12 f t f t 1 f 1082 "1184" 100 0 0 100  timestamptz_date - ));
1451 DESCR("convert timestamp with time zone to date");
1452 DATA(insert OID = 1179 (  date                     PGUID 12 f t f t 1 f 1082 "702" 100 0 0 100  abstime_date - ));
1453 DESCR("convert abstime to date");
1454 DATA(insert OID = 1180 (  abstime                  PGUID 12 f t f t 1 f  702 "1184" 100 0 0 100  timestamptz_abstime - ));
1455 DESCR("convert timestamp with time zone to abstime");
1456 DATA(insert OID = 1181 (  age                      PGUID 12 f t f t 1 f 23 "28" 100 0 0 100  xid_age - ));
1457 DESCR("age of a transaction ID, in transactions before current transaction");
1458
1459 DATA(insert OID = 1188 (  timestamptz_mi   PGUID 12 f t t t 2 f 1186 "1184 1184" 100 0 0 100  timestamp_mi - ));
1460 DESCR("subtract");
1461 DATA(insert OID = 1189 (  timestamptz_pl_span PGUID 12 f t t t 2 f 1184 "1184 1186" 100 0 0 100  timestamptz_pl_span - ));
1462 DESCR("plus");
1463 DATA(insert OID = 1190 (  timestamptz_mi_span PGUID 12 f t t t 2 f 1184 "1184 1186" 100 0 0 100  timestamptz_mi_span - ));
1464 DESCR("minus");
1465 DATA(insert OID = 1191 (  timestamptz           PGUID 12 f t f t 1 f 1184 "25" 100 0 0 100      text_timestamptz - ));
1466 DESCR("convert text to timestamp with time zone");
1467 DATA(insert OID = 1192 (  text                          PGUID 12 f t f t 1 f     25 "1184" 100 0 0 100  timestamptz_text - ));
1468 DESCR("convert timestamp to text");
1469 DATA(insert OID = 1193 (  text                          PGUID 12 f t t t 1 f     25 "1186" 100 0 0 100  interval_text - ));
1470 DESCR("convert interval to text");
1471 DATA(insert OID = 1194 (  reltime                       PGUID 12 f t t t 1 f    703 "1186" 100 0 0 100  interval_reltime - ));
1472 DESCR("convert interval to reltime");
1473 DATA(insert OID = 1195 (  timestamptz_smaller PGUID 12 f t t t 2 f 1184 "1184 1184" 100 0 0 100  timestamp_smaller - ));
1474 DESCR("smaller of two");
1475 DATA(insert OID = 1196 (  timestamptz_larger  PGUID 12 f t t t 2 f 1184 "1184 1184" 100 0 0 100  timestamp_larger - ));
1476 DESCR("larger of two");
1477 DATA(insert OID = 1197 (  interval_smaller      PGUID 12 f t t t 2 f 1186 "1186 1186" 100 0 0 100  interval_smaller - ));
1478 DESCR("smaller of two");
1479 DATA(insert OID = 1198 (  interval_larger       PGUID 12 f t t t 2 f 1186 "1186 1186" 100 0 0 100  interval_larger - ));
1480 DESCR("larger of two");
1481 DATA(insert OID = 1199 (  age                           PGUID 12 f t t t 2 f 1186 "1184 1184" 100 0 0 100  timestamptz_age - ));
1482 DESCR("date difference preserving months and years");
1483
1484 /* OIDS 1200 - 1299 */
1485
1486 DATA(insert OID = 1200 (  reltime                  PGUID 12 f t t t 1 f  703 "23" 100 0 0 100  int4reltime - ));
1487 DESCR("convert int4 to reltime");
1488
1489 DATA(insert OID = 1215 (  obj_description       PGUID 14 f t f t 2 f    25 "26 19" 100 0 0 100  "select description from pg_description where objoid = $1 and classoid = (select oid from pg_class where relname = $2) and objsubid = 0" - ));
1490 DESCR("get description for object id and catalog name");
1491 DATA(insert OID = 1216 (  col_description       PGUID 14 f t f t 2 f    25 "26 23" 100 0 0 100  "select description from pg_description where objoid = $1 and classoid = (select oid from pg_class where relname = \'pg_class\') and objsubid = $2" - ));
1492 DESCR("get description for table column");
1493
1494 DATA(insert OID = 1217 (  date_trunc       PGUID 12 f t t t 2 f 1184 "25 1184" 100 0 0 100      timestamptz_trunc - ));
1495 DESCR("truncate timestamp with time zone to specified units");
1496 DATA(insert OID = 1218 (  date_trunc       PGUID 12 f t t t 2 f 1186 "25 1186" 100 0 0 100      interval_trunc - ));
1497 DESCR("truncate interval to specified units");
1498
1499 DATA(insert OID = 1219 (  int8inc                  PGUID 12 f t t t 1 f 20 "20" 100 0 0 100  int8inc - ));
1500 DESCR("increment");
1501 DATA(insert OID = 1230 (  int8abs                  PGUID 12 f t t t 1 f 20 "20" 100 0 0 100  int8abs - ));
1502 DESCR("absolute value");
1503
1504 DATA(insert OID = 1236 (  int8larger       PGUID 12 f t t t 2 f 20 "20 20" 100 0 0 100  int8larger - ));
1505 DESCR("larger of two");
1506 DATA(insert OID = 1237 (  int8smaller      PGUID 12 f t t t 2 f 20 "20 20" 100 0 0 100  int8smaller - ));
1507 DESCR("smaller of two");
1508
1509 DATA(insert OID = 1238 (  texticregexeq    PGUID 12 f t t t 2 f 16 "25 25" 100 0 0 100  texticregexeq - ));
1510 DESCR("matches regex., case-insensitive");
1511 DATA(insert OID = 1239 (  texticregexne    PGUID 12 f t t t 2 f 16 "25 25" 100 0 0 100  texticregexne - ));
1512 DESCR("does not match regex., case-insensitive");
1513 DATA(insert OID = 1240 (  nameicregexeq    PGUID 12 f t t t 2 f 16 "19 25" 100 0 0 100  nameicregexeq - ));
1514 DESCR("matches regex., case-insensitive");
1515 DATA(insert OID = 1241 (  nameicregexne    PGUID 12 f t t t 2 f 16 "19 25" 100 0 0 100  nameicregexne - ));
1516 DESCR("does not match regex., case-insensitive");
1517
1518 DATA(insert OID = 1251 (  int4abs                  PGUID 12 f t t t 1 f 23 "23" 100 0 0 100  int4abs - ));
1519 DESCR("absolute value");
1520 DATA(insert OID = 1253 (  int2abs                  PGUID 12 f t t t 1 f 21 "21" 100 0 0 100  int2abs - ));
1521 DESCR("absolute value");
1522
1523 DATA(insert OID = 1263 (  interval                 PGUID 12 f t f t 1 f 1186 "25" 100 0 0 100  text_interval - ));
1524 DESCR("convert text to interval");
1525
1526 DATA(insert OID = 1271 (  overlaps                 PGUID 12 f t t f 4 f 16 "1266 1266 1266 1266" 100 0 0 100  overlaps_timetz - ));
1527 DESCR("SQL92 interval comparison");
1528 DATA(insert OID = 1272 (  datetime_pl      PGUID 12 f t t t 2 f 1114 "1082 1083" 100 0 0 100  datetime_timestamp - ));
1529 DESCR("convert date and time to timestamp");
1530 DATA(insert OID = 1273 (  date_part                PGUID 12 f t t t 2 f  701 "25 1266" 100 0 0 100      timetz_part - ));
1531 DESCR("extract field from time with time zone");
1532 DATA(insert OID = 1274 (  int84pl                  PGUID 12 f t t t 2 f 20 "20 23" 100 0 0 100  int84pl - ));
1533 DESCR("add");
1534 DATA(insert OID = 1275 (  int84mi                  PGUID 12 f t t t 2 f 20 "20 23" 100 0 0 100  int84mi - ));
1535 DESCR("subtract");
1536 DATA(insert OID = 1276 (  int84mul                 PGUID 12 f t t t 2 f 20 "20 23" 100 0 0 100  int84mul - ));
1537 DESCR("multiply");
1538 DATA(insert OID = 1277 (  int84div                 PGUID 12 f t t t 2 f 20 "20 23" 100 0 0 100  int84div - ));
1539 DESCR("divide");
1540 DATA(insert OID = 1278 (  int48pl                  PGUID 12 f t t t 2 f 20 "23 20" 100 0 0 100  int48pl - ));
1541 DESCR("add");
1542 DATA(insert OID = 1279 (  int48mi                  PGUID 12 f t t t 2 f 20 "23 20" 100 0 0 100  int48mi - ));
1543 DESCR("subtract");
1544 DATA(insert OID = 1280 (  int48mul                 PGUID 12 f t t t 2 f 20 "23 20" 100 0 0 100  int48mul - ));
1545 DESCR("multiply");
1546 DATA(insert OID = 1281 (  int48div                 PGUID 12 f t t t 2 f 20 "23 20" 100 0 0 100  int48div - ));
1547 DESCR("divide");
1548
1549 DATA(insert OID = 1288 (  text                     PGUID 12 f t t t 1 f 25 "20" 100 0 0 100  int8_text - ));
1550 DESCR("convert int8 to text");
1551 DATA(insert OID = 1289 (  int8                     PGUID 12 f t t t 1 f 20 "25" 100 0 0 100  text_int8 - ));
1552 DESCR("convert text to int8");
1553
1554 DATA(insert OID = 1290 (  _bpchar                  PGUID 12 f t t t 2 f 1014 "1014 23" 100 0 0 100      _bpchar - ));
1555 DESCR("adjust char()[] to typmod length");
1556 DATA(insert OID = 1291 (  _varchar                 PGUID 12 f t t t 2 f 1015 "1015 23" 100 0 0 100      _varchar - ));
1557 DESCR("adjust varchar()[] to typmod length");
1558
1559 DATA(insert OID = 1292 ( tideq                     PGUID 12 f t t t 2 f 16 "27 27" 100 0 0 100  tideq - ));
1560 DESCR("equal");
1561 DATA(insert OID = 1293 ( currtid                   PGUID 12 f t f t 2 f 27 "26 27" 100 0 0 100  currtid_byreloid - ));
1562 DESCR("latest tid of a tuple");
1563 DATA(insert OID = 1294 ( currtid2                  PGUID 12 f t f t 2 f 27 "25 27" 100 0 0 100  currtid_byrelname - ));
1564 DESCR("latest tid of a tuple");
1565
1566 DATA(insert OID = 1296 (  timedate_pl      PGUID 14 f t t t 2 f 1114 "1083 1082" 100 0 0 100  "select ($2 + $1)" - ));
1567 DESCR("convert time and date to timestamp");
1568 DATA(insert OID = 1297 (  datetimetz_pl    PGUID 12 f t t t 2 f 1184 "1082 1266" 100 0 0 100  datetimetz_timestamptz - ));
1569 DESCR("convert date and time with time zone to timestamp with time zone");
1570 DATA(insert OID = 1298 (  timetzdate_pl    PGUID 14 f t t t 2 f 1184 "1266 1082" 100 0 0 100  "select ($2 + $1)" - ));
1571 DESCR("convert time with time zone and date to timestamp");
1572 DATA(insert OID = 1299 (  now                      PGUID 12 f t f t 0 f 1184 "0" 100 0 0 100  now - ));
1573 DESCR("current transaction time");
1574
1575 /* OIDS 1300 - 1399 */
1576
1577 DATA(insert OID = 1300 (  positionsel              PGUID 12 f t f t 4 f 701 "0 26 0 23" 100 0 0 100  positionsel - ));
1578 DESCR("restriction selectivity for position-comparison operators");
1579 DATA(insert OID = 1301 (  positionjoinsel          PGUID 12 f t f t 3 f 701 "0 26 0" 100 0 0 100  positionjoinsel - ));
1580 DESCR("join selectivity for position-comparison operators");
1581 DATA(insert OID = 1302 (  contsel                  PGUID 12 f t f t 4 f 701 "0 26 0 23" 100 0 0 100  contsel - ));
1582 DESCR("restriction selectivity for containment comparison operators");
1583 DATA(insert OID = 1303 (  contjoinsel      PGUID 12 f t f t 3 f 701 "0 26 0" 100 0 0 100  contjoinsel - ));
1584 DESCR("join selectivity for containment comparison operators");
1585
1586 DATA(insert OID = 1304 ( overlaps                        PGUID 12 f t t f 4 f 16 "1184 1184 1184 1184" 100 0 0 100      overlaps_timestamp - ));
1587 DESCR("SQL92 interval comparison");
1588 DATA(insert OID = 1305 ( overlaps                        PGUID 14 f t t f 4 f 16 "1184 1186 1184 1186" 100 0 0 100      "select ($1, ($1 + $2)) overlaps ($3, ($3 + $4))" - ));
1589 DESCR("SQL92 interval comparison");
1590 DATA(insert OID = 1306 ( overlaps                        PGUID 14 f t t f 4 f 16 "1184 1184 1184 1186" 100 0 0 100      "select ($1, $2) overlaps ($3, ($3 + $4))" - ));
1591 DESCR("SQL92 interval comparison");
1592 DATA(insert OID = 1307 ( overlaps                        PGUID 14 f t t f 4 f 16 "1184 1186 1184 1184" 100 0 0 100      "select ($1, ($1 + $2)) overlaps ($3, $4)" - ));
1593 DESCR("SQL92 interval comparison");
1594
1595 DATA(insert OID = 1308 ( overlaps                        PGUID 12 f t t f 4 f 16 "1083 1083 1083 1083" 100 0 0 100      overlaps_time - ));
1596 DESCR("SQL92 interval comparison");
1597 DATA(insert OID = 1309 ( overlaps                        PGUID 14 f t t f 4 f 16 "1083 1186 1083 1186" 100 0 0 100      "select ($1, ($1 + $2)) overlaps ($3, ($3 + $4))" - ));
1598 DESCR("SQL92 interval comparison");
1599 DATA(insert OID = 1310 ( overlaps                        PGUID 14 f t t f 4 f 16 "1083 1083 1083 1186" 100 0 0 100      "select ($1, $2) overlaps ($3, ($3 + $4))" - ));
1600 DESCR("SQL92 interval comparison");
1601 DATA(insert OID = 1311 ( overlaps                        PGUID 14 f t t f 4 f 16 "1083 1186 1083 1083" 100 0 0 100      "select ($1, ($1 + $2)) overlaps ($3, $4)" - ));
1602 DESCR("SQL92 interval comparison");
1603
1604 DATA(insert OID = 1312 (  timestamp_in           PGUID 12 f t f t 1 f 1114 "0" 100 0 0 100      timestamp_in - ));
1605 DESCR("(internal)");
1606 DATA(insert OID = 1313 (  timestamp_out          PGUID 12 f t f t 1 f 23 "0" 100 0 0 100  timestamp_out - ));
1607 DESCR("(internal)");
1608 DATA(insert OID = 1314 (  timestamptz_cmp        PGUID 12 f t t t 2 f   23 "1184 1184" 100 0 0 100      timestamp_cmp - ));
1609 DESCR("less-equal-greater");
1610 DATA(insert OID = 1315 (  interval_cmp           PGUID 12 f t t t 2 f   23 "1186 1186" 100 0 0 100      interval_cmp - ));
1611 DESCR("less-equal-greater");
1612 DATA(insert OID = 1316 (  time                           PGUID 12 f t t t 1 f 1083 "1114" 100 0 0 100  timestamp_time - ));
1613 DESCR("convert timestamp to time");
1614
1615 DATA(insert OID = 1317 (  length                         PGUID 12 f t t t 1 f   23 "25" 100 0 0 100  textlen - ));
1616 DESCR("length");
1617 DATA(insert OID = 1318 (  length                         PGUID 12 f t t t 1 f   23 "1042" 100 0 0 100  bpcharlen - ));
1618 DESCR("character length");
1619 DATA(insert OID = 1319 (  length                         PGUID 12 f t t t 1 f   23 "1043" 100 0 0 100  varcharlen - ));
1620 DESCR("character length");
1621
1622 DATA(insert OID = 1326 (  interval_div           PGUID 12 f t t t 2 f 1186 "1186 701" 100 0 0 100  interval_div - ));
1623 DESCR("divide");
1624
1625 DATA(insert OID = 1339 (  dlog10                         PGUID 12 f t t t 1 f 701 "701" 100 0 0 100  dlog10 - ));
1626 DESCR("base 10 logarithm");
1627 DATA(insert OID = 1340 (  log                            PGUID 12 f t t t 1 f 701 "701" 100 0 0 100  dlog10 - ));
1628 DESCR("base 10 logarithm");
1629 DATA(insert OID = 1341 (  ln                             PGUID 12 f t t t 1 f 701 "701" 100 0 0 100  dlog1 - ));
1630 DESCR("natural logarithm");
1631 DATA(insert OID = 1342 (  round                          PGUID 12 f t t t 1 f 701 "701" 100 0 0 100  dround - ));
1632 DESCR("round to nearest integer");
1633 DATA(insert OID = 1343 (  trunc                          PGUID 12 f t t t 1 f 701 "701" 100 0 0 100  dtrunc - ));
1634 DESCR("truncate to integer");
1635 DATA(insert OID = 1344 (  sqrt                           PGUID 12 f t t t 1 f 701 "701" 100 0 0 100  dsqrt - ));
1636 DESCR("square root");
1637 DATA(insert OID = 1345 (  cbrt                           PGUID 12 f t t t 1 f 701 "701" 100 0 0 100  dcbrt - ));
1638 DESCR("cube root");
1639 DATA(insert OID = 1346 (  pow                            PGUID 12 f t t t 2 f 701 "701 701" 100 0 0 100  dpow - ));
1640 DESCR("exponentiation");
1641 DATA(insert OID = 1347 (  exp                            PGUID 12 f t t t 1 f 701 "701" 100 0 0 100  dexp - ));
1642 DESCR("exponential");
1643
1644 /*
1645  * This form of obj_description is now deprecated, since it will fail if
1646  * OIDs are not unique across system catalogs.  Use the other forms instead.
1647  */
1648 DATA(insert OID = 1348 (  obj_description        PGUID 14 f t f t 1 f   25 "26" 100 0 0 100  "select description from pg_description where objoid = $1 and objsubid = 0" - ));
1649 DESCR("get description for object id (deprecated)");
1650 DATA(insert OID = 1349 (  oidvectortypes         PGUID 12 f t f t 1 f   25 "30" 100 0 0 100  oidvectortypes - ));
1651 DESCR("print type names of oidvector field");
1652
1653
1654 DATA(insert OID = 1350 (  timetz_in                PGUID 12 f t f t 1 f 1266 "0" 100 0 0 100  timetz_in - ));
1655 DESCR("(internal)");
1656 DATA(insert OID = 1351 (  timetz_out       PGUID 12 f t t t 1 f 23 "0" 100 0 0 100      timetz_out - ));
1657 DESCR("(internal)");
1658 DATA(insert OID = 1352 (  timetz_eq                PGUID 12 f t t t 2 f 16 "1266 1266" 100 0 0 100      timetz_eq - ));
1659 DESCR("equal");
1660 DATA(insert OID = 1353 (  timetz_ne                PGUID 12 f t t t 2 f 16 "1266 1266" 100 0 0 100      timetz_ne - ));
1661 DESCR("not equal");
1662 DATA(insert OID = 1354 (  timetz_lt                PGUID 12 f t t t 2 f 16 "1266 1266" 100 0 0 100      timetz_lt - ));
1663 DESCR("less-than");
1664 DATA(insert OID = 1355 (  timetz_le                PGUID 12 f t t t 2 f 16 "1266 1266" 100 0 0 100      timetz_le - ));
1665 DESCR("less-than-or-equal");
1666 DATA(insert OID = 1356 (  timetz_ge                PGUID 12 f t t t 2 f 16 "1266 1266" 100 0 0 100      timetz_ge - ));
1667 DESCR("greater-than-or-equal");
1668 DATA(insert OID = 1357 (  timetz_gt                PGUID 12 f t t t 2 f 16 "1266 1266" 100 0 0 100      timetz_gt - ));
1669 DESCR("greater-than");
1670 DATA(insert OID = 1358 (  timetz_cmp       PGUID 12 f t t t 2 f 23 "1266 1266" 100 0 0 100      timetz_cmp - ));
1671 DESCR("less-equal-greater");
1672 DATA(insert OID = 1359 (  timestamptz      PGUID 12 f t t t 2 f 1184 "1082 1266" 100 0 0 100  datetimetz_timestamptz - ));
1673 DESCR("convert date and time with time zone to timestamp with time zone");
1674
1675 DATA(insert OID = 1362 (  time                           PGUID 14 f t t t 1 f 1083 "1083" 100 0 0 100  "select $1" - ));
1676 DESCR("convert (noop)");
1677 DATA(insert OID = 1364 (  time                           PGUID 14 f t t t 1 f 1083 "702" 100 0 0 100  "select time(cast($1 as timestamp without time zone))" - ));
1678 DESCR("convert abstime to time");
1679 DATA(insert OID = 1365 (  abstime                        PGUID 14 f t t t 1 f  702 "702" 100 0 0 100  "select $1" - ));
1680 DESCR("convert (noop)");
1681 DATA(insert OID = 1367 (  reltime                        PGUID 14 f t t t 1 f  703 "703" 100 0 0 100  "select $1" - ));
1682 DESCR("convert (noop)");
1683 DATA(insert OID = 1368 (  timestamptz            PGUID 14 f t t t 1 f 1184 "1184" 100 0 0 100  "select $1" - ));
1684 DESCR("convert (noop)");
1685 DATA(insert OID = 1369 (  interval                       PGUID 14 f t t t 1 f 1186 "1186" 100 0 0 100  "select $1" - ));
1686 DESCR("convert (noop)");
1687 DATA(insert OID = 1370 (  interval                       PGUID 12 f t t t 1 f 1186 "1083" 100 0 0 100  time_interval - ));
1688 DESCR("convert time to interval");
1689 DATA(insert OID = 1371 (  date                           PGUID 14 f t t t 1 f 1082 "1082" 100 0 0 100  "select $1" - ));
1690 DESCR("convert (noop)");
1691 DATA(insert OID = 1372 (  char_length            PGUID 12 f t t t 1 f   23       "1042" 100 0 0 100  bpcharlen - ));
1692 DESCR("character length");
1693 DATA(insert OID = 1373 (  char_length            PGUID 12 f t t t 1 f   23       "1043" 100 0 0 100  varcharlen - ));
1694 DESCR("character length");
1695
1696 DATA(insert OID = 1374 (  octet_length                   PGUID 12 f t t t 1 f   23       "25" 100 0 0 100  textoctetlen - ));
1697 DESCR("octet length");
1698 DATA(insert OID = 1375 (  octet_length                   PGUID 12 f t t t 1 f   23       "1042" 100 0 0 100  bpcharoctetlen - ));
1699 DESCR("octet length");
1700 DATA(insert OID = 1376 (  octet_length                   PGUID 12 f t t t 1 f   23       "1043" 100 0 0 100  varcharoctetlen - ));
1701 DESCR("octet length");
1702
1703 DATA(insert OID = 1377 (  time_larger      PGUID 12 f t t t 2 f 1083 "1083 1083" 100 0 0 100  time_larger - ));
1704 DESCR("larger of two");
1705 DATA(insert OID = 1378 (  time_smaller     PGUID 12 f t t t 2 f 1083 "1083 1083" 100 0 0 100  time_smaller - ));
1706 DESCR("smaller of two");
1707 DATA(insert OID = 1379 (  timetz_larger    PGUID 12 f t t t 2 f 1266 "1266 1266" 100 0 0 100  timetz_larger - ));
1708 DESCR("larger of two");
1709 DATA(insert OID = 1380 (  timetz_smaller   PGUID 12 f t t t 2 f 1266 "1266 1266" 100 0 0 100  timetz_smaller - ));
1710 DESCR("smaller of two");
1711
1712 DATA(insert OID = 1381 (  char_length      PGUID 12 f t t t 1 f 23 "25" 100 0 0 100  textlen - ));
1713 DESCR("length");
1714
1715 DATA(insert OID = 1382 (  date_part    PGUID 14 f t f t 2 f  701 "25 702" 100 0 0 100  "select date_part($1, timestamptz($2))" - ));
1716 DESCR("extract field from abstime");
1717 DATA(insert OID = 1383 (  date_part    PGUID 14 f t f t 2 f  701 "25 703" 100 0 0 100  "select date_part($1, cast($2 as interval))" - ));
1718 DESCR("extract field from reltime");
1719 DATA(insert OID = 1384 (  date_part    PGUID 14 f t t t 2 f  701 "25 1082" 100 0 0 100  "select date_part($1, cast($2 as timestamp without time zone))" - ));
1720 DESCR("extract field from date");
1721 DATA(insert OID = 1385 (  date_part    PGUID 14 f t t t 2 f  701 "25 1083" 100 0 0 100  "select date_part($1, cast($2 as time with time zone))" - ));
1722 DESCR("extract field from time");
1723 DATA(insert OID = 1386 (  age              PGUID 14 f t f t 1 f 1186 "1184" 100 0 0 100  "select age(cast(current_date as timestamp with time zone), $1)" - ));
1724 DESCR("date difference from today preserving months and years");
1725
1726 DATA(insert OID = 1387 (  timetz                   PGUID 14 f t t t 1 f 1266 "1266" 100 0 0 100  "select $1" - ));
1727 DESCR("noop conversion");
1728 DATA(insert OID = 1388 (  timetz                   PGUID 12 f t f t 1 f 1266 "1184" 100 0 0 100  timestamptz_timetz - ));
1729 DESCR("convert timestamp to timetz");
1730
1731 DATA(insert OID = 1389 (  isfinite         PGUID 12 f t t t 1 f 16 "1184" 100 0 0 100  timestamp_finite - ));
1732 DESCR("boolean test");
1733 DATA(insert OID = 1390 (  isfinite         PGUID 12 f t t t 1 f 16 "1186" 100 0 0 100  interval_finite - ));
1734 DESCR("boolean test");
1735
1736
1737 DATA(insert OID = 1391 (  factorial                PGUID 12 f t t t 1 f 23 "21" 100 0 0 100  int2fac - ));
1738 DESCR("factorial");
1739 DATA(insert OID = 1392 (  factorial                PGUID 12 f t t t 1 f 23 "23" 100 0 0 100  int4fac - ));
1740 DESCR("factorial");
1741 DATA(insert OID = 1393 (  factorial                PGUID 12 f t t t 1 f 20 "20" 100 0 0 100  int8fac - ));
1742 DESCR("factorial");
1743 DATA(insert OID = 1394 (  abs                      PGUID 12 f t t t 1 f 700 "700" 100 0 0 100  float4abs - ));
1744 DESCR("absolute value");
1745 DATA(insert OID = 1395 (  abs                      PGUID 12 f t t t 1 f 701 "701" 100 0 0 100  float8abs - ));
1746 DESCR("absolute value");
1747 DATA(insert OID = 1396 (  abs                      PGUID 12 f t t t 1 f 20 "20" 100 0 0 100  int8abs - ));
1748 DESCR("absolute value");
1749 DATA(insert OID = 1397 (  abs                      PGUID 12 f t t t 1 f 23 "23" 100 0 0 100  int4abs - ));
1750 DESCR("absolute value");
1751 DATA(insert OID = 1398 (  abs                      PGUID 12 f t t t 1 f 21 "21" 100 0 0 100  int2abs - ));
1752 DESCR("absolute value");
1753
1754 /* OIDS 1400 - 1499 */
1755
1756 DATA(insert OID = 1400 (  name             PGUID 12 f t t t 1 f 19 "1043" 100 0 0 100  text_name - ));
1757 DESCR("convert varchar to name");
1758 DATA(insert OID = 1401 (  varchar          PGUID 12 f t t t 1 f 1043 "19" 100 0 0 100  name_text - ));
1759 DESCR("convert name to varchar");
1760
1761 DATA(insert OID = 1402 (  float4           PGUID 14 f t t t 1 f  700    "700" 100 0 0 100  "select $1" - ));
1762 DESCR("convert float4 to float4 (no-op)");
1763 DATA(insert OID = 1403 (  int2             PGUID 14 f t t t 1 f 21       "21" 100 0 0 100  "select $1" - ));
1764 DESCR("convert (no-op)");
1765 DATA(insert OID = 1404 (  float8           PGUID 14 f t t t 1 f  701    "701" 100 0 0 100  "select $1" - ));
1766 DESCR("convert (no-op)");
1767 DATA(insert OID = 1405 (  int4             PGUID 14 f t t t 1 f 23       "23" 100 0 0 100  "select $1" - ));
1768 DESCR("convert (no-op)");
1769
1770 DATA(insert OID = 1406 (  isvertical            PGUID 12 f t t t 2 f    16 "600 600" 100 0 0 100  point_vert - ));
1771 DESCR("vertically aligned?");
1772 DATA(insert OID = 1407 (  ishorizontal          PGUID 12 f t t t 2 f    16 "600 600" 100 0 0 100  point_horiz - ));
1773 DESCR("horizontally aligned?");
1774 DATA(insert OID = 1408 (  isparallel            PGUID 12 f t t t 2 f    16 "601 601" 100 0 0 100  lseg_parallel - ));
1775 DESCR("parallel?");
1776 DATA(insert OID = 1409 (  isperp                        PGUID 12 f t t t 2 f    16 "601 601" 100 0 0 100  lseg_perp - ));
1777 DESCR("perpendicular?");
1778 DATA(insert OID = 1410 (  isvertical            PGUID 12 f t t t 1 f    16 "601" 100 0 0 100  lseg_vertical - ));
1779 DESCR("vertical?");
1780 DATA(insert OID = 1411 (  ishorizontal          PGUID 12 f t t t 1 f    16 "601" 100 0 0 100  lseg_horizontal - ));
1781 DESCR("horizontal?");
1782 DATA(insert OID = 1412 (  isparallel            PGUID 12 f t t t 2 f    16 "628 628" 100 0 0 100  line_parallel - ));
1783 DESCR("lines parallel?");
1784 DATA(insert OID = 1413 (  isperp                        PGUID 12 f t t t 2 f    16 "628 628" 100 0 0 100  line_perp - ));
1785 DESCR("lines perpendicular?");
1786 DATA(insert OID = 1414 (  isvertical            PGUID 12 f t t t 1 f    16 "628" 100 0 0 100  line_vertical - ));
1787 DESCR("lines vertical?");
1788 DATA(insert OID = 1415 (  ishorizontal          PGUID 12 f t t t 1 f    16 "628" 100 0 0 100  line_horizontal - ));
1789 DESCR("lines horizontal?");
1790 DATA(insert OID = 1416 (  point                         PGUID 12 f t t t 1 f 600 "718" 100 0 0 100      circle_center - ));
1791 DESCR("center of");
1792
1793 DATA(insert OID = 1417 (  isnottrue                     PGUID 12 f t t f 1 f 16 "16" 100 0 0 100  isnottrue - ));
1794 DESCR("bool is not true (ie, false or unknown)");
1795 DATA(insert OID = 1418 (  isnotfalse            PGUID 12 f t t f 1 f 16 "16" 100 0 0 100  isnotfalse - ));
1796 DESCR("bool is not false (ie, true or unknown)");
1797
1798 DATA(insert OID = 1419 (  time                          PGUID 12 f t t t 1 f 1083 "1186" 100 0 0 100  interval_time - ));
1799 DESCR("convert interval to time");
1800
1801 DATA(insert OID = 1421 (  box                           PGUID 12 f t t t 2 f 603 "600 600" 100 0 0 100  points_box - ));
1802 DESCR("convert points to box");
1803 DATA(insert OID = 1422 (  box_add                       PGUID 12 f t t t 2 f 603 "603 600" 100 0 0 100  box_add - ));
1804 DESCR("add point to box (translate)");
1805 DATA(insert OID = 1423 (  box_sub                       PGUID 12 f t t t 2 f 603 "603 600" 100 0 0 100  box_sub - ));
1806 DESCR("subtract point from box (translate)");
1807 DATA(insert OID = 1424 (  box_mul                       PGUID 12 f t t t 2 f 603 "603 600" 100 0 0 100  box_mul - ));
1808 DESCR("multiply box by point (scale)");
1809 DATA(insert OID = 1425 (  box_div                       PGUID 12 f t t t 2 f 603 "603 600" 100 0 0 100  box_div - ));
1810 DESCR("divide box by point (scale)");
1811 DATA(insert OID = 1426 (  path_contain_pt       PGUID 14 f t t t 2 f    16 "602 600" 100 0 0 100  "select on_ppath($2, $1)" - ));
1812 DESCR("path contains point?");
1813 DATA(insert OID = 1428 (  poly_contain_pt       PGUID 12 f t t t 2 f    16 "604 600" 100 0 0 100  poly_contain_pt - ));
1814 DESCR("polygon contains point?");
1815 DATA(insert OID = 1429 (  pt_contained_poly PGUID 12 f t t t 2 f        16 "600 604" 100 0 0 100  pt_contained_poly - ));
1816 DESCR("point contained by polygon?");
1817
1818 DATA(insert OID = 1430 (  isclosed                      PGUID 12 f t t t 1 f    16 "602" 100 0 0 100  path_isclosed - ));
1819 DESCR("path closed?");
1820 DATA(insert OID = 1431 (  isopen                        PGUID 12 f t t t 1 f    16 "602" 100 0 0 100  path_isopen - ));
1821 DESCR("path open?");
1822 DATA(insert OID = 1432 (  path_npoints          PGUID 12 f t t t 1 f    23 "602" 100 0 0 100  path_npoints - ));
1823 DESCR("# points in path");
1824
1825 /* pclose and popen might better be named close and open, but that crashes initdb.
1826  * - thomas 97/04/20
1827  */
1828
1829 DATA(insert OID = 1433 (  pclose                        PGUID 12 f t t t 1 f 602 "602" 100 0 0 100      path_close - ));
1830 DESCR("close path");
1831 DATA(insert OID = 1434 (  popen                         PGUID 12 f t t t 1 f 602 "602" 100 0 0 100      path_open - ));
1832 DESCR("open path");
1833 DATA(insert OID = 1435 (  path_add                      PGUID 12 f t t t 2 f 602 "602 602" 100 0 0 100  path_add - ));
1834 DESCR("concatenate open paths");
1835 DATA(insert OID = 1436 (  path_add_pt           PGUID 12 f t t t 2 f 602 "602 600" 100 0 0 100  path_add_pt - ));
1836 DESCR("add (translate path)");
1837 DATA(insert OID = 1437 (  path_sub_pt           PGUID 12 f t t t 2 f 602 "602 600" 100 0 0 100  path_sub_pt - ));
1838 DESCR("subtract (translate path)");
1839 DATA(insert OID = 1438 (  path_mul_pt           PGUID 12 f t t t 2 f 602 "602 600" 100 0 0 100  path_mul_pt - ));
1840 DESCR("multiply (rotate/scale path)");
1841 DATA(insert OID = 1439 (  path_div_pt           PGUID 12 f t t t 2 f 602 "602 600" 100 0 0 100  path_div_pt - ));
1842 DESCR("divide (rotate/scale path)");
1843
1844 DATA(insert OID = 1440 (  point                         PGUID 12 f t t t 2 f 600 "701 701" 100 0 0 100  construct_point - ));
1845 DESCR("convert x, y to point");
1846 DATA(insert OID = 1441 (  point_add                     PGUID 12 f t t t 2 f 600 "600 600" 100 0 0 100  point_add - ));
1847 DESCR("add points (translate)");
1848 DATA(insert OID = 1442 (  point_sub                     PGUID 12 f t t t 2 f 600 "600 600" 100 0 0 100  point_sub - ));
1849 DESCR("subtract points (translate)");
1850 DATA(insert OID = 1443 (  point_mul                     PGUID 12 f t t t 2 f 600 "600 600" 100 0 0 100  point_mul - ));
1851 DESCR("multiply points (scale/rotate)");
1852 DATA(insert OID = 1444 (  point_div                     PGUID 12 f t t t 2 f 600 "600 600" 100 0 0 100  point_div - ));
1853 DESCR("divide points (scale/rotate)");
1854
1855 DATA(insert OID = 1445 (  poly_npoints          PGUID 12 f t t t 1 f    23 "604" 100 0 0 100  poly_npoints - ));
1856 DESCR("number of points in polygon");
1857 DATA(insert OID = 1446 (  box                           PGUID 12 f t t t 1 f 603 "604" 100 0 0 100      poly_box - ));
1858 DESCR("convert polygon to bounding box");
1859 DATA(insert OID = 1447 (  path                          PGUID 12 f t t t 1 f 602 "604" 100 0 0 100      poly_path - ));
1860 DESCR("convert polygon to path");
1861 DATA(insert OID = 1448 (  polygon                       PGUID 12 f t t t 1 f 604 "603" 100 0 0 100      box_poly - ));
1862 DESCR("convert box to polygon");
1863 DATA(insert OID = 1449 (  polygon                       PGUID 12 f t t t 1 f 604 "602" 100 0 0 100      path_poly - ));
1864 DESCR("convert path to polygon");
1865
1866 DATA(insert OID = 1450 (  circle_in                     PGUID 12 f t t t 1 f 718 "0" 100 0 0 100  circle_in - ));
1867 DESCR("(internal)");
1868 DATA(insert OID = 1451 (  circle_out            PGUID 12 f t t t 1 f    23      "718" 100 0 0 100  circle_out - ));
1869 DESCR("(internal)");
1870 DATA(insert OID = 1452 (  circle_same           PGUID 12 f t t t 2 f    16 "718 718" 100 0 0 100  circle_same - ));
1871 DESCR("same as");
1872 DATA(insert OID = 1453 (  circle_contain        PGUID 12 f t t t 2 f    16 "718 718" 100 0 0 100  circle_contain - ));
1873 DESCR("contains");
1874 DATA(insert OID = 1454 (  circle_left           PGUID 12 f t t t 2 f    16 "718 718" 100 0 0 100  circle_left - ));
1875 DESCR("is left of");
1876 DATA(insert OID = 1455 (  circle_overleft       PGUID 12 f t t t 2 f    16 "718 718" 100 0 0 100  circle_overleft - ));
1877 DESCR("overlaps, but does not extend to right of");
1878 DATA(insert OID = 1456 (  circle_overright      PGUID 12 f t t t 2 f    16 "718 718" 100 0 0 100  circle_overright - ));
1879 DESCR("");
1880 DATA(insert OID = 1457 (  circle_right          PGUID 12 f t t t 2 f    16 "718 718" 100 0 0 100  circle_right - ));
1881 DESCR("is right of");
1882 DATA(insert OID = 1458 (  circle_contained      PGUID 12 f t t t 2 f    16 "718 718" 100 0 0 100  circle_contained - ));
1883 DESCR("");
1884 DATA(insert OID = 1459 (  circle_overlap        PGUID 12 f t t t 2 f    16 "718 718" 100 0 0 100  circle_overlap - ));
1885 DESCR("overlaps");
1886 DATA(insert OID = 1460 (  circle_below          PGUID 12 f t t t 2 f    16 "718 718" 100 0 0 100  circle_below - ));
1887 DESCR("is below");
1888 DATA(insert OID = 1461 (  circle_above          PGUID 12 f t t t 2 f    16 "718 718" 100 0 0 100  circle_above - ));
1889 DESCR("is above");
1890 DATA(insert OID = 1462 (  circle_eq                     PGUID 12 f t t t 2 f    16 "718 718" 100 0 0 100  circle_eq - ));
1891 DESCR("equal by area");
1892 DATA(insert OID = 1463 (  circle_ne                     PGUID 12 f t t t 2 f    16 "718 718" 100 0 0 100  circle_ne - ));
1893 DESCR("not equal by area");
1894 DATA(insert OID = 1464 (  circle_lt                     PGUID 12 f t t t 2 f    16 "718 718" 100 0 0 100  circle_lt - ));
1895 DESCR("less-than by area");
1896 DATA(insert OID = 1465 (  circle_gt                     PGUID 12 f t t t 2 f    16 "718 718" 100 0 0 100  circle_gt - ));
1897 DESCR("greater-than by area");
1898 DATA(insert OID = 1466 (  circle_le                     PGUID 12 f t t t 2 f    16 "718 718" 100 0 0 100  circle_le - ));
1899 DESCR("less-than-or-equal by area");
1900 DATA(insert OID = 1467 (  circle_ge                     PGUID 12 f t t t 2 f    16 "718 718" 100 0 0 100  circle_ge - ));
1901 DESCR("greater-than-or-equal by area");
1902 DATA(insert OID = 1468 (  area                          PGUID 12 f t t t 1 f 701 "718" 100 0 0 100      circle_area - ));
1903 DESCR("area of circle");
1904 DATA(insert OID = 1469 (  diameter                      PGUID 12 f t t t 1 f 701 "718" 100 0 0 100      circle_diameter - ));
1905 DESCR("diameter of circle");
1906 DATA(insert OID = 1470 (  radius                        PGUID 12 f t t t 1 f 701 "718" 100 0 0 100      circle_radius - ));
1907 DESCR("radius of circle");
1908 DATA(insert OID = 1471 (  circle_distance       PGUID 12 f t t t 2 f 701 "718 718" 100 0 0 100  circle_distance - ));
1909 DESCR("distance between");
1910 DATA(insert OID = 1472 (  circle_center         PGUID 12 f t t t 1 f 600 "718" 100 0 0 100      circle_center - ));
1911 DESCR("center of");
1912 DATA(insert OID = 1473 (  circle                        PGUID 12 f t t t 2 f 718 "600 701" 100 0 0 100  cr_circle - ));
1913 DESCR("convert point and radius to circle");
1914 DATA(insert OID = 1474 (  circle                        PGUID 12 f t t t 1 f 718 "604" 100 0 0 100      poly_circle - ));
1915 DESCR("convert polygon to circle");
1916 DATA(insert OID = 1475 (  polygon                       PGUID 12 f t t t 2 f 604 "23 718" 100 0 0 100  circle_poly - ));
1917 DESCR("convert vertex count and circle to polygon");
1918 DATA(insert OID = 1476 (  dist_pc                       PGUID 12 f t t t 2 f 701 "600 718" 100 0 0 100  dist_pc - ));
1919 DESCR("distance between point and circle");
1920 DATA(insert OID = 1477 (  circle_contain_pt PGUID 12 f t t t 2 f        16 "718 600" 100 0 0 100  circle_contain_pt - ));
1921 DESCR("circle contains point?");
1922 DATA(insert OID = 1478 (  pt_contained_circle   PGUID 12 f t t t 2 f    16 "600 718" 100 0 0 100  pt_contained_circle - ));
1923 DESCR("point inside circle?");
1924 DATA(insert OID = 1479 (  circle                        PGUID 12 f t t t 1 f 718 "603" 100 0 0 100      box_circle - ));
1925 DESCR("convert box to circle");
1926 DATA(insert OID = 1480 (  box                           PGUID 12 f t t t 1 f 603 "718" 100 0 0 100      circle_box - ));
1927 DESCR("convert circle to box");
1928 DATA(insert OID = 1481 (  tinterval                      PGUID 12 f t t t 2 f 704 "702 702" 100 0 0 100 mktinterval - ));
1929 DESCR("convert to tinterval");
1930
1931 DATA(insert OID = 1482 (  lseg_ne                       PGUID 12 f t t t 2 f    16 "601 601" 100 0 0 100  lseg_ne - ));
1932 DESCR("not equal");
1933 DATA(insert OID = 1483 (  lseg_lt                       PGUID 12 f t t t 2 f    16 "601 601" 100 0 0 100  lseg_lt - ));
1934 DESCR("less-than by length");
1935 DATA(insert OID = 1484 (  lseg_le                       PGUID 12 f t t t 2 f    16 "601 601" 100 0 0 100  lseg_le - ));
1936 DESCR("less-than-or-equal by length");
1937 DATA(insert OID = 1485 (  lseg_gt                       PGUID 12 f t t t 2 f    16 "601 601" 100 0 0 100  lseg_gt - ));
1938 DESCR("greater-than by length");
1939 DATA(insert OID = 1486 (  lseg_ge                       PGUID 12 f t t t 2 f    16 "601 601" 100 0 0 100  lseg_ge - ));
1940 DESCR("greater-than-or-equal by length");
1941 DATA(insert OID = 1487 (  lseg_length           PGUID 12 f t t t 1 f 701 "601" 100 0 0 100      lseg_length - ));
1942 DESCR("distance between endpoints");
1943 DATA(insert OID = 1488 (  close_ls                      PGUID 12 f t t t 2 f 600 "628 601" 100 0 0 100  close_ls - ));
1944 DESCR("closest point to line on line segment");
1945 DATA(insert OID = 1489 (  close_lseg            PGUID 12 f t t t 2 f 600 "601 601" 100 0 0 100  close_lseg - ));
1946 DESCR("closest point to line segment on line segment");
1947
1948 DATA(insert OID = 1490 (  line_in                       PGUID 12 f t t t 1 f 628 "0" 100 0 0 100  line_in - ));
1949 DESCR("(internal)");
1950 DATA(insert OID = 1491 (  line_out                      PGUID 12 f t t t 1 f 23  "628" 100 0 0 100      line_out - ));
1951 DESCR("(internal)");
1952 DATA(insert OID = 1492 (  line_eq                       PGUID 12 f t t t 2 f  16 "628 628" 100 0 0 100  line_eq - ));
1953 DESCR("lines equal?");
1954 DATA(insert OID = 1493 (  line                          PGUID 12 f t t t 2 f 628 "600 600" 100 0 0 100  line_construct_pp - ));
1955 DESCR("line from points");
1956 DATA(insert OID = 1494 (  line_interpt          PGUID 12 f t t t 2 f 600 "628 628" 100 0 0 100  line_interpt - ));
1957 DESCR("intersection point");
1958 DATA(insert OID = 1495 (  line_intersect        PGUID 12 f t t t 2 f    16 "628 628" 100 0 0 100  line_intersect - ));
1959 DESCR("lines intersect?");
1960 DATA(insert OID = 1496 (  line_parallel         PGUID 12 f t t t 2 f    16 "628 628" 100 0 0 100  line_parallel - ));
1961 DESCR("lines parallel?");
1962 DATA(insert OID = 1497 (  line_perp                     PGUID 12 f t t t 2 f    16 "628 628" 100 0 0 100  line_perp - ));
1963 DESCR("lines perpendicular?");
1964 DATA(insert OID = 1498 (  line_vertical         PGUID 12 f t t t 1 f    16 "628" 100 0 0 100  line_vertical - ));
1965 DESCR("lines vertical?");
1966 DATA(insert OID = 1499 (  line_horizontal       PGUID 12 f t t t 1 f    16 "628" 100 0 0 100  line_horizontal - ));
1967 DESCR("lines horizontal?");
1968
1969 /* OIDS 1500 - 1599 */
1970
1971 DATA(insert OID = 1530 (  length                        PGUID 12 f t t t 1 f 701 "601" 100 0 0 100      lseg_length - ));
1972 DESCR("distance between endpoints");
1973 DATA(insert OID = 1531 (  length                        PGUID 12 f t t t 1 f 701 "602" 100 0 0 100      path_length - ));
1974 DESCR("sum of path segments");
1975
1976
1977 DATA(insert OID = 1532 (  point                         PGUID 12 f t t t 1 f 600 "601" 100 0 0 100      lseg_center - ));
1978 DESCR("center of");
1979 DATA(insert OID = 1533 (  point                         PGUID 12 f t t t 1 f 600 "602" 100 0 0 100      path_center - ));
1980 DESCR("center of");
1981 DATA(insert OID = 1534 (  point                         PGUID 12 f t t t 1 f 600 "603" 100 0 0 100      box_center - ));
1982 DESCR("center of");
1983 DATA(insert OID = 1540 (  point                         PGUID 12 f t t t 1 f 600 "604" 100 0 0 100      poly_center - ));
1984 DESCR("center of");
1985 DATA(insert OID = 1541 (  lseg                          PGUID 12 f t t t 1 f 601 "603" 100 0 0 100      box_diagonal - ));
1986 DESCR("diagonal of");
1987 DATA(insert OID = 1542 (  center                        PGUID 12 f t t t 1 f 600 "603" 100 0 0 100      box_center - ));
1988 DESCR("center of");
1989 DATA(insert OID = 1543 (  center                        PGUID 12 f t t t 1 f 600 "718" 100 0 0 100      circle_center - ));
1990 DESCR("center of");
1991 DATA(insert OID = 1544 (  polygon                       PGUID 14 f t t t 1 f 604 "718" 100 0 0 100      "select polygon(12, $1)" - ));
1992 DESCR("convert circle to 12-vertex polygon");
1993 DATA(insert OID = 1545 (  npoints                       PGUID 12 f t t t 1 f    23 "602" 100 0 0 100  path_npoints - ));
1994 DESCR("# points in path");
1995 DATA(insert OID = 1556 (  npoints                       PGUID 12 f t t t 1 f    23 "604" 100 0 0 100  poly_npoints - ));
1996 DESCR("number of points in polygon");
1997
1998 DATA(insert OID = 1564 (  bit_in                        PGUID 12 f t t t 1 f 1560 "0" 100 0 0 100  bit_in - ));
1999 DESCR("(internal)");
2000 DATA(insert OID = 1565 (  bit_out                       PGUID 12 f t t t 1 f   23 "0" 100 0 0 100  bit_out - ));
2001 DESCR("(internal)");
2002
2003 DATA(insert OID = 1569 (  like                          PGUID 12 f t t t 2 f 16 "25 25" 100 0 0 100  textlike - ));
2004 DESCR("matches LIKE expression");
2005 DATA(insert OID = 1570 (  notlike                       PGUID 12 f t t t 2 f 16 "25 25" 100 0 0 100  textnlike - ));
2006 DESCR("does not match LIKE expression");
2007 DATA(insert OID = 1571 (  like                          PGUID 12 f t t t 2 f 16 "19 25" 100 0 0 100  namelike - ));
2008 DESCR("matches LIKE expression");
2009 DATA(insert OID = 1572 (  notlike                       PGUID 12 f t t t 2 f 16 "19 25" 100 0 0 100  namenlike - ));
2010 DESCR("does not match LIKE expression");
2011 DATA(insert OID = 1573 (  int8                          PGUID 14 f t t t 1 f    20 "20" 100 0 0 100  "select $1" - ));
2012 DESCR("convert int8 to int8 (no-op)");
2013
2014
2015 /* SEQUENCEs nextval & currval functions */
2016 DATA(insert OID = 1574 (  nextval                       PGUID 12 f t f t 1 f 20 "25" 100 0 0 100  nextval - ));
2017 DESCR("sequence next value");
2018 DATA(insert OID = 1575 (  currval                       PGUID 12 f t f t 1 f 20 "25" 100 0 0 100  currval - ));
2019 DESCR("sequence current value");
2020 DATA(insert OID = 1576 (  setval                        PGUID 12 f t f t 2 f 20 "25 20" 100 0 0 100  setval - ));
2021 DESCR("set sequence value");
2022 DATA(insert OID = 1765 (  setval                        PGUID 12 f t f t 3 f 20 "25 20 16" 100 0 0 100  setval_and_iscalled - ));
2023 DESCR("set sequence value and iscalled status");
2024
2025 DATA(insert OID = 1579 (  varbit_in                     PGUID 12 f t t t 1 f 1562 "0" 100 0 0 100  varbit_in - ));
2026 DESCR("(internal)");
2027 DATA(insert OID = 1580 (  varbit_out            PGUID 12 f t t t 1 f   23 "0" 100 0 0 100  varbit_out - ));
2028 DESCR("(internal)");
2029
2030 DATA(insert OID = 1581 (  biteq                         PGUID 12 f t t t 2 f 16 "1560 1560" 100 0 0 100  biteq - ));
2031 DESCR("equal");
2032 DATA(insert OID = 1582 (  bitne                         PGUID 12 f t t t 2 f 16 "1560 1560" 100 0 0 100  bitne - ));
2033 DESCR("not equal");
2034 DATA(insert OID = 1592 (  bitge                         PGUID 12 f t t t 2 f 16 "1560 1560" 100 0 0 100  bitge - ));
2035 DESCR("greater than or equal");
2036 DATA(insert OID = 1593 (  bitgt                         PGUID 12 f t t t 2 f 16 "1560 1560" 100 0 0 100  bitgt - ));
2037 DESCR("greater than");
2038 DATA(insert OID = 1594 (  bitle                         PGUID 12 f t t t 2 f 16 "1560 1560" 100 0 0 100  bitle - ));
2039 DESCR("less than or equal");
2040 DATA(insert OID = 1595 (  bitlt                         PGUID 12 f t t t 2 f 16 "1560 1560" 100 0 0 100  bitlt - ));
2041 DESCR("less than");
2042 DATA(insert OID = 1596 (  bitcmp                        PGUID 12 f t t t 2 f 23 "1560 1560" 100 0 0 100  bitcmp - ));
2043 DESCR("compare");
2044
2045 DATA(insert OID = 1598 (  random                        PGUID 12 f t f t 0 f 701 "0" 100 0 0 100  drandom - ));
2046 DESCR("random value");
2047 DATA(insert OID = 1599 (  setseed                       PGUID 12 f t f t 1 f  23 "701" 100 0 0 100      setseed - ));
2048 DESCR("set random seed");
2049
2050 /* OIDS 1600 - 1699 */
2051
2052 DATA(insert OID = 1600 (  asin                          PGUID 12 f t t t 1 f 701 "701" 100 0 0 100      dasin - ));
2053 DESCR("arcsine");
2054 DATA(insert OID = 1601 (  acos                          PGUID 12 f t t t 1 f 701 "701" 100 0 0 100      dacos - ));
2055 DESCR("arccosine");
2056 DATA(insert OID = 1602 (  atan                          PGUID 12 f t t t 1 f 701 "701" 100 0 0 100      datan - ));
2057 DESCR("arctangent");
2058 DATA(insert OID = 1603 (  atan2                         PGUID 12 f t t t 2 f 701 "701 701" 100 0 0 100  datan2 - ));
2059 DESCR("arctangent, two arguments");
2060 DATA(insert OID = 1604 (  sin                           PGUID 12 f t t t 1 f 701 "701" 100 0 0 100      dsin - ));
2061 DESCR("sine");
2062 DATA(insert OID = 1605 (  cos                           PGUID 12 f t t t 1 f 701 "701" 100 0 0 100      dcos - ));
2063 DESCR("cosine");
2064 DATA(insert OID = 1606 (  tan                           PGUID 12 f t t t 1 f 701 "701" 100 0 0 100      dtan - ));
2065 DESCR("tangent");
2066 DATA(insert OID = 1607 (  cot                           PGUID 12 f t t t 1 f 701 "701" 100 0 0 100      dcot - ));
2067 DESCR("cotangent");
2068 DATA(insert OID = 1608 (  degrees                       PGUID 12 f t t t 1 f 701 "701" 100 0 0 100      degrees - ));
2069 DESCR("radians to degrees");
2070 DATA(insert OID = 1609 (  radians                       PGUID 12 f t t t 1 f 701 "701" 100 0 0 100      radians - ));
2071 DESCR("degrees to radians");
2072 DATA(insert OID = 1610 (  pi                            PGUID 12 f t t t 0 f 701 "0" 100 0 0 100  dpi - ));
2073 DESCR("PI");
2074
2075 DATA(insert OID = 1618 (  interval_mul          PGUID 12 f t t t 2 f 1186 "1186 701" 100 0 0 100  interval_mul - ));
2076 DESCR("multiply interval");
2077 DATA(insert OID = 1619 (  varchar                       PGUID 12 f t t t 1 f 1043 "23" 100 0 0 100      int4_text - ));
2078 DESCR("convert int4 to varchar");
2079
2080 DATA(insert OID = 1620 (  ascii                         PGUID 12 f t t t 1 f 23 "25" 100 0 0 100  ascii - ));
2081 DESCR("convert first char to int4");
2082 DATA(insert OID = 1621 (  chr                           PGUID 12 f t t t 1 f 25 "23" 100 0 0 100  chr - ));
2083 DESCR("convert int4 to char");
2084 DATA(insert OID = 1622 (  repeat                        PGUID 12 f t t t 2 f 25 "25 23" 100 0 0 100  repeat - ));
2085 DESCR("replicate string int4 times");
2086
2087 DATA(insert OID = 1623 (  varchar                       PGUID 12 f t t t 1 f 1043 "20" 100 0 0 100      int8_text - ));
2088 DESCR("convert int8 to varchar");
2089 DATA(insert OID = 1624 (  mul_d_interval        PGUID 12 f t t t 2 f 1186 "701 1186" 100 0 0 100  mul_d_interval - ));
2090
2091 DATA(insert OID = 1633 (  texticlike            PGUID 12 f t t t 2 f 16 "25 25" 100 0 0 100 texticlike - ));
2092 DESCR("matches LIKE expression, case-insensitive");
2093 DATA(insert OID = 1634 (  texticnlike           PGUID 12 f t t t 2 f 16 "25 25" 100 0 0 100 texticnlike - ));
2094 DESCR("does not match LIKE expression, case-insensitive");
2095 DATA(insert OID = 1635 (  nameiclike            PGUID 12 f t t t 2 f 16 "19 25" 100 0 0 100  nameiclike - ));
2096 DESCR("matches LIKE expression, case-insensitive");
2097 DATA(insert OID = 1636 (  nameicnlike           PGUID 12 f t t t 2 f 16 "19 25" 100 0 0 100  nameicnlike - ));
2098 DESCR("does not match LIKE expression, case-insensitive");
2099 DATA(insert OID = 1637 (  like_escape           PGUID 12 f t t t 2 f 25 "25 25" 100 0 0 100 like_escape - ));
2100 DESCR("convert match pattern to use backslash escapes");
2101
2102 DATA(insert OID = 1689 (  update_pg_pwd           PGUID 12 f t f t 0 f 0  ""  100 0 0 100  update_pg_pwd - ));
2103 DESCR("update pg_pwd file");
2104
2105 /* Oracle Compatibility Related Functions - By Edmund Mergl <E.Mergl@bawue.de> */
2106 DATA(insert OID =  868 (  strpos           PGUID 12 f t t t 2 f 23 "25 25" 100 0 0 100  textpos - ));
2107 DESCR("find position of substring");
2108 DATA(insert OID =  870 (  lower            PGUID 12 f t t t 1 f 25 "25" 100 0 0 100  lower - ));
2109 DESCR("lowercase");
2110 DATA(insert OID =  871 (  upper            PGUID 12 f t t t 1 f 25 "25" 100 0 0 100  upper - ));
2111 DESCR("uppercase");
2112 DATA(insert OID =  872 (  initcap          PGUID 12 f t t t 1 f 25 "25" 100 0 0 100  initcap - ));
2113 DESCR("capitalize each word");
2114 DATA(insert OID =  873 (  lpad             PGUID 12 f t t t 3 f 25 "25 23 25" 100 0 0 100  lpad - ));
2115 DESCR("left-pad string to length");
2116 DATA(insert OID =  874 (  rpad             PGUID 12 f t t t 3 f 25 "25 23 25" 100 0 0 100  rpad - ));
2117 DESCR("right-pad string to length");
2118 DATA(insert OID =  875 (  ltrim            PGUID 12 f t t t 2 f 25 "25 25" 100 0 0 100  ltrim - ));
2119 DESCR("left-pad string to length");
2120 DATA(insert OID =  876 (  rtrim            PGUID 12 f t t t 2 f 25 "25 25" 100 0 0 100  rtrim - ));
2121 DESCR("right-pad string to length");
2122 DATA(insert OID =  877 (  substr           PGUID 12 f t t t 3 f 25 "25 23 23" 100 0 0 100  text_substr - ));
2123 DESCR("return portion of string");
2124 DATA(insert OID =  878 (  translate    PGUID 12 f t t t 3 f 25 "25 25 25" 100 0 0 100  translate - ));
2125 DESCR("map a set of character appearing in string");
2126 DATA(insert OID =  879 (  lpad             PGUID 14 f t t t 2 f 25 "25 23" 100 0 0 100  "select lpad($1, $2, \' \')" - ));
2127 DESCR("left-pad string to length");
2128 DATA(insert OID =  880 (  rpad             PGUID 14 f t t t 2 f 25 "25 23" 100 0 0 100  "select rpad($1, $2, \' \')" - ));
2129 DESCR("right-pad string to length");
2130 DATA(insert OID =  881 (  ltrim            PGUID 14 f t t t 1 f 25 "25" 100 0 0 100  "select ltrim($1, \' \')" - ));
2131 DESCR("remove initial characters from string");
2132 DATA(insert OID =  882 (  rtrim            PGUID 14 f t t t 1 f 25 "25" 100 0 0 100  "select rtrim($1, \' \')" - ));
2133 DESCR("remove trailing characters from string");
2134 DATA(insert OID =  883 (  substr           PGUID 14 f t t t 2 f 25 "25 23" 100 0 0 100  "select substr($1, $2, -1)" - ));
2135 DESCR("return portion of string");
2136 DATA(insert OID =  884 (  btrim            PGUID 12 f t t t 2 f 25 "25 25" 100 0 0 100  btrim - ));
2137 DESCR("trim both ends of string");
2138 DATA(insert OID =  885 (  btrim            PGUID 14 f t t t 1 f 25 "25" 100 0 0 100  "select btrim($1, \' \')" - ));
2139 DESCR("trim both ends of string");
2140
2141 DATA(insert OID =  936 (  substring    PGUID 12 f t t t 3 f 25 "25 23 23" 100 0 0 100  text_substr - ));
2142 DESCR("return portion of string");
2143 DATA(insert OID =  937 (  substring    PGUID 14 f t t t 2 f 25 "25 23" 100 0 0 100      "select substring($1, $2, -1)" - ));
2144 DESCR("return portion of string");
2145
2146 /* for multi-byte support */
2147
2148 /* return database encoding name */
2149 DATA(insert OID = 1039 (  getdatabaseencoding      PGUID 12 f t f t 0 f 19 "0" 100 0 0 100      getdatabaseencoding - ));
2150 DESCR("encoding name of current database");
2151
2152 /* return client encoding name i.e. session encoding */
2153 DATA(insert OID = 810 (  pg_client_encoding    PGUID 12 f t f t 0 f 19 "0" 100 0 0 100  pg_client_encoding - ));
2154 DESCR("encoding name of current database");
2155
2156 DATA(insert OID = 1717 (  convert                  PGUID 12 f t f t 2 f 25 "25 19" 100 0 0 100  pg_convert - ));
2157 DESCR("convert string with specified destination encoding name");
2158
2159 DATA(insert OID = 1813 (  convert                  PGUID 12 f t f t 3 f 25 "25 19 19" 100 0 0 100  pg_convert2 - ));
2160 DESCR("convert string with specified encoding names");
2161
2162 DATA(insert OID = 1264 (  pg_char_to_encoding      PGUID 12 f t f t 1 f 23 "19" 100 0 0 100  PG_char_to_encoding - ));
2163 DESCR("convert encoding name to encoding id");
2164
2165 DATA(insert OID = 1597 (  pg_encoding_to_char      PGUID 12 f t f t 1 f 19 "23" 100 0 0 100  PG_encoding_to_char - ));
2166 DESCR("convert encoding id to encoding name");
2167
2168 DATA(insert OID = 1638 (  oidgt                            PGUID 12 f t t t 2 f 16 "26 26" 100 0 0 100  oidgt - ));
2169 DESCR("greater-than");
2170 DATA(insert OID = 1639 (  oidge                            PGUID 12 f t t t 2 f 16 "26 26" 100 0 0 100  oidge - ));
2171 DESCR("greater-than-or-equal");
2172
2173 /* System-view support functions */
2174 DATA(insert OID = 1640 (  pg_get_ruledef           PGUID 12 f t f t 1 f 25 "19" 100 0 0 100  pg_get_ruledef - ));
2175 DESCR("source text of a rule");
2176 DATA(insert OID = 1641 (  pg_get_viewdef           PGUID 12 f t f t 1 f 25 "19" 100 0 0 100  pg_get_viewdef - ));
2177 DESCR("select statement of a view");
2178 DATA(insert OID = 1642 (  pg_get_userbyid          PGUID 12 f t f t 1 f 19 "23" 100 0 0 100  pg_get_userbyid - ));
2179 DESCR("user name by UID (with fallback)");
2180 DATA(insert OID = 1643 (  pg_get_indexdef          PGUID 12 f t f t 1 f 25 "26" 100 0 0 100  pg_get_indexdef - ));
2181 DESCR("index description");
2182 DATA(insert OID = 1716 (  pg_get_expr              PGUID 12 f t f t 2 f 25 "25 26" 100 0 0 100  pg_get_expr - ));
2183 DESCR("deparse an encoded expression");
2184
2185
2186 /* Generic referential integrity constraint triggers */
2187 DATA(insert OID = 1644 (  RI_FKey_check_ins             PGUID 12 f t f t 0 f 0 "" 100 0 0 100  RI_FKey_check_ins - ));
2188 DESCR("referential integrity FOREIGN KEY ... REFERENCES");
2189 DATA(insert OID = 1645 (  RI_FKey_check_upd             PGUID 12 f t f t 0 f 0 "" 100 0 0 100  RI_FKey_check_upd - ));
2190 DESCR("referential integrity FOREIGN KEY ... REFERENCES");
2191 DATA(insert OID = 1646 (  RI_FKey_cascade_del   PGUID 12 f t f t 0 f 0 "" 100 0 0 100  RI_FKey_cascade_del - ));
2192 DESCR("referential integrity ON DELETE CASCADE");
2193 DATA(insert OID = 1647 (  RI_FKey_cascade_upd   PGUID 12 f t f t 0 f 0 "" 100 0 0 100  RI_FKey_cascade_upd - ));
2194 DESCR("referential integrity ON UPDATE CASCADE");
2195 DATA(insert OID = 1648 (  RI_FKey_restrict_del  PGUID 12 f t f t 0 f 0 "" 100 0 0 100  RI_FKey_restrict_del - ));
2196 DESCR("referential integrity ON DELETE RESTRICT");
2197 DATA(insert OID = 1649 (  RI_FKey_restrict_upd  PGUID 12 f t f t 0 f 0 "" 100 0 0 100  RI_FKey_restrict_upd - ));
2198 DESCR("referential integrity ON UPDATE RESTRICT");
2199 DATA(insert OID = 1650 (  RI_FKey_setnull_del   PGUID 12 f t f t 0 f 0 "" 100 0 0 100  RI_FKey_setnull_del - ));
2200 DESCR("referential integrity ON DELETE SET NULL");
2201 DATA(insert OID = 1651 (  RI_FKey_setnull_upd   PGUID 12 f t f t 0 f 0 "" 100 0 0 100  RI_FKey_setnull_upd - ));
2202 DESCR("referential integrity ON UPDATE SET NULL");
2203 DATA(insert OID = 1652 (  RI_FKey_setdefault_del PGUID 12 f t f t 0 f 0 "" 100 0 0 100  RI_FKey_setdefault_del - ));
2204 DESCR("referential integrity ON DELETE SET DEFAULT");
2205 DATA(insert OID = 1653 (  RI_FKey_setdefault_upd PGUID 12 f t f t 0 f 0 "" 100 0 0 100  RI_FKey_setdefault_upd - ));
2206 DESCR("referential integrity ON UPDATE SET DEFAULT");
2207 DATA(insert OID = 1654 (  RI_FKey_noaction_del PGUID 12 f t f t 0 f 0 "" 100 0 0 100  RI_FKey_noaction_del - ));
2208 DESCR("referential integrity ON DELETE NO ACTION");
2209 DATA(insert OID = 1655 (  RI_FKey_noaction_upd PGUID 12 f t f t 0 f 0 "" 100 0 0 100  RI_FKey_noaction_upd - ));
2210 DESCR("referential integrity ON UPDATE NO ACTION");
2211
2212 DATA(insert OID = 1666 (  varbiteq                      PGUID 12 f t t t 2 f 16 "1562 1562" 100 0 0 100  biteq - ));
2213 DESCR("equal");
2214 DATA(insert OID = 1667 (  varbitne                      PGUID 12 f t t t 2 f 16 "1562 1562" 100 0 0 100  bitne - ));
2215 DESCR("not equal");
2216 DATA(insert OID = 1668 (  varbitge                      PGUID 12 f t t t 2 f 16 "1562 1562" 100 0 0 100  bitge - ));
2217 DESCR("greater than or equal");
2218 DATA(insert OID = 1669 (  varbitgt                      PGUID 12 f t t t 2 f 16 "1562 1562" 100 0 0 100  bitgt - ));
2219 DESCR("greater than");
2220 DATA(insert OID = 1670 (  varbitle                      PGUID 12 f t t t 2 f 16 "1562 1562" 100 0 0 100  bitle - ));
2221 DESCR("less than or equal");
2222 DATA(insert OID = 1671 (  varbitlt                      PGUID 12 f t t t 2 f 16 "1562 1562" 100 0 0 100  bitlt - ));
2223 DESCR("less than");
2224 DATA(insert OID = 1672 (  varbitcmp                     PGUID 12 f t t t 2 f 23 "1562 1562" 100 0 0 100  bitcmp - ));
2225 DESCR("compare");
2226
2227 DATA(insert OID = 1673 (  bitand                        PGUID 12 f t t t 2 f 1560 "1560 1560" 100 0 0 100  bitand - ));
2228 DESCR("bitwise and");
2229 DATA(insert OID = 1674 (  bitor                         PGUID 12 f t t t 2 f 1560 "1560 1560" 100 0 0 100  bitor - ));
2230 DESCR("bitwise or");
2231 DATA(insert OID = 1675 (  bitxor                        PGUID 12 f t t t 2 f 1560 "1560 1560" 100 0 0 100  bitxor - ));
2232 DESCR("bitwise exclusive or");
2233 DATA(insert OID = 1676 (  bitnot                        PGUID 12 f t t t 1 f 1560 "1560" 100 0 0 100  bitnot - ));
2234 DESCR("bitwise negation");
2235 DATA(insert OID = 1677 (  bitshiftleft          PGUID 12 f t t t 2 f 1560 "1560 23" 100 0 0 100  bitshiftleft - ));
2236 DESCR("bitwise left shift");
2237 DATA(insert OID = 1678 (  bitshiftright         PGUID 12 f t t t 2 f 1560 "1560 23" 100 0 0 100  bitshiftright - ));
2238 DESCR("bitwise right shift");
2239 DATA(insert OID = 1679 (  bitcat                        PGUID 12 f t t t 2 f 1560 "1560 1560" 100 0 0 100  bitcat - ));
2240 DESCR("bitwise concatenation");
2241 DATA(insert OID = 1680 (  substring                     PGUID 12 f t t t 3 f 1560 "1560 23 23" 100 0 0 100      bitsubstr - ));
2242 DESCR("return portion of bitstring");
2243 DATA(insert OID = 1681 (  length                        PGUID 12 f t t t 1 f 23 "1560" 100 0 0 100      bitlength - ));
2244 DESCR("bitstring length");
2245 DATA(insert OID = 1682 (  octet_length          PGUID 12 f t t t 1 f 23 "1560" 100 0 0 100      bitoctetlength - ));
2246 DESCR("octet length");
2247 DATA(insert OID = 1683 (  bitfromint4           PGUID 12 f t t t 1 f 1560 "23" 100 0 0 100      bitfromint4 - ));
2248 DESCR("int4 to bitstring");
2249 DATA(insert OID = 1684 (  bittoint4                     PGUID 12 f t t t 1 f 23 "1560" 100 0 0 100      bittoint4 - ));
2250 DESCR("bitstring to int4");
2251
2252 DATA(insert OID = 1685 (  bit                      PGUID 12 f t t t 2 f 1560 "1560 23" 100 0 0 100      bit - ));
2253 DESCR("adjust bit() to typmod length");
2254 DATA(insert OID = 1686 (  _bit                     PGUID 12 f t t t 2 f 1561 "1561 23" 100 0 0 100      _bit - ));
2255 DESCR("adjust bit()[] to typmod length");
2256 DATA(insert OID = 1687 (  varbit                   PGUID 12 f t t t 2 f 1562 "1562 23" 100 0 0 100      varbit - ));
2257 DESCR("adjust varbit() to typmod length");
2258 DATA(insert OID = 1688 (  _varbit                  PGUID 12 f t t t 2 f 1563 "1563 23" 100 0 0 100      _varbit - ));
2259 DESCR("adjust varbit()[] to typmod length");
2260
2261 DATA(insert OID = 1698 (  position                 PGUID 12 f t t t 2 f 23 "1560 1560" 100 0 0 100 bitposition - ));
2262 DESCR("return position of sub-bitstring");
2263 DATA(insert OID = 1699 (  substring                     PGUID 14 f t t t 2 f 1560 "1560 23" 100 0 0 100  "select substring($1, $2, -1)" - ));
2264 DESCR("return portion of bitstring");
2265
2266
2267 /* for mac type support */
2268 DATA(insert OID = 436 (  macaddr_in                     PGUID 12 f t t t 1 f 829 "0" 100 0 0 100  macaddr_in - ));
2269 DESCR("(internal)");
2270 DATA(insert OID = 437 (  macaddr_out            PGUID 12 f t t t 1 f 23 "0" 100 0 0 100  macaddr_out - ));
2271 DESCR("(internal)");
2272
2273 DATA(insert OID = 752 (  text                           PGUID 12 f t t t 1 f 25 "829" 100 0 0 100  macaddr_text - ));
2274 DESCR("MAC address to text");
2275 DATA(insert OID = 753 (  trunc                          PGUID 12 f t t t 1 f 829 "829" 100 0 0 100      macaddr_trunc - ));
2276 DESCR("MAC manufacturer fields");
2277 DATA(insert OID = 767 (  macaddr                        PGUID 12 f t t t 1 f 829 "25" 100 0 0 100  text_macaddr - ));
2278 DESCR("text to MAC address");
2279
2280 DATA(insert OID = 830 (  macaddr_eq                     PGUID 12 f t t t 2 f 16 "829 829" 100 0 0 100  macaddr_eq - ));
2281 DESCR("equal");
2282 DATA(insert OID = 831 (  macaddr_lt                     PGUID 12 f t t t 2 f 16 "829 829" 100 0 0 100  macaddr_lt - ));
2283 DESCR("less-than");
2284 DATA(insert OID = 832 (  macaddr_le                     PGUID 12 f t t t 2 f 16 "829 829" 100 0 0 100  macaddr_le - ));
2285 DESCR("less-than-or-equal");
2286 DATA(insert OID = 833 (  macaddr_gt                     PGUID 12 f t t t 2 f 16 "829 829" 100 0 0 100  macaddr_gt - ));
2287 DESCR("greater-than");
2288 DATA(insert OID = 834 (  macaddr_ge                     PGUID 12 f t t t 2 f 16 "829 829" 100 0 0 100  macaddr_ge - ));
2289 DESCR("greater-than-or-equal");
2290 DATA(insert OID = 835 (  macaddr_ne                     PGUID 12 f t t t 2 f 16 "829 829" 100 0 0 100  macaddr_ne - ));
2291 DESCR("not equal");
2292 DATA(insert OID = 836 (  macaddr_cmp            PGUID 12 f t t t 2 f 23 "829 829" 100 0 0 100  macaddr_cmp - ));
2293 DESCR("less-equal-greater");
2294
2295 /* for inet type support */
2296 DATA(insert OID = 910 (  inet_in                        PGUID 12 f t t t 1 f 869 "0" 100 0 0 100  inet_in - ));
2297 DESCR("(internal)");
2298 DATA(insert OID = 911 (  inet_out                       PGUID 12 f t t t 1 f 23 "0" 100 0 0 100  inet_out - ));
2299 DESCR("(internal)");
2300
2301 /* for cidr type support */
2302 DATA(insert OID = 1267 (  cidr_in                       PGUID 12 f t t t 1 f 650 "0" 100 0 0 100  cidr_in - ));
2303 DESCR("(internal)");
2304 DATA(insert OID = 1427 (  cidr_out                      PGUID 12 f t t t 1 f 23 "0" 100 0 0 100  cidr_out - ));
2305 DESCR("(internal)");
2306
2307 /* these are used for both inet and cidr */
2308 DATA(insert OID = 920 (  network_eq                     PGUID 12 f t t t 2 f 16 "869 869" 100 0 0 100  network_eq - ));
2309 DESCR("equal");
2310 DATA(insert OID = 921 (  network_lt                     PGUID 12 f t t t 2 f 16 "869 869" 100 0 0 100  network_lt - ));
2311 DESCR("less-than");
2312 DATA(insert OID = 922 (  network_le                     PGUID 12 f t t t 2 f 16 "869 869" 100 0 0 100  network_le - ));
2313 DESCR("less-than-or-equal");
2314 DATA(insert OID = 923 (  network_gt                     PGUID 12 f t t t 2 f 16 "869 869" 100 0 0 100  network_gt - ));
2315 DESCR("greater-than");
2316 DATA(insert OID = 924 (  network_ge                     PGUID 12 f t t t 2 f 16 "869 869" 100 0 0 100  network_ge - ));
2317 DESCR("greater-than-or-equal");
2318 DATA(insert OID = 925 (  network_ne                     PGUID 12 f t t t 2 f 16 "869 869" 100 0 0 100  network_ne - ));
2319 DESCR("not equal");
2320 DATA(insert OID = 926 (  network_cmp            PGUID 12 f t t t 2 f 23 "869 869" 100 0 0 100  network_cmp - ));
2321 DESCR("less-equal-greater");
2322 DATA(insert OID = 927 (  network_sub            PGUID 12 f t t t 2 f 16 "869 869" 100 0 0 100  network_sub - ));
2323 DESCR("is-subnet");
2324 DATA(insert OID = 928 (  network_subeq          PGUID 12 f t t t 2 f 16 "869 869" 100 0 0 100  network_subeq - ));
2325 DESCR("is-subnet-or-equal");
2326 DATA(insert OID = 929 (  network_sup            PGUID 12 f t t t 2 f 16 "869 869" 100 0 0 100  network_sup - ));
2327 DESCR("is-supernet");
2328 DATA(insert OID = 930 (  network_supeq          PGUID 12 f t t t 2 f 16 "869 869" 100 0 0 100  network_supeq - ));
2329 DESCR("is-supernet-or-equal");
2330
2331 /* inet/cidr functions */
2332 DATA(insert OID = 605 (  abbrev                         PGUID 12 f t t t 1 f 25 "869" 100 0 0 100  network_abbrev - ));
2333 DESCR("abbreviated display of inet/cidr value");
2334 DATA(insert OID = 683 (  network                        PGUID 12 f t t t 1 f 650 "869" 100 0 0 100      network_network - ));
2335 DESCR("network part of address");
2336 DATA(insert OID = 696 (  netmask                        PGUID 12 f t t t 1 f 869 "869" 100 0 0 100      network_netmask - ));
2337 DESCR("netmask of address");
2338 DATA(insert OID = 697 (  masklen                        PGUID 12 f t t t 1 f 23 "869" 100 0 0 100  network_masklen - ));
2339 DESCR("netmask length");
2340 DATA(insert OID = 698 (  broadcast                      PGUID 12 f t t t 1 f 869 "869" 100 0 0 100      network_broadcast - ));
2341 DESCR("broadcast address of network");
2342 DATA(insert OID = 699 (  host                           PGUID 12 f t t t 1 f 25 "869" 100 0 0 100  network_host - ));
2343 DESCR("show address octets only");
2344 DATA(insert OID = 730 (  text                           PGUID 12 f t t t 1 f 25 "869" 100 0 0 100  network_show - ));
2345 DESCR("show all parts of inet/cidr value");
2346 DATA(insert OID = 1713 (  inet                          PGUID 12 f t t t 1 f 869 "25" 100 0 0 100  text_inet - ));
2347 DESCR("text to inet");
2348 DATA(insert OID = 1714 (  cidr                          PGUID 12 f t t t 1 f 650 "25" 100 0 0 100  text_cidr - ));
2349 DESCR("text to cidr");
2350 DATA(insert OID = 1715 (  set_masklen           PGUID 12 f t t t 2 f 869 "869 23" 100 0 0 100  inet_set_masklen - ));
2351 DESCR("change the netmask of an inet");
2352
2353 DATA(insert OID = 1690 ( time_mi_time           PGUID 12 f t t t 2 f 1186 "1083 1083" 100 0 0 100  time_mi_time - ));
2354 DESCR("minus");
2355
2356 DATA(insert OID =  1691 (  boolle                       PGUID 12 f t t t 2 f 16 "16 16" 100 0 0 100  boolle - ));
2357 DESCR("less-than-or-equal");
2358 DATA(insert OID =  1692 (  boolge                       PGUID 12 f t t t 2 f 16 "16 16" 100 0 0 100  boolge - ));
2359 DESCR("greater-than-or-equal");
2360 DATA(insert OID = 1693 (  btboolcmp                     PGUID 12 f t t t 2 f 23 "16 16" 100 0 0 100  btboolcmp - ));
2361 DESCR("btree less-equal-greater");
2362
2363 DATA(insert OID = 1696 (  timetz_hash           PGUID 12 f t t t 1 f 23 "1266" 100 0 0 100      timetz_hash - ));
2364 DESCR("hash");
2365 DATA(insert OID = 1697 (  interval_hash         PGUID 12 f t t t 1 f 23 "1186" 100 0 0 100      interval_hash - ));
2366 DESCR("hash");
2367
2368
2369 /* OID's 1700 - 1799 NUMERIC data type */
2370 DATA(insert OID = 1701 ( numeric_in                             PGUID 12 f t t t 3 f 1700 "0 26 23" 100 0 0 100  numeric_in - ));
2371 DESCR("(internal)");
2372 DATA(insert OID = 1702 ( numeric_out                    PGUID 12 f t t t 1 f 23 "0" 100 0 0 100  numeric_out - ));
2373 DESCR("(internal)");
2374 DATA(insert OID = 1703 ( numeric                                PGUID 12 f t t t 2 f 1700 "1700 23" 100 0 0 100  numeric - ));
2375 DESCR("adjust numeric to typmod precision/scale");
2376 DATA(insert OID = 1704 ( numeric_abs                    PGUID 12 f t t t 1 f 1700 "1700" 100 0 0 100  numeric_abs - ));
2377 DESCR("absolute value");
2378 DATA(insert OID = 1705 ( abs                                    PGUID 12 f t t t 1 f 1700 "1700" 100 0 0 100  numeric_abs - ));
2379 DESCR("absolute value");
2380 DATA(insert OID = 1706 ( sign                                   PGUID 12 f t t t 1 f 1700 "1700" 100 0 0 100  numeric_sign - ));
2381 DESCR("sign of value");
2382 DATA(insert OID = 1707 ( round                                  PGUID 12 f t t t 2 f 1700 "1700 23" 100 0 0 100  numeric_round - ));
2383 DESCR("value rounded to 'scale'");
2384 DATA(insert OID = 1708 ( round                                  PGUID 14 f t t t 1 f 1700 "1700" 100 0 0 100  "select round($1,0)" - ));
2385 DESCR("value rounded to 'scale' of zero");
2386 DATA(insert OID = 1709 ( trunc                                  PGUID 12 f t t t 2 f 1700 "1700 23" 100 0 0 100  numeric_trunc - ));
2387 DESCR("value truncated to 'scale'");
2388 DATA(insert OID = 1710 ( trunc                                  PGUID 14 f t t t 1 f 1700 "1700" 100 0 0 100  "select trunc($1,0)" - ));
2389 DESCR("value truncated to 'scale' of zero");
2390 DATA(insert OID = 1711 ( ceil                                   PGUID 12 f t t t 1 f 1700 "1700" 100 0 0 100  numeric_ceil - ));
2391 DESCR("smallest integer >= value");
2392 DATA(insert OID = 1712 ( floor                                  PGUID 12 f t t t 1 f 1700 "1700" 100 0 0 100  numeric_floor - ));
2393 DESCR("largest integer <= value");
2394 DATA(insert OID = 1718 ( numeric_eq                             PGUID 12 f t t t 2 f 16 "1700 1700" 100 0 0 100  numeric_eq - ));
2395 DESCR("equal");
2396 DATA(insert OID = 1719 ( numeric_ne                             PGUID 12 f t t t 2 f 16 "1700 1700" 100 0 0 100  numeric_ne - ));
2397 DESCR("not equal");
2398 DATA(insert OID = 1720 ( numeric_gt                             PGUID 12 f t t t 2 f 16 "1700 1700" 100 0 0 100  numeric_gt - ));
2399 DESCR("greater-than");
2400 DATA(insert OID = 1721 ( numeric_ge                             PGUID 12 f t t t 2 f 16 "1700 1700" 100 0 0 100  numeric_ge - ));
2401 DESCR("greater-than-or-equal");
2402 DATA(insert OID = 1722 ( numeric_lt                             PGUID 12 f t t t 2 f 16 "1700 1700" 100 0 0 100  numeric_lt - ));
2403 DESCR("less-than");
2404 DATA(insert OID = 1723 ( numeric_le                             PGUID 12 f t t t 2 f 16 "1700 1700" 100 0 0 100  numeric_le - ));
2405 DESCR("less-than-or-equal");
2406 DATA(insert OID = 1724 ( numeric_add                    PGUID 12 f t t t 2 f 1700 "1700 1700" 100 0 0 100  numeric_add - ));
2407 DESCR("add");
2408 DATA(insert OID = 1725 ( numeric_sub                    PGUID 12 f t t t 2 f 1700 "1700 1700" 100 0 0 100  numeric_sub - ));
2409 DESCR("subtract");
2410 DATA(insert OID = 1726 ( numeric_mul                    PGUID 12 f t t t 2 f 1700 "1700 1700" 100 0 0 100  numeric_mul - ));
2411 DESCR("multiply");
2412 DATA(insert OID = 1727 ( numeric_div                    PGUID 12 f t t t 2 f 1700 "1700 1700" 100 0 0 100  numeric_div - ));
2413 DESCR("divide");
2414 DATA(insert OID = 1728 ( mod                                    PGUID 12 f t t t 2 f 1700 "1700 1700" 100 0 0 100  numeric_mod - ));
2415 DESCR("modulus");
2416 DATA(insert OID = 1729 ( numeric_mod                    PGUID 12 f t t t 2 f 1700 "1700 1700" 100 0 0 100  numeric_mod - ));
2417 DESCR("modulus");
2418 DATA(insert OID = 1730 ( sqrt                                   PGUID 12 f t t t 1 f 1700 "1700" 100 0 0 100  numeric_sqrt - ));
2419 DESCR("square root");
2420 DATA(insert OID = 1731 ( numeric_sqrt                   PGUID 12 f t t t 1 f 1700 "1700" 100 0 0 100  numeric_sqrt - ));
2421 DESCR("square root");
2422 DATA(insert OID = 1732 ( exp                                    PGUID 12 f t t t 1 f 1700 "1700" 100 0 0 100  numeric_exp - ));
2423 DESCR("e raised to the power of n");
2424 DATA(insert OID = 1733 ( numeric_exp                    PGUID 12 f t t t 1 f 1700 "1700" 100 0 0 100  numeric_exp - ));
2425 DESCR("e raised to the power of n");
2426 DATA(insert OID = 1734 ( ln                                             PGUID 12 f t t t 1 f 1700 "1700" 100 0 0 100  numeric_ln - ));
2427 DESCR("natural logarithm of n");
2428 DATA(insert OID = 1735 ( numeric_ln                             PGUID 12 f t t t 1 f 1700 "1700" 100 0 0 100  numeric_ln - ));
2429 DESCR("natural logarithm of n");
2430 DATA(insert OID = 1736 ( log                                    PGUID 12 f t t t 2 f 1700 "1700 1700" 100 0 0 100  numeric_log - ));
2431 DESCR("logarithm base m of n");
2432 DATA(insert OID = 1737 ( numeric_log                    PGUID 12 f t t t 2 f 1700 "1700 1700" 100 0 0 100  numeric_log - ));
2433 DESCR("logarithm base m of n");
2434 DATA(insert OID = 1738 ( pow                                    PGUID 12 f t t t 2 f 1700 "1700 1700" 100 0 0 100  numeric_power - ));
2435 DESCR("m raised to the power of n");
2436 DATA(insert OID = 1739 ( numeric_power                  PGUID 12 f t t t 2 f 1700 "1700 1700" 100 0 0 100  numeric_power - ));
2437 DESCR("m raised to the power of n");
2438 DATA(insert OID = 1740 ( numeric                                PGUID 12 f t t t 1 f 1700 "23" 100 0 0 100      int4_numeric - ));
2439 DESCR("(internal)");
2440 DATA(insert OID = 1741 ( log                                    PGUID 14 f t t t 1 f 1700 "1700" 100 0 0 100  "select log(10, $1)" - ));
2441 DESCR("logarithm base 10 of n");
2442 DATA(insert OID = 1742 ( numeric                                PGUID 12 f t t t 1 f 1700 "700" 100 0 0 100  float4_numeric - ));
2443 DESCR("(internal)");
2444 DATA(insert OID = 1743 ( numeric                                PGUID 12 f t t t 1 f 1700 "701" 100 0 0 100  float8_numeric - ));
2445 DESCR("(internal)");
2446 DATA(insert OID = 1744 ( int4                                   PGUID 12 f t t t 1 f 23 "1700" 100 0 0 100      numeric_int4 - ));
2447 DESCR("(internal)");
2448 DATA(insert OID = 1745 ( float4                                 PGUID 12 f t t t 1 f 700 "1700" 100 0 0 100  numeric_float4 - ));
2449 DESCR("(internal)");
2450 DATA(insert OID = 1746 ( float8                                 PGUID 12 f t t t 1 f 701 "1700" 100 0 0 100  numeric_float8 - ));
2451 DESCR("(internal)");
2452
2453 DATA(insert OID = 1747 ( time_pl_interval               PGUID 12 f t t t 2 f 1083 "1083 1186" 100 0 0 100  time_pl_interval - ));
2454 DESCR("plus");
2455 DATA(insert OID = 1748 ( time_mi_interval               PGUID 12 f t t t 2 f 1083 "1083 1186" 100 0 0 100  time_mi_interval - ));
2456 DESCR("minus");
2457 DATA(insert OID = 1749 ( timetz_pl_interval             PGUID 12 f t t t 2 f 1266 "1266 1186" 100 0 0 100  timetz_pl_interval - ));
2458 DESCR("plus");
2459 DATA(insert OID = 1750 ( timetz_mi_interval             PGUID 12 f t t t 2 f 1266 "1266 1186" 100 0 0 100  timetz_mi_interval - ));
2460 DESCR("minus");
2461
2462 DATA(insert OID = 1764 ( numeric_inc                    PGUID 12 f t t t 1 f 1700 "1700" 100 0 0 100  numeric_inc - ));
2463 DESCR("increment by one");
2464 DATA(insert OID = 1766 ( numeric_smaller                PGUID 12 f t t t 2 f 1700 "1700 1700" 100 0 0 100  numeric_smaller - ));
2465 DESCR("smaller of two numbers");
2466 DATA(insert OID = 1767 ( numeric_larger                 PGUID 12 f t t t 2 f 1700 "1700 1700" 100 0 0 100  numeric_larger - ));
2467 DESCR("larger of two numbers");
2468 DATA(insert OID = 1769 ( numeric_cmp                    PGUID 12 f t t t 2 f 23 "1700 1700" 100 0 0 100  numeric_cmp - ));
2469 DESCR("compare two numbers");
2470 DATA(insert OID = 1771 ( numeric_uminus                 PGUID 12 f t t t 1 f 1700 "1700" 100 0 0 100  numeric_uminus - ));
2471 DESCR("negate");
2472 DATA(insert OID = 1779 ( int8                                   PGUID 12 f t t t 1 f 20 "1700" 100 0 0 100      numeric_int8 - ));
2473 DESCR("(internal)");
2474 DATA(insert OID = 1781 ( numeric                                PGUID 12 f t t t 1 f 1700 "20" 100 0 0 100      int8_numeric - ));
2475 DESCR("(internal)");
2476 DATA(insert OID = 1782 ( numeric                                PGUID 12 f t t t 1 f 1700 "21" 100 0 0 100      int2_numeric - ));
2477 DESCR("(internal)");
2478 DATA(insert OID = 1783 ( int2                                   PGUID 12 f t t t 1 f 21 "1700" 100 0 0 100      numeric_int2 - ));
2479 DESCR("(internal)");
2480
2481 /* formatting */
2482 DATA(insert OID = 1770 ( to_char                        PGUID 12 f t f t 2 f    25 "1184 25" 100 0 0 100  timestamptz_to_char - ));
2483 DESCR("format timestamp with time zone to text");
2484 DATA(insert OID = 1772 ( to_char                        PGUID 12 f t t t 2 f    25 "1700 25" 100 0 0 100  numeric_to_char - ));
2485 DESCR("format numeric to text");
2486 DATA(insert OID = 1773 ( to_char                        PGUID 12 f t t t 2 f    25 "23 25" 100 0 0 100  int4_to_char - ));
2487 DESCR("format int4 to text");
2488 DATA(insert OID = 1774 ( to_char                        PGUID 12 f t t t 2 f    25 "20 25" 100 0 0 100  int8_to_char - ));
2489 DESCR("format int8 to text");
2490 DATA(insert OID = 1775 ( to_char                        PGUID 12 f t t t 2 f    25 "700 25" 100 0 0 100  float4_to_char - ));
2491 DESCR("format float4 to text");
2492 DATA(insert OID = 1776 ( to_char                        PGUID 12 f t t t 2 f    25 "701 25" 100 0 0 100  float8_to_char - ));
2493 DESCR("format float8 to text");
2494 DATA(insert OID = 1777 ( to_number                      PGUID 12 f t t t 2 f    1700 "25 25" 100 0 0 100  numeric_to_number - ));
2495 DESCR("convert text to numeric");
2496 DATA(insert OID = 1778 ( to_timestamp           PGUID 12 f t f t 2 f    1184 "25 25" 100 0 0 100  to_timestamp - ));
2497 DESCR("convert text to timestamp");
2498 DATA(insert OID = 1780 ( to_date                        PGUID 12 f t t t 2 f    1082 "25 25" 100 0 0 100  to_date - ));
2499 DESCR("convert text to date");
2500 DATA(insert OID = 1768 ( to_char                        PGUID 12 f t t t 2 f    25 "1186 25" 100 0 0 100  interval_to_char - ));
2501 DESCR("format interval to text");
2502
2503 DATA(insert OID =  1282 ( quote_ident      PGUID 12 f t t t 1 f 25 "25" 100 0 0 100 quote_ident - ));
2504 DESCR("quote an identifier for usage in a querystring");
2505 DATA(insert OID =  1283 ( quote_literal    PGUID 12 f t t t 1 f 25 "25" 100 0 0 100 quote_literal - ));
2506 DESCR("quote a literal for usage in a querystring");
2507
2508 DATA(insert OID = 1798 (  oidin                    PGUID 12 f t t t 1 f 26 "0" 100 0 0 100      oidin - ));
2509 DESCR("(internal)");
2510 DATA(insert OID = 1799 (  oidout                   PGUID 12 f t t t 1 f 23 "0" 100 0 0 100      oidout - ));
2511 DESCR("(internal)");
2512
2513
2514 DATA(insert OID = 1810 (  bit_length       PGUID 14 f t t t 1 f 23 "17" 100 0 0 100 "select octet_length($1) * 8" - ));
2515 DESCR("length in bits");
2516 DATA(insert OID = 1811 (  bit_length       PGUID 14 f t t t 1 f 23 "25" 100 0 0 100 "select octet_length($1) * 8" - ));
2517 DESCR("length in bits");
2518 DATA(insert OID = 1812 (  bit_length       PGUID 14 f t t t 1 f 23 "1560" 100 0 0 100 "select length($1)" - ));
2519 DESCR("length in bits");
2520
2521 /* Selectivity estimators for LIKE and related operators */
2522 DATA(insert OID = 1814 ( iclikesel                      PGUID 12 f t f t 4 f 701 "0 26 0 23" 100 0 0 100  iclikesel - ));
2523 DESCR("restriction selectivity of ILIKE");
2524 DATA(insert OID = 1815 ( icnlikesel                     PGUID 12 f t f t 4 f 701 "0 26 0 23" 100 0 0 100  icnlikesel - ));
2525 DESCR("restriction selectivity of NOT ILIKE");
2526 DATA(insert OID = 1816 ( iclikejoinsel          PGUID 12 f t f t 3 f 701 "0 26 0" 100 0 0 100  iclikejoinsel - ));
2527 DESCR("join selectivity of ILIKE");
2528 DATA(insert OID = 1817 ( icnlikejoinsel         PGUID 12 f t f t 3 f 701 "0 26 0" 100 0 0 100  icnlikejoinsel - ));
2529 DESCR("join selectivity of NOT ILIKE");
2530 DATA(insert OID = 1818 ( regexeqsel                     PGUID 12 f t f t 4 f 701 "0 26 0 23" 100 0 0 100  regexeqsel - ));
2531 DESCR("restriction selectivity of regex match");
2532 DATA(insert OID = 1819 ( likesel                        PGUID 12 f t f t 4 f 701 "0 26 0 23" 100 0 0 100  likesel - ));
2533 DESCR("restriction selectivity of LIKE");
2534 DATA(insert OID = 1820 ( icregexeqsel           PGUID 12 f t f t 4 f 701 "0 26 0 23" 100 0 0 100  icregexeqsel - ));
2535 DESCR("restriction selectivity of case-insensitive regex match");
2536 DATA(insert OID = 1821 ( regexnesel                     PGUID 12 f t f t 4 f 701 "0 26 0 23" 100 0 0 100  regexnesel - ));
2537 DESCR("restriction selectivity of regex non-match");
2538 DATA(insert OID = 1822 ( nlikesel                       PGUID 12 f t f t 4 f 701 "0 26 0 23" 100 0 0 100  nlikesel - ));
2539 DESCR("restriction selectivity of NOT LIKE");
2540 DATA(insert OID = 1823 ( icregexnesel           PGUID 12 f t f t 4 f 701 "0 26 0 23" 100 0 0 100  icregexnesel - ));
2541 DESCR("restriction selectivity of case-insensitive regex non-match");
2542 DATA(insert OID = 1824 ( regexeqjoinsel         PGUID 12 f t f t 3 f 701 "0 26 0" 100 0 0 100  regexeqjoinsel - ));
2543 DESCR("join selectivity of regex match");
2544 DATA(insert OID = 1825 ( likejoinsel            PGUID 12 f t f t 3 f 701 "0 26 0" 100 0 0 100  likejoinsel - ));
2545 DESCR("join selectivity of LIKE");
2546 DATA(insert OID = 1826 ( icregexeqjoinsel       PGUID 12 f t f t 3 f 701 "0 26 0" 100 0 0 100  icregexeqjoinsel - ));
2547 DESCR("join selectivity of case-insensitive regex match");
2548 DATA(insert OID = 1827 ( regexnejoinsel         PGUID 12 f t f t 3 f 701 "0 26 0" 100 0 0 100  regexnejoinsel - ));
2549 DESCR("join selectivity of regex non-match");
2550 DATA(insert OID = 1828 ( nlikejoinsel           PGUID 12 f t f t 3 f 701 "0 26 0" 100 0 0 100  nlikejoinsel - ));
2551 DESCR("join selectivity of NOT LIKE");
2552 DATA(insert OID = 1829 ( icregexnejoinsel       PGUID 12 f t f t 3 f 701 "0 26 0" 100 0 0 100  icregexnejoinsel - ));
2553 DESCR("join selectivity of case-insensitive regex non-match");
2554
2555 /* Aggregate-related functions */
2556 DATA(insert OID = 1830 (  float8_avg       PGUID 12 f t t t 1 f 701 "1022" 100 0 0 100  float8_avg - ));
2557 DESCR("AVG aggregate final function");
2558 DATA(insert OID = 1831 (  float8_variance  PGUID 12 f t t t 1 f 701 "1022" 100 0 0 100  float8_variance - ));
2559 DESCR("VARIANCE aggregate final function");
2560 DATA(insert OID = 1832 (  float8_stddev    PGUID 12 f t t t 1 f 701 "1022" 100 0 0 100  float8_stddev - ));
2561 DESCR("STDDEV aggregate final function");
2562 DATA(insert OID = 1833 (  numeric_accum    PGUID 12 f t t t 2 f 1231 "1231 1700" 100 0 0 100  numeric_accum - ));
2563 DESCR("aggregate transition function");
2564 DATA(insert OID = 1834 (  int2_accum       PGUID 12 f t t t 2 f 1231 "1231 21" 100 0 0 100      int2_accum - ));
2565 DESCR("aggregate transition function");
2566 DATA(insert OID = 1835 (  int4_accum       PGUID 12 f t t t 2 f 1231 "1231 23" 100 0 0 100      int4_accum - ));
2567 DESCR("aggregate transition function");
2568 DATA(insert OID = 1836 (  int8_accum       PGUID 12 f t t t 2 f 1231 "1231 20" 100 0 0 100      int8_accum - ));
2569 DESCR("aggregate transition function");
2570 DATA(insert OID = 1837 (  numeric_avg      PGUID 12 f t t t 1 f 1700 "1231" 100 0 0 100  numeric_avg - ));
2571 DESCR("AVG aggregate final function");
2572 DATA(insert OID = 1838 (  numeric_variance PGUID 12 f t t t 1 f 1700 "1231" 100 0 0 100  numeric_variance - ));
2573 DESCR("VARIANCE aggregate final function");
2574 DATA(insert OID = 1839 (  numeric_stddev   PGUID 12 f t t t 1 f 1700 "1231" 100 0 0 100  numeric_stddev - ));
2575 DESCR("STDDEV aggregate final function");
2576 DATA(insert OID = 1840 (  int2_sum                 PGUID 12 f t t f 2 f 20 "20 21" 100 0 0 100  int2_sum - ));
2577 DESCR("SUM(int2) transition function");
2578 DATA(insert OID = 1841 (  int4_sum                 PGUID 12 f t t f 2 f 20 "20 23" 100 0 0 100  int4_sum - ));
2579 DESCR("SUM(int4) transition function");
2580 DATA(insert OID = 1842 (  int8_sum                 PGUID 12 f t t f 2 f 1700 "1700 20" 100 0 0 100      int8_sum - ));
2581 DESCR("SUM(int8) transition function");
2582 DATA(insert OID = 1843 (  interval_accum   PGUID 12 f t t t 2 f 1187 "1187 1186" 100 0 0 100  interval_accum - ));
2583 DESCR("aggregate transition function");
2584 DATA(insert OID = 1844 (  interval_avg     PGUID 12 f t t t 1 f 1186 "1187" 100 0 0 100  interval_avg - ));
2585 DESCR("AVG aggregate final function");
2586 DATA(insert OID = 1962 (  int2_avg_accum   PGUID 12 f t t t 2 f 1016 "1016 21" 100 0 0 100      int2_avg_accum - ));
2587 DESCR("AVG(int2) transition function");
2588 DATA(insert OID = 1963 (  int4_avg_accum   PGUID 12 f t t t 2 f 1016 "1016 23" 100 0 0 100      int4_avg_accum - ));
2589 DESCR("AVG(int4) transition function");
2590 DATA(insert OID = 1964 (  int8_avg                 PGUID 12 f t t t 1 f 1700 "1016" 100 0 0 100  int8_avg - ));
2591 DESCR("AVG(int) aggregate final function");
2592
2593 /* To ASCII conversion */
2594 DATA(insert OID = 1845 ( to_ascii       PGUID 12 f t t t 1 f    25 "25" 100 0 0 100  to_ascii_default - ));
2595 DESCR("encode text from DB encoding to ASCII text");
2596 DATA(insert OID = 1846 ( to_ascii       PGUID 12 f t t t 2 f    25 "25 23" 100 0 0 100  to_ascii_enc - ));
2597 DESCR("encode text from encoding to ASCII text");
2598 DATA(insert OID = 1847 ( to_ascii       PGUID 12 f t t t 2 f    25 "25 19" 100 0 0 100  to_ascii_encname - ));
2599 DESCR("encode text from encoding to ASCII text");
2600
2601 DATA(insert OID = 1848 ( interval_pl_time               PGUID 12 f t t t 2 f 1083 "1186 1083" 100 0 0 100  interval_pl_time - ));
2602 DESCR("plus");
2603
2604 DATA(insert OID = 1850 (  int28eq                  PGUID 12 f t t t 2 f 16 "21 20" 100 0 0 100  int28eq - ));
2605 DESCR("equal");
2606 DATA(insert OID = 1851 (  int28ne                  PGUID 12 f t t t 2 f 16 "21 20" 100 0 0 100  int28ne - ));
2607 DESCR("not equal");
2608 DATA(insert OID = 1852 (  int28lt                  PGUID 12 f t t t 2 f 16 "21 20" 100 0 0 100  int28lt - ));
2609 DESCR("less-than");
2610 DATA(insert OID = 1853 (  int28gt                  PGUID 12 f t t t 2 f 16 "21 20" 100 0 0 100  int28gt - ));
2611 DESCR("greater-than");
2612 DATA(insert OID = 1854 (  int28le                  PGUID 12 f t t t 2 f 16 "21 20" 100 0 0 100  int28le - ));
2613 DESCR("less-than-or-equal");
2614 DATA(insert OID = 1855 (  int28ge                  PGUID 12 f t t t 2 f 16 "21 20" 100 0 0 100  int28ge - ));
2615 DESCR("greater-than-or-equal");
2616
2617 DATA(insert OID = 1856 (  int82eq                  PGUID 12 f t t t 2 f 16 "20 21" 100 0 0 100  int82eq - ));
2618 DESCR("equal");
2619 DATA(insert OID = 1857 (  int82ne                  PGUID 12 f t t t 2 f 16 "20 21" 100 0 0 100  int82ne - ));
2620 DESCR("not equal");
2621 DATA(insert OID = 1858 (  int82lt                  PGUID 12 f t t t 2 f 16 "20 21" 100 0 0 100  int82lt - ));
2622 DESCR("less-than");
2623 DATA(insert OID = 1859 (  int82gt                  PGUID 12 f t t t 2 f 16 "20 21" 100 0 0 100  int82gt - ));
2624 DESCR("greater-than");
2625 DATA(insert OID = 1860 (  int82le                  PGUID 12 f t t t 2 f 16 "20 21" 100 0 0 100  int82le - ));
2626 DESCR("less-than-or-equal");
2627 DATA(insert OID = 1861 (  int82ge                  PGUID 12 f t t t 2 f 16 "20 21" 100 0 0 100  int82ge - ));
2628 DESCR("greater-than-or-equal");
2629
2630 DATA(insert OID = 1892 (  int2and                  PGUID 12 f t t t 2 f 21 "21 21" 100 0 0 100  int2and - ));
2631 DESCR("binary and");
2632 DATA(insert OID = 1893 (  int2or                   PGUID 12 f t t t 2 f 21 "21 21" 100 0 0 100  int2or - ));
2633 DESCR("binary or");
2634 DATA(insert OID = 1894 (  int2xor                  PGUID 12 f t t t 2 f 21 "21 21" 100 0 0 100  int2xor - ));
2635 DESCR("binary xor");
2636 DATA(insert OID = 1895 (  int2not                  PGUID 12 f t t t 1 f 21 "21" 100 0 0 100  int2not - ));
2637 DESCR("binary not");
2638 DATA(insert OID = 1896 (  int2shl                  PGUID 12 f t t t 2 f 21 "21 23" 100 0 0 100  int2shl - ));
2639 DESCR("binary shift left");
2640 DATA(insert OID = 1897 (  int2shr                  PGUID 12 f t t t 2 f 21 "21 23" 100 0 0 100  int2shr - ));
2641 DESCR("binary shift right");
2642
2643 DATA(insert OID = 1898 (  int4and                  PGUID 12 f t t t 2 f 23 "23 23" 100 0 0 100  int4and - ));
2644 DESCR("binary and");
2645 DATA(insert OID = 1899 (  int4or                   PGUID 12 f t t t 2 f 23 "23 23" 100 0 0 100  int4or - ));
2646 DESCR("binary or");
2647 DATA(insert OID = 1900 (  int4xor                  PGUID 12 f t t t 2 f 23 "23 23" 100 0 0 100  int4xor - ));
2648 DESCR("binary xor");
2649 DATA(insert OID = 1901 (  int4not                  PGUID 12 f t t t 1 f 23 "23" 100 0 0 100  int4not - ));
2650 DESCR("binary not");
2651 DATA(insert OID = 1902 (  int4shl                  PGUID 12 f t t t 2 f 23 "23 23" 100 0 0 100  int4shl - ));
2652 DESCR("binary shift left");
2653 DATA(insert OID = 1903 (  int4shr                  PGUID 12 f t t t 2 f 23 "23 23" 100 0 0 100  int4shr - ));
2654 DESCR("binary shift right");
2655
2656 DATA(insert OID = 1904 (  int8and                  PGUID 12 f t t t 2 f 20 "20 20" 100 0 0 100  int8and - ));
2657 DESCR("binary and");
2658 DATA(insert OID = 1905 (  int8or                   PGUID 12 f t t t 2 f 20 "20 20" 100 0 0 100  int8or - ));
2659 DESCR("binary or");
2660 DATA(insert OID = 1906 (  int8xor                  PGUID 12 f t t t 2 f 20 "20 20" 100 0 0 100  int8xor - ));
2661 DESCR("binary xor");
2662 DATA(insert OID = 1907 (  int8not                  PGUID 12 f t t t 1 f 20 "20" 100 0 0 100  int8not - ));
2663 DESCR("binary not");
2664 DATA(insert OID = 1908 (  int8shl                  PGUID 12 f t t t 2 f 20 "20 23" 100 0 0 100  int8shl - ));
2665 DESCR("binary shift left");
2666 DATA(insert OID = 1909 (  int8shr                  PGUID 12 f t t t 2 f 20 "20 23" 100 0 0 100  int8shr - ));
2667 DESCR("binary shift right");
2668
2669 DATA(insert OID = 1910 (  int8up                   PGUID 12 f t t t 1 f 20      "20"   100 0 0 100      int8up - ));
2670 DESCR("unary plus");
2671 DATA(insert OID = 1911 (  int2up                   PGUID 12 f t t t 1 f 21      "21"   100 0 0 100      int2up - ));
2672 DESCR("unary plus");
2673 DATA(insert OID = 1912 (  int4up                   PGUID 12 f t t t 1 f 23      "23"   100 0 0 100      int4up - ));
2674 DESCR("unary plus");
2675 DATA(insert OID = 1913 (  float4up                 PGUID 12 f t t t 1 f 700 "700"  100 0 0 100  float4up - ));
2676 DESCR("unary plus");
2677 DATA(insert OID = 1914 (  float8up                 PGUID 12 f t t t 1 f 701 "701"  100 0 0 100  float8up - ));
2678 DESCR("unary plus");
2679 DATA(insert OID = 1915 (  numeric_uplus    PGUID 12 f t t t 1 f 1700 "1700" 100 0 0 100  numeric_uplus - ));
2680 DESCR("unary plus");
2681
2682 DATA(insert OID = 1922 (  has_table_privilege              PGUID 12 f t f t 3 f 16 "19 19 25" 100 0 0 100  has_table_privilege_name_name - ));
2683 DESCR("user privilege on relation by username, relname");
2684 DATA(insert OID = 1923 (  has_table_privilege              PGUID 12 f t f t 3 f 16 "19 26 25" 100 0 0 100  has_table_privilege_name_id - ));
2685 DESCR("user privilege on relation by username, rel oid");
2686 DATA(insert OID = 1924 (  has_table_privilege              PGUID 12 f t f t 3 f 16 "23 19 25" 100 0 0 100  has_table_privilege_id_name - ));
2687 DESCR("user privilege on relation by usesysid, relname");
2688 DATA(insert OID = 1925 (  has_table_privilege              PGUID 12 f t f t 3 f 16 "23 26 25" 100 0 0 100  has_table_privilege_id_id - ));
2689 DESCR("user privilege on relation by usesysid, rel oid");
2690 DATA(insert OID = 1926 (  has_table_privilege              PGUID 12 f t f t 2 f 16 "19 25" 100 0 0 100  has_table_privilege_name - ));
2691 DESCR("current user privilege on relation by relname");
2692 DATA(insert OID = 1927 (  has_table_privilege              PGUID 12 f t f t 2 f 16 "26 25" 100 0 0 100  has_table_privilege_id - ));
2693 DESCR("current user privilege on relation by rel oid");
2694
2695
2696 DATA(insert OID = 1928 (  pg_stat_get_numscans                  PGUID 12 f t f t 1 f 20 "26" 100 0 0 100  pg_stat_get_numscans - ));
2697 DESCR("Statistics: Number of scans done for table/index");
2698 DATA(insert OID = 1929 (  pg_stat_get_tuples_returned   PGUID 12 f t f t 1 f 20 "26" 100 0 0 100  pg_stat_get_tuples_returned - ));
2699 DESCR("Statistics: Number of tuples read by seqscan");
2700 DATA(insert OID = 1930 (  pg_stat_get_tuples_fetched    PGUID 12 f t f t 1 f 20 "26" 100 0 0 100  pg_stat_get_tuples_fetched - ));
2701 DESCR("Statistics: Number of tuples fetched by idxscan");
2702 DATA(insert OID = 1931 (  pg_stat_get_tuples_inserted   PGUID 12 f t f t 1 f 20 "26" 100 0 0 100  pg_stat_get_tuples_inserted - ));
2703 DESCR("Statistics: Number of tuples inserted");
2704 DATA(insert OID = 1932 (  pg_stat_get_tuples_updated    PGUID 12 f t f t 1 f 20 "26" 100 0 0 100  pg_stat_get_tuples_updated - ));
2705 DESCR("Statistics: Number of tuples updated");
2706 DATA(insert OID = 1933 (  pg_stat_get_tuples_deleted    PGUID 12 f t f t 1 f 20 "26" 100 0 0 100  pg_stat_get_tuples_deleted - ));
2707 DESCR("Statistics: Number of tuples deleted");
2708 DATA(insert OID = 1934 (  pg_stat_get_blocks_fetched    PGUID 12 f t f t 1 f 20 "26" 100 0 0 100  pg_stat_get_blocks_fetched - ));
2709 DESCR("Statistics: Number of blocks fetched");
2710 DATA(insert OID = 1935 (  pg_stat_get_blocks_hit                PGUID 12 f t f t 1 f 20 "26" 100 0 0 100  pg_stat_get_blocks_hit - ));
2711 DESCR("Statistics: Number of blocks found in cache");
2712 DATA(insert OID = 1936 (  pg_stat_get_backend_idset             PGUID 12 f t f t 0 t 23 "" 100 0 0 100  pg_stat_get_backend_idset - ));
2713 DESCR("Statistics: Currently active backend IDs");
2714 DATA(insert OID = 1937 (  pg_stat_get_backend_pid               PGUID 12 f t f t 1 f 23 "23" 100 0 0 100  pg_stat_get_backend_pid - ));
2715 DESCR("Statistics: PID of backend");
2716 DATA(insert OID = 1938 (  pg_stat_get_backend_dbid              PGUID 12 f t f t 1 f 26 "23" 100 0 0 100  pg_stat_get_backend_dbid - ));
2717 DESCR("Statistics: Database ID of backend");
2718 DATA(insert OID = 1939 (  pg_stat_get_backend_userid    PGUID 12 f t f t 1 f 26 "23" 100 0 0 100  pg_stat_get_backend_userid - ));
2719 DESCR("Statistics: User ID of backend");
2720 DATA(insert OID = 1940 (  pg_stat_get_backend_activity  PGUID 12 f t f t 1 f 25 "23" 100 0 0 100  pg_stat_get_backend_activity - ));
2721 DESCR("Statistics: Current query of backend");
2722 DATA(insert OID = 1941 (  pg_stat_get_db_numbackends    PGUID 12 f t f t 1 f 23 "26" 100 0 0 100  pg_stat_get_db_numbackends - ));
2723 DESCR("Statistics: Number of backends in database");
2724 DATA(insert OID = 1942 (  pg_stat_get_db_xact_commit    PGUID 12 f t f t 1 f 20 "26" 100 0 0 100  pg_stat_get_db_xact_commit - ));
2725 DESCR("Statistics: Transactions committed");
2726 DATA(insert OID = 1943 (  pg_stat_get_db_xact_rollback  PGUID 12 f t f t 1 f 20 "26" 100 0 0 100  pg_stat_get_db_xact_rollback - ));
2727 DESCR("Statistics: Transactions rolled back");
2728 DATA(insert OID = 1944 (  pg_stat_get_db_blocks_fetched PGUID 12 f t f t 1 f 20 "26" 100 0 0 100  pg_stat_get_db_blocks_fetched - ));
2729 DESCR("Statistics: Blocks fetched for database");
2730 DATA(insert OID = 1945 (  pg_stat_get_db_blocks_hit             PGUID 12 f t f t 1 f 20 "26" 100 0 0 100  pg_stat_get_db_blocks_hit - ));
2731 DESCR("Statistics: Block found in cache for database");
2732
2733 DATA(insert OID = 1946 (  encode                                                PGUID 12 f t t t 2 f 25 "17 25" 100 0 0 100  binary_encode - ));
2734 DESCR("Convert bytea value into some ascii-only text string");
2735 DATA(insert OID = 1947 (  decode                                                PGUID 12 f t t t 2 f 17 "25 25" 100 0 0 100  binary_decode - ));
2736 DESCR("Convert ascii-encoded text string into bytea value");
2737
2738 DATA(insert OID = 1948 (  byteaeq                  PGUID 12 f t t t 2 f 16 "17 17" 100 0 0 100  byteaeq - ));
2739 DESCR("equal");
2740 DATA(insert OID = 1949 (  bytealt                  PGUID 12 f t t t 2 f 16 "17 17" 100 0 0 100  bytealt - ));
2741 DESCR("less-than");
2742 DATA(insert OID = 1950 (  byteale                  PGUID 12 f t t t 2 f 16 "17 17" 100 0 0 100  byteale - ));
2743 DESCR("less-than-or-equal");
2744 DATA(insert OID = 1951 (  byteagt                  PGUID 12 f t t t 2 f 16 "17 17" 100 0 0 100  byteagt - ));
2745 DESCR("greater-than");
2746 DATA(insert OID = 1952 (  byteage                  PGUID 12 f t t t 2 f 16 "17 17" 100 0 0 100  byteage - ));
2747 DESCR("greater-than-or-equal");
2748 DATA(insert OID = 1953 (  byteane                  PGUID 12 f t t t 2 f 16 "17 17" 100 0 0 100  byteane - ));
2749 DESCR("not equal");
2750 DATA(insert OID = 1954 (  byteacmp                 PGUID 12 f t t t 2 f 23 "17 17" 100 0 0 100  byteacmp - ));
2751 DESCR("less-equal-greater");
2752
2753 DATA(insert OID = 1961 (  timestamp                PGUID 12 f t t t 2 f 1114 "1114 23" 100 0 0 100      timestamp_scale - ));
2754 DESCR("adjust time precision");
2755
2756 DATA(insert OID = 1965 (  oidlarger                PGUID 12 f t t t 2 f 26 "26 26" 100 0 0 100  oidlarger - ));
2757 DESCR("larger of two");
2758 DATA(insert OID = 1966 (  oidsmaller       PGUID 12 f t t t 2 f 26 "26 26" 100 0 0 100  oidsmaller - ));
2759 DESCR("smaller of two");
2760
2761 DATA(insert OID = 1967 (  timestamptz      PGUID 12 f t t t 2 f 1184 "1184 23" 100 0 0 100      timestamptz_scale - ));
2762 DESCR("adjust time precision");
2763 DATA(insert OID = 1968 (  time                     PGUID 12 f t t t 2 f 1083 "1083 23" 100 0 0 100      time_scale - ));
2764 DESCR("adjust time precision");
2765 DATA(insert OID = 1969 (  timetz                   PGUID 12 f t t t 2 f 1266 "1266 23" 100 0 0 100      timetz_scale - ));
2766 DESCR("adjust time with time zone precision");
2767
2768 DATA(insert OID = 2005 (  bytealike                PGUID 12 f t t t 2 f 16 "17 17" 100 0 0 100 bytealike - ));
2769 DESCR("matches LIKE expression");
2770 DATA(insert OID = 2006 (  byteanlike       PGUID 12 f t t t 2 f 16 "17 17" 100 0 0 100 byteanlike - ));
2771 DESCR("does not match LIKE expression");
2772 DATA(insert OID = 2007 (  like                     PGUID 12 f t t t 2 f 16 "17 17" 100 0 0 100  bytealike - ));
2773 DESCR("matches LIKE expression");
2774 DATA(insert OID = 2008 (  notlike                  PGUID 12 f t t t 2 f 16 "17 17" 100 0 0 100  byteanlike - ));
2775 DESCR("does not match LIKE expression");
2776 DATA(insert OID = 2009 (  like_escape      PGUID 12 f t t t 2 f 17 "17 17" 100 0 0 100 like_escape_bytea - ));
2777 DESCR("convert match pattern to use backslash escapes");
2778 DATA(insert OID = 2010 (  length                   PGUID 12 f t t t 1 f 23 "17" 100 0 0 100  byteaoctetlen - ));
2779 DESCR("octet length");
2780 DATA(insert OID = 2011 (  byteacat                 PGUID 12 f t t t 2 f 17 "17 17" 100 0 0 100  byteacat - ));
2781 DESCR("concatenate");
2782 DATA(insert OID = 2012 (  substring                PGUID 12 f t t t 3 f 17 "17 23 23" 100 0 0 100  bytea_substr - ));
2783 DESCR("return portion of string");
2784 DATA(insert OID = 2013 (  substring                PGUID 14 f t t t 2 f 17 "17 23" 100 0 0 100  "select substring($1, $2, -1)" - ));
2785 DESCR("return portion of string");
2786 DATA(insert OID = 2014 (  position                 PGUID 12 f t t t 2 f 23 "17 17" 100 0 0 100  byteapos - ));
2787 DESCR("return position of substring");
2788 DATA(insert OID = 2015 (  btrim                    PGUID 12 f t t t 2 f 17 "17 17" 100 0 0 100  byteatrim - ));
2789 DESCR("trim both ends of string");
2790
2791 DATA(insert OID = 2020 (  date_trunc            PGUID 12 f t t t 2 f 1114 "25 1114" 100 0 0 100  timestamp_trunc - ));
2792 DESCR("truncate timestamp to specified units");
2793 DATA(insert OID = 2021 (  date_part                     PGUID 12 f t t t 2 f  701 "25 1114" 100 0 0 100  timestamp_part - ));
2794 DESCR("extract field from timestamp");
2795 DATA(insert OID = 2022 (  timestamp                     PGUID 12 f t f t 1 f 1114 "25" 100 0 0 100      text_timestamp - ));
2796 DESCR("convert text to timestamp");
2797 DATA(insert OID = 2023 (  timestamp                     PGUID 12 f t f t 1 f 1114 "702" 100 0 0 100  abstime_timestamp - ));
2798 DESCR("convert abstime to timestamp");
2799 DATA(insert OID = 2024 (  timestamp                     PGUID 12 f t t t 1 f 1114 "1082" 100 0 0 100  date_timestamp - ));
2800 DESCR("convert date to timestamp");
2801 DATA(insert OID = 2025 (  timestamp                     PGUID 12 f t t t 2 f 1114 "1082 1083" 100 0 0 100  datetime_timestamp - ));
2802 DESCR("convert date and time to timestamp");
2803 DATA(insert OID = 2026 (  timestamp                     PGUID 14 f t t t 1 f 1114 "1114" 100 0 0 100  "select $1" - ));
2804 DESCR("convert (noop)");
2805 DATA(insert OID = 2027 (  timestamp                     PGUID 12 f t f t 1 f 1114 "1184" 100 0 0 100  timestamptz_timestamp - ));
2806 DESCR("convert date and time with time zone to timestamp");
2807 DATA(insert OID = 2028 (  timestamptz           PGUID 12 f t f t 1 f 1184 "1114" 100 0 0 100  timestamp_timestamptz - ));
2808 DESCR("convert date and time with time zone to timestamp");
2809 DATA(insert OID = 2029 (  date                          PGUID 12 f t t t 1 f 1082 "1114" 100 0 0 100  timestamp_date - ));
2810 DESCR("convert timestamp to date");
2811 DATA(insert OID = 2030 (  abstime                       PGUID 12 f t f t 1 f  702 "1114" 100 0 0 100  timestamp_abstime - ));
2812 DESCR("convert timestamp to abstime");
2813 DATA(insert OID = 2031 (  timestamp_mi          PGUID 12 f t t t 2 f 1186 "1114 1114" 100 0 0 100  timestamp_mi - ));
2814 DESCR("subtract");
2815 DATA(insert OID = 2032 (  timestamp_pl_span PGUID 12 f t t t 2 f 1114 "1114 1186" 100 0 0 100  timestamp_pl_span - ));
2816 DESCR("plus");
2817 DATA(insert OID = 2033 (  timestamp_mi_span PGUID 12 f t t t 2 f 1114 "1114 1186" 100 0 0 100  timestamp_mi_span - ));
2818 DESCR("minus");
2819 DATA(insert OID = 2034 (  text                          PGUID 12 f t f t 1 f   25 "1114" 100 0 0 100  timestamp_text - ));
2820 DESCR("convert timestamp to text");
2821 DATA(insert OID = 2035 (  timestamp_smaller PGUID 12 f t t t 2 f 1114 "1114 1114" 100 0 0 100  timestamp_smaller - ));
2822 DESCR("smaller of two");
2823 DATA(insert OID = 2036 (  timestamp_larger      PGUID 12 f t t t 2 f 1114 "1114 1114" 100 0 0 100  timestamp_larger - ));
2824 DESCR("larger of two");
2825 DATA(insert OID = 2037 (  timetz                        PGUID 12 f t f t 2 f 1266 "25 1266" 100 0 0 100  timetz_zone - ));
2826 DESCR("time with time zone");
2827 DATA(insert OID = 2038 (  timetz                        PGUID 12 f t t t 2 f 1266 "1186 1266" 100 0 0 100  timetz_izone - ));
2828 DESCR("time with time zone");
2829 DATA(insert OID = 2041 ( overlaps                       PGUID 12 f t t f 4 f 16 "1114 1114 1114 1114" 100 0 0 100  overlaps_timestamp - ));
2830 DESCR("SQL92 interval comparison");
2831 DATA(insert OID = 2042 ( overlaps                       PGUID 14 f t t f 4 f 16 "1114 1186 1114 1186" 100 0 0 100  "select ($1, ($1 + $2)) overlaps ($3, ($3 + $4))" - ));
2832 DESCR("SQL92 interval comparison");
2833 DATA(insert OID = 2043 ( overlaps                       PGUID 14 f t t f 4 f 16 "1114 1114 1114 1186" 100 0 0 100  "select ($1, $2) overlaps ($3, ($3 + $4))" - ));
2834 DESCR("SQL92 interval comparison");
2835 DATA(insert OID = 2044 ( overlaps                       PGUID 14 f t t f 4 f 16 "1114 1186 1114 1114" 100 0 0 100  "select ($1, ($1 + $2)) overlaps ($3, $4)" - ));
2836 DESCR("SQL92 interval comparison");
2837 DATA(insert OID = 2045 (  timestamp_cmp         PGUID 12 f t t t 2 f    23 "1114 1114" 100 0 0 100      timestamp_cmp - ));
2838 DESCR("less-equal-greater");
2839 DATA(insert OID = 2046 (  time                          PGUID 12 f t t t 1 f 1083 "1266" 100 0 0 100  timetz_time - ));
2840 DESCR("convert time with time zone to time");
2841 DATA(insert OID = 2047 (  timetz                        PGUID 12 f t f t 1 f 1266 "1083" 100 0 0 100  time_timetz - ));
2842 DESCR("convert time to timetz");
2843 DATA(insert OID = 2048 (  isfinite                      PGUID 12 f t t t 1 f   16 "1114" 100 0 0 100  timestamp_finite - ));
2844 DESCR("boolean test");
2845 DATA(insert OID = 2049 ( to_char                        PGUID 12 f t f t 2 f    25 "1114 25" 100 0 0 100  timestamp_to_char - ));
2846 DESCR("format timestamp to text");
2847 DATA(insert OID = 2050 ( interval_mi_time       PGUID 14 f t t t 2 f 1083 "1186 1083" 100 0 0 100  "select $2 - $1" - ));
2848 DESCR("minus");
2849 DATA(insert OID = 2051 ( interval_mi_timetz PGUID 14 f t t t 2 f 1266 "1186 1266" 100 0 0 100  "select $2 - $1" - ));
2850 DESCR("minus");
2851 DATA(insert OID = 2052 (  timestamp_eq          PGUID 12 f t t t 2 f 16 "1114 1114" 100 0 0 100  timestamp_eq - ));
2852 DESCR("equal");
2853 DATA(insert OID = 2053 (  timestamp_ne          PGUID 12 f t t t 2 f 16 "1114 1114" 100 0 0 100  timestamp_ne - ));
2854 DESCR("not equal");
2855 DATA(insert OID = 2054 (  timestamp_lt          PGUID 12 f t t t 2 f 16 "1114 1114" 100 0 0 100  timestamp_lt - ));
2856 DESCR("less-than");
2857 DATA(insert OID = 2055 (  timestamp_le          PGUID 12 f t t t 2 f 16 "1114 1114" 100 0 0 100  timestamp_le - ));
2858 DESCR("less-than-or-equal");
2859 DATA(insert OID = 2056 (  timestamp_ge          PGUID 12 f t t t 2 f 16 "1114 1114" 100 0 0 100  timestamp_ge - ));
2860 DESCR("greater-than-or-equal");
2861 DATA(insert OID = 2057 (  timestamp_gt          PGUID 12 f t t t 2 f 16 "1114 1114" 100 0 0 100  timestamp_gt - ));
2862 DESCR("greater-than");
2863 DATA(insert OID = 2058 (  age                           PGUID 12 f t t t 2 f 1186 "1114 1114" 100 0 0 100  timestamp_age - ));
2864 DESCR("date difference preserving months and years");
2865 DATA(insert OID = 2059 (  age                           PGUID 14 f t f t 1 f 1186 "1114" 100 0 0 100  "select age(cast(current_date as timestamp without time zone), $1)" - ));
2866 DESCR("date difference from today preserving months and years");
2867 DATA(insert OID = 2069 (  timezone                      PGUID 12 f t f t 2 f 1184 "25 1114" 100 0 0 100  timestamp_zone - ));
2868 DESCR("time zone");
2869 DATA(insert OID = 2070 (  timezone                      PGUID 12 f t f t 2 f 1184 "1186 1114" 100 0 0 100  timestamp_izone - ));
2870 DESCR("time zone");
2871
2872
2873 /*
2874  * prototypes for functions pg_proc.c
2875  */
2876 extern Oid ProcedureCreate(char *procedureName,
2877                                 bool replace,
2878                                 bool returnsSet,
2879                                 char *returnTypeName,
2880                                 char *languageName,
2881                                 char *prosrc,
2882                                 char *probin,
2883                                 bool trusted,
2884                                 bool canCache,
2885                                 bool isStrict,
2886                                 int32 byte_pct,
2887                                 int32 perbyte_cpu,
2888                                 int32 percall_cpu,
2889                                 int32 outin_ratio,
2890                                 List *argList);
2891
2892 #endif   /* PG_PROC_H */