OSDN Git Service

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