1#----------------------------------------------------------------------
2#
3# pg_proc.dat
4#    Initial contents of the pg_proc system catalog.
5#
6# Portions Copyright (c) 1996-2021, PostgreSQL Global Development Group
7# Portions Copyright (c) 1994, Regents of the University of California
8#
9# src/include/catalog/pg_proc.dat
10#
11#----------------------------------------------------------------------
12
13[
14
15# Note: every entry in pg_proc.dat is expected to have a 'descr' comment,
16# except for functions that implement pg_operator.dat operators and don't
17# have a good reason to be called directly rather than via the operator.
18# (If you do expect such a function to be used directly, you should
19# duplicate the operator's comment.)  initdb will supply suitable default
20# comments for functions referenced by pg_operator.
21
22# Try to follow the style of existing functions' comments.
23# Some recommended conventions:
24#
25# "I/O" for typinput, typoutput, typreceive, typsend functions
26# "I/O typmod" for typmodin, typmodout functions
27# "aggregate transition function" for aggtransfn functions, unless
28# they are reasonably useful in their own right
29# "aggregate final function" for aggfinalfn functions (likewise)
30# "convert srctypename to desttypename" for cast functions
31# "less-equal-greater" for B-tree comparison functions
32
33# Note: pronargs is computed when this file is read, so it does not need
34# to be specified in entries here.  See AddDefaultValues() in Catalog.pm.
35
36# Once upon a time these entries were ordered by OID.  Lately it's often
37# been the custom to insert new entries adjacent to related older entries.
38# Try to do one or the other though, don't just insert entries at random.
39
40# OIDS 1 - 99
41
42{ oid => '1242', descr => 'I/O',
43  proname => 'boolin', prorettype => 'bool', proargtypes => 'cstring',
44  prosrc => 'boolin' },
45{ oid => '1243', descr => 'I/O',
46  proname => 'boolout', prorettype => 'cstring', proargtypes => 'bool',
47  prosrc => 'boolout' },
48{ oid => '1244', descr => 'I/O',
49  proname => 'byteain', prorettype => 'bytea', proargtypes => 'cstring',
50  prosrc => 'byteain' },
51{ oid => '31', descr => 'I/O',
52  proname => 'byteaout', prorettype => 'cstring', proargtypes => 'bytea',
53  prosrc => 'byteaout' },
54{ oid => '1245', descr => 'I/O',
55  proname => 'charin', prorettype => 'char', proargtypes => 'cstring',
56  prosrc => 'charin' },
57{ oid => '33', descr => 'I/O',
58  proname => 'charout', prorettype => 'cstring', proargtypes => 'char',
59  prosrc => 'charout' },
60{ oid => '34', descr => 'I/O',
61  proname => 'namein', prorettype => 'name', proargtypes => 'cstring',
62  prosrc => 'namein' },
63{ oid => '35', descr => 'I/O',
64  proname => 'nameout', prorettype => 'cstring', proargtypes => 'name',
65  prosrc => 'nameout' },
66{ oid => '38', descr => 'I/O',
67  proname => 'int2in', prorettype => 'int2', proargtypes => 'cstring',
68  prosrc => 'int2in' },
69{ oid => '39', descr => 'I/O',
70  proname => 'int2out', prorettype => 'cstring', proargtypes => 'int2',
71  prosrc => 'int2out' },
72{ oid => '40', descr => 'I/O',
73  proname => 'int2vectorin', prorettype => 'int2vector',
74  proargtypes => 'cstring', prosrc => 'int2vectorin' },
75{ oid => '41', descr => 'I/O',
76  proname => 'int2vectorout', prorettype => 'cstring',
77  proargtypes => 'int2vector', prosrc => 'int2vectorout' },
78{ oid => '42', descr => 'I/O',
79  proname => 'int4in', prorettype => 'int4', proargtypes => 'cstring',
80  prosrc => 'int4in' },
81{ oid => '43', descr => 'I/O',
82  proname => 'int4out', prorettype => 'cstring', proargtypes => 'int4',
83  prosrc => 'int4out' },
84{ oid => '44', descr => 'I/O',
85  proname => 'regprocin', provolatile => 's', prorettype => 'regproc',
86  proargtypes => 'cstring', prosrc => 'regprocin' },
87{ oid => '45', descr => 'I/O',
88  proname => 'regprocout', provolatile => 's', prorettype => 'cstring',
89  proargtypes => 'regproc', prosrc => 'regprocout' },
90{ oid => '3494', descr => 'convert proname to regproc',
91  proname => 'to_regproc', provolatile => 's', prorettype => 'regproc',
92  proargtypes => 'text', prosrc => 'to_regproc' },
93{ oid => '3479', descr => 'convert proname to regprocedure',
94  proname => 'to_regprocedure', provolatile => 's',
95  prorettype => 'regprocedure', proargtypes => 'text',
96  prosrc => 'to_regprocedure' },
97{ oid => '46', descr => 'I/O',
98  proname => 'textin', prorettype => 'text', proargtypes => 'cstring',
99  prosrc => 'textin' },
100{ oid => '47', descr => 'I/O',
101  proname => 'textout', prorettype => 'cstring', proargtypes => 'text',
102  prosrc => 'textout' },
103{ oid => '48', descr => 'I/O',
104  proname => 'tidin', prorettype => 'tid', proargtypes => 'cstring',
105  prosrc => 'tidin' },
106{ oid => '49', descr => 'I/O',
107  proname => 'tidout', prorettype => 'cstring', proargtypes => 'tid',
108  prosrc => 'tidout' },
109{ oid => '50', descr => 'I/O',
110  proname => 'xidin', prorettype => 'xid', proargtypes => 'cstring',
111  prosrc => 'xidin' },
112{ oid => '51', descr => 'I/O',
113  proname => 'xidout', prorettype => 'cstring', proargtypes => 'xid',
114  prosrc => 'xidout' },
115{ oid => '5070', descr => 'I/O',
116  proname => 'xid8in', prorettype => 'xid8', proargtypes => 'cstring',
117  prosrc => 'xid8in' },
118{ oid => '5081', descr => 'I/O',
119  proname => 'xid8out', prorettype => 'cstring', proargtypes => 'xid8',
120  prosrc => 'xid8out' },
121{ oid => '5082', descr => 'I/O',
122  proname => 'xid8recv', prorettype => 'xid8', proargtypes => 'internal',
123  prosrc => 'xid8recv' },
124{ oid => '5083', descr => 'I/O',
125  proname => 'xid8send', prorettype => 'bytea', proargtypes => 'xid8',
126  prosrc => 'xid8send' },
127{ oid => '52', descr => 'I/O',
128  proname => 'cidin', prorettype => 'cid', proargtypes => 'cstring',
129  prosrc => 'cidin' },
130{ oid => '53', descr => 'I/O',
131  proname => 'cidout', prorettype => 'cstring', proargtypes => 'cid',
132  prosrc => 'cidout' },
133{ oid => '54', descr => 'I/O',
134  proname => 'oidvectorin', prorettype => 'oidvector', proargtypes => 'cstring',
135  prosrc => 'oidvectorin' },
136{ oid => '55', descr => 'I/O',
137  proname => 'oidvectorout', prorettype => 'cstring',
138  proargtypes => 'oidvector', prosrc => 'oidvectorout' },
139{ oid => '56',
140  proname => 'boollt', proleakproof => 't', prorettype => 'bool',
141  proargtypes => 'bool bool', prosrc => 'boollt' },
142{ oid => '57',
143  proname => 'boolgt', proleakproof => 't', prorettype => 'bool',
144  proargtypes => 'bool bool', prosrc => 'boolgt' },
145{ oid => '60',
146  proname => 'booleq', proleakproof => 't', prorettype => 'bool',
147  proargtypes => 'bool bool', prosrc => 'booleq' },
148{ oid => '61',
149  proname => 'chareq', proleakproof => 't', prorettype => 'bool',
150  proargtypes => 'char char', prosrc => 'chareq' },
151{ oid => '62',
152  proname => 'nameeq', proleakproof => 't', prorettype => 'bool',
153  proargtypes => 'name name', prosrc => 'nameeq' },
154{ oid => '63',
155  proname => 'int2eq', proleakproof => 't', prorettype => 'bool',
156  proargtypes => 'int2 int2', prosrc => 'int2eq' },
157{ oid => '64',
158  proname => 'int2lt', proleakproof => 't', prorettype => 'bool',
159  proargtypes => 'int2 int2', prosrc => 'int2lt' },
160{ oid => '65',
161  proname => 'int4eq', proleakproof => 't', prorettype => 'bool',
162  proargtypes => 'int4 int4', prosrc => 'int4eq' },
163{ oid => '66',
164  proname => 'int4lt', proleakproof => 't', prorettype => 'bool',
165  proargtypes => 'int4 int4', prosrc => 'int4lt' },
166{ oid => '67',
167  proname => 'texteq', proleakproof => 't', prorettype => 'bool',
168  proargtypes => 'text text', prosrc => 'texteq' },
169{ oid => '3696',
170  proname => 'starts_with', proleakproof => 't', prorettype => 'bool',
171  proargtypes => 'text text', prosrc => 'text_starts_with' },
172{ oid => '68',
173  proname => 'xideq', proleakproof => 't', prorettype => 'bool',
174  proargtypes => 'xid xid', prosrc => 'xideq' },
175{ oid => '3308',
176  proname => 'xidneq', proleakproof => 't', prorettype => 'bool',
177  proargtypes => 'xid xid', prosrc => 'xidneq' },
178{ oid => '5084',
179  proname => 'xid8eq', proleakproof => 't', prorettype => 'bool',
180  proargtypes => 'xid8 xid8', prosrc => 'xid8eq' },
181{ oid => '5085',
182  proname => 'xid8ne', proleakproof => 't', prorettype => 'bool',
183  proargtypes => 'xid8 xid8', prosrc => 'xid8ne' },
184{ oid => '5034',
185  proname => 'xid8lt', proleakproof => 't', prorettype => 'bool',
186  proargtypes => 'xid8 xid8', prosrc => 'xid8lt' },
187{ oid => '5035',
188  proname => 'xid8gt', proleakproof => 't', prorettype => 'bool',
189  proargtypes => 'xid8 xid8', prosrc => 'xid8gt' },
190{ oid => '5036',
191  proname => 'xid8le', proleakproof => 't', prorettype => 'bool',
192  proargtypes => 'xid8 xid8', prosrc => 'xid8le' },
193{ oid => '5037',
194  proname => 'xid8ge', proleakproof => 't', prorettype => 'bool',
195  proargtypes => 'xid8 xid8', prosrc => 'xid8ge' },
196{ oid => '5096', descr => 'less-equal-greater',
197  proname => 'xid8cmp', proleakproof => 't', prorettype => 'int4',
198  proargtypes => 'xid8 xid8', prosrc => 'xid8cmp' },
199{ oid => '5071', descr => 'convert xid8 to xid',
200  proname => 'xid', prorettype => 'xid', proargtypes => 'xid8',
201  prosrc => 'xid8toxid' },
202{ oid => '69',
203  proname => 'cideq', proleakproof => 't', prorettype => 'bool',
204  proargtypes => 'cid cid', prosrc => 'cideq' },
205{ oid => '70',
206  proname => 'charne', proleakproof => 't', prorettype => 'bool',
207  proargtypes => 'char char', prosrc => 'charne' },
208{ oid => '1246',
209  proname => 'charlt', proleakproof => 't', prorettype => 'bool',
210  proargtypes => 'char char', prosrc => 'charlt' },
211{ oid => '72',
212  proname => 'charle', proleakproof => 't', prorettype => 'bool',
213  proargtypes => 'char char', prosrc => 'charle' },
214{ oid => '73',
215  proname => 'chargt', proleakproof => 't', prorettype => 'bool',
216  proargtypes => 'char char', prosrc => 'chargt' },
217{ oid => '74',
218  proname => 'charge', proleakproof => 't', prorettype => 'bool',
219  proargtypes => 'char char', prosrc => 'charge' },
220{ oid => '77', descr => 'convert char to int4',
221  proname => 'int4', prorettype => 'int4', proargtypes => 'char',
222  prosrc => 'chartoi4' },
223{ oid => '78', descr => 'convert int4 to char',
224  proname => 'char', prorettype => 'char', proargtypes => 'int4',
225  prosrc => 'i4tochar' },
226
227{ oid => '79',
228  proname => 'nameregexeq', prosupport => 'textregexeq_support',
229  prorettype => 'bool', proargtypes => 'name text', prosrc => 'nameregexeq' },
230{ oid => '1252',
231  proname => 'nameregexne', prorettype => 'bool', proargtypes => 'name text',
232  prosrc => 'nameregexne' },
233{ oid => '1254',
234  proname => 'textregexeq', prosupport => 'textregexeq_support',
235  prorettype => 'bool', proargtypes => 'text text', prosrc => 'textregexeq' },
236{ oid => '1256',
237  proname => 'textregexne', prorettype => 'bool', proargtypes => 'text text',
238  prosrc => 'textregexne' },
239{ oid => '1364', descr => 'planner support for textregexeq',
240  proname => 'textregexeq_support', prorettype => 'internal',
241  proargtypes => 'internal', prosrc => 'textregexeq_support' },
242
243{ oid => '1257', descr => 'length',
244  proname => 'textlen', prorettype => 'int4', proargtypes => 'text',
245  prosrc => 'textlen' },
246{ oid => '1258',
247  proname => 'textcat', prorettype => 'text', proargtypes => 'text text',
248  prosrc => 'textcat' },
249
250{ oid => '84',
251  proname => 'boolne', proleakproof => 't', prorettype => 'bool',
252  proargtypes => 'bool bool', prosrc => 'boolne' },
253{ oid => '89', descr => 'PostgreSQL version string',
254  proname => 'version', provolatile => 's', prorettype => 'text',
255  proargtypes => '', prosrc => 'pgsql_version' },
256
257{ oid => '86', descr => 'I/O',
258  proname => 'pg_ddl_command_in', prorettype => 'pg_ddl_command',
259  proargtypes => 'cstring', prosrc => 'pg_ddl_command_in' },
260{ oid => '87', descr => 'I/O',
261  proname => 'pg_ddl_command_out', prorettype => 'cstring',
262  proargtypes => 'pg_ddl_command', prosrc => 'pg_ddl_command_out' },
263{ oid => '88', descr => 'I/O',
264  proname => 'pg_ddl_command_recv', prorettype => 'pg_ddl_command',
265  proargtypes => 'internal', prosrc => 'pg_ddl_command_recv' },
266{ oid => '90', descr => 'I/O',
267  proname => 'pg_ddl_command_send', prorettype => 'bytea',
268  proargtypes => 'pg_ddl_command', prosrc => 'pg_ddl_command_send' },
269
270# OIDS 100 - 199
271
272{ oid => '101', descr => 'restriction selectivity of = and related operators',
273  proname => 'eqsel', provolatile => 's', prorettype => 'float8',
274  proargtypes => 'internal oid internal int4', prosrc => 'eqsel' },
275{ oid => '102',
276  descr => 'restriction selectivity of <> and related operators',
277  proname => 'neqsel', provolatile => 's', prorettype => 'float8',
278  proargtypes => 'internal oid internal int4', prosrc => 'neqsel' },
279{ oid => '103',
280  descr => 'restriction selectivity of < and related operators on scalar datatypes',
281  proname => 'scalarltsel', provolatile => 's', prorettype => 'float8',
282  proargtypes => 'internal oid internal int4', prosrc => 'scalarltsel' },
283{ oid => '104',
284  descr => 'restriction selectivity of > and related operators on scalar datatypes',
285  proname => 'scalargtsel', provolatile => 's', prorettype => 'float8',
286  proargtypes => 'internal oid internal int4', prosrc => 'scalargtsel' },
287{ oid => '105', descr => 'join selectivity of = and related operators',
288  proname => 'eqjoinsel', provolatile => 's', prorettype => 'float8',
289  proargtypes => 'internal oid internal int2 internal', prosrc => 'eqjoinsel' },
290{ oid => '106', descr => 'join selectivity of <> and related operators',
291  proname => 'neqjoinsel', provolatile => 's', prorettype => 'float8',
292  proargtypes => 'internal oid internal int2 internal',
293  prosrc => 'neqjoinsel' },
294{ oid => '107',
295  descr => 'join selectivity of < and related operators on scalar datatypes',
296  proname => 'scalarltjoinsel', provolatile => 's', prorettype => 'float8',
297  proargtypes => 'internal oid internal int2 internal',
298  prosrc => 'scalarltjoinsel' },
299{ oid => '108',
300  descr => 'join selectivity of > and related operators on scalar datatypes',
301  proname => 'scalargtjoinsel', provolatile => 's', prorettype => 'float8',
302  proargtypes => 'internal oid internal int2 internal',
303  prosrc => 'scalargtjoinsel' },
304
305{ oid => '336',
306  descr => 'restriction selectivity of <= and related operators on scalar datatypes',
307  proname => 'scalarlesel', provolatile => 's', prorettype => 'float8',
308  proargtypes => 'internal oid internal int4', prosrc => 'scalarlesel' },
309{ oid => '337',
310  descr => 'restriction selectivity of >= and related operators on scalar datatypes',
311  proname => 'scalargesel', provolatile => 's', prorettype => 'float8',
312  proargtypes => 'internal oid internal int4', prosrc => 'scalargesel' },
313{ oid => '386',
314  descr => 'join selectivity of <= and related operators on scalar datatypes',
315  proname => 'scalarlejoinsel', provolatile => 's', prorettype => 'float8',
316  proargtypes => 'internal oid internal int2 internal',
317  prosrc => 'scalarlejoinsel' },
318{ oid => '398',
319  descr => 'join selectivity of >= and related operators on scalar datatypes',
320  proname => 'scalargejoinsel', provolatile => 's', prorettype => 'float8',
321  proargtypes => 'internal oid internal int2 internal',
322  prosrc => 'scalargejoinsel' },
323
324{ oid => '109', descr => 'I/O',
325  proname => 'unknownin', prorettype => 'unknown', proargtypes => 'cstring',
326  prosrc => 'unknownin' },
327{ oid => '110', descr => 'I/O',
328  proname => 'unknownout', prorettype => 'cstring', proargtypes => 'unknown',
329  prosrc => 'unknownout' },
330
331{ oid => '115',
332  proname => 'box_above_eq', prorettype => 'bool', proargtypes => 'box box',
333  prosrc => 'box_above_eq' },
334{ oid => '116',
335  proname => 'box_below_eq', prorettype => 'bool', proargtypes => 'box box',
336  prosrc => 'box_below_eq' },
337
338{ oid => '117', descr => 'I/O',
339  proname => 'point_in', prorettype => 'point', proargtypes => 'cstring',
340  prosrc => 'point_in' },
341{ oid => '118', descr => 'I/O',
342  proname => 'point_out', prorettype => 'cstring', proargtypes => 'point',
343  prosrc => 'point_out' },
344{ oid => '119', descr => 'I/O',
345  proname => 'lseg_in', prorettype => 'lseg', proargtypes => 'cstring',
346  prosrc => 'lseg_in' },
347{ oid => '120', descr => 'I/O',
348  proname => 'lseg_out', prorettype => 'cstring', proargtypes => 'lseg',
349  prosrc => 'lseg_out' },
350{ oid => '121', descr => 'I/O',
351  proname => 'path_in', prorettype => 'path', proargtypes => 'cstring',
352  prosrc => 'path_in' },
353{ oid => '122', descr => 'I/O',
354  proname => 'path_out', prorettype => 'cstring', proargtypes => 'path',
355  prosrc => 'path_out' },
356{ oid => '123', descr => 'I/O',
357  proname => 'box_in', prorettype => 'box', proargtypes => 'cstring',
358  prosrc => 'box_in' },
359{ oid => '124', descr => 'I/O',
360  proname => 'box_out', prorettype => 'cstring', proargtypes => 'box',
361  prosrc => 'box_out' },
362{ oid => '125',
363  proname => 'box_overlap', prorettype => 'bool', proargtypes => 'box box',
364  prosrc => 'box_overlap' },
365{ oid => '126',
366  proname => 'box_ge', prorettype => 'bool', proargtypes => 'box box',
367  prosrc => 'box_ge' },
368{ oid => '127',
369  proname => 'box_gt', prorettype => 'bool', proargtypes => 'box box',
370  prosrc => 'box_gt' },
371{ oid => '128',
372  proname => 'box_eq', prorettype => 'bool', proargtypes => 'box box',
373  prosrc => 'box_eq' },
374{ oid => '129',
375  proname => 'box_lt', prorettype => 'bool', proargtypes => 'box box',
376  prosrc => 'box_lt' },
377{ oid => '130',
378  proname => 'box_le', prorettype => 'bool', proargtypes => 'box box',
379  prosrc => 'box_le' },
380{ oid => '131',
381  proname => 'point_above', prorettype => 'bool', proargtypes => 'point point',
382  prosrc => 'point_above' },
383{ oid => '132',
384  proname => 'point_left', prorettype => 'bool', proargtypes => 'point point',
385  prosrc => 'point_left' },
386{ oid => '133',
387  proname => 'point_right', prorettype => 'bool', proargtypes => 'point point',
388  prosrc => 'point_right' },
389{ oid => '134',
390  proname => 'point_below', prorettype => 'bool', proargtypes => 'point point',
391  prosrc => 'point_below' },
392{ oid => '135',
393  proname => 'point_eq', prorettype => 'bool', proargtypes => 'point point',
394  prosrc => 'point_eq' },
395{ oid => '136',
396  proname => 'on_pb', prorettype => 'bool', proargtypes => 'point box',
397  prosrc => 'on_pb' },
398{ oid => '137',
399  proname => 'on_ppath', prorettype => 'bool', proargtypes => 'point path',
400  prosrc => 'on_ppath' },
401{ oid => '138',
402  proname => 'box_center', prorettype => 'point', proargtypes => 'box',
403  prosrc => 'box_center' },
404{ oid => '139',
405  descr => 'restriction selectivity for area-comparison operators',
406  proname => 'areasel', provolatile => 's', prorettype => 'float8',
407  proargtypes => 'internal oid internal int4', prosrc => 'areasel' },
408{ oid => '140', descr => 'join selectivity for area-comparison operators',
409  proname => 'areajoinsel', provolatile => 's', prorettype => 'float8',
410  proargtypes => 'internal oid internal int2 internal',
411  prosrc => 'areajoinsel' },
412{ oid => '141',
413  proname => 'int4mul', prorettype => 'int4', proargtypes => 'int4 int4',
414  prosrc => 'int4mul' },
415{ oid => '144',
416  proname => 'int4ne', proleakproof => 't', prorettype => 'bool',
417  proargtypes => 'int4 int4', prosrc => 'int4ne' },
418{ oid => '145',
419  proname => 'int2ne', proleakproof => 't', prorettype => 'bool',
420  proargtypes => 'int2 int2', prosrc => 'int2ne' },
421{ oid => '146',
422  proname => 'int2gt', proleakproof => 't', prorettype => 'bool',
423  proargtypes => 'int2 int2', prosrc => 'int2gt' },
424{ oid => '147',
425  proname => 'int4gt', proleakproof => 't', prorettype => 'bool',
426  proargtypes => 'int4 int4', prosrc => 'int4gt' },
427{ oid => '148',
428  proname => 'int2le', proleakproof => 't', prorettype => 'bool',
429  proargtypes => 'int2 int2', prosrc => 'int2le' },
430{ oid => '149',
431  proname => 'int4le', proleakproof => 't', prorettype => 'bool',
432  proargtypes => 'int4 int4', prosrc => 'int4le' },
433{ oid => '150',
434  proname => 'int4ge', proleakproof => 't', prorettype => 'bool',
435  proargtypes => 'int4 int4', prosrc => 'int4ge' },
436{ oid => '151',
437  proname => 'int2ge', proleakproof => 't', prorettype => 'bool',
438  proargtypes => 'int2 int2', prosrc => 'int2ge' },
439{ oid => '152',
440  proname => 'int2mul', prorettype => 'int2', proargtypes => 'int2 int2',
441  prosrc => 'int2mul' },
442{ oid => '153',
443  proname => 'int2div', prorettype => 'int2', proargtypes => 'int2 int2',
444  prosrc => 'int2div' },
445{ oid => '154',
446  proname => 'int4div', prorettype => 'int4', proargtypes => 'int4 int4',
447  prosrc => 'int4div' },
448{ oid => '155',
449  proname => 'int2mod', prorettype => 'int2', proargtypes => 'int2 int2',
450  prosrc => 'int2mod' },
451{ oid => '156',
452  proname => 'int4mod', prorettype => 'int4', proargtypes => 'int4 int4',
453  prosrc => 'int4mod' },
454{ oid => '157',
455  proname => 'textne', proleakproof => 't', prorettype => 'bool',
456  proargtypes => 'text text', prosrc => 'textne' },
457{ oid => '158',
458  proname => 'int24eq', proleakproof => 't', prorettype => 'bool',
459  proargtypes => 'int2 int4', prosrc => 'int24eq' },
460{ oid => '159',
461  proname => 'int42eq', proleakproof => 't', prorettype => 'bool',
462  proargtypes => 'int4 int2', prosrc => 'int42eq' },
463{ oid => '160',
464  proname => 'int24lt', proleakproof => 't', prorettype => 'bool',
465  proargtypes => 'int2 int4', prosrc => 'int24lt' },
466{ oid => '161',
467  proname => 'int42lt', proleakproof => 't', prorettype => 'bool',
468  proargtypes => 'int4 int2', prosrc => 'int42lt' },
469{ oid => '162',
470  proname => 'int24gt', proleakproof => 't', prorettype => 'bool',
471  proargtypes => 'int2 int4', prosrc => 'int24gt' },
472{ oid => '163',
473  proname => 'int42gt', proleakproof => 't', prorettype => 'bool',
474  proargtypes => 'int4 int2', prosrc => 'int42gt' },
475{ oid => '164',
476  proname => 'int24ne', proleakproof => 't', prorettype => 'bool',
477  proargtypes => 'int2 int4', prosrc => 'int24ne' },
478{ oid => '165',
479  proname => 'int42ne', proleakproof => 't', prorettype => 'bool',
480  proargtypes => 'int4 int2', prosrc => 'int42ne' },
481{ oid => '166',
482  proname => 'int24le', proleakproof => 't', prorettype => 'bool',
483  proargtypes => 'int2 int4', prosrc => 'int24le' },
484{ oid => '167',
485  proname => 'int42le', proleakproof => 't', prorettype => 'bool',
486  proargtypes => 'int4 int2', prosrc => 'int42le' },
487{ oid => '168',
488  proname => 'int24ge', proleakproof => 't', prorettype => 'bool',
489  proargtypes => 'int2 int4', prosrc => 'int24ge' },
490{ oid => '169',
491  proname => 'int42ge', proleakproof => 't', prorettype => 'bool',
492  proargtypes => 'int4 int2', prosrc => 'int42ge' },
493{ oid => '170',
494  proname => 'int24mul', prorettype => 'int4', proargtypes => 'int2 int4',
495  prosrc => 'int24mul' },
496{ oid => '171',
497  proname => 'int42mul', prorettype => 'int4', proargtypes => 'int4 int2',
498  prosrc => 'int42mul' },
499{ oid => '172',
500  proname => 'int24div', prorettype => 'int4', proargtypes => 'int2 int4',
501  prosrc => 'int24div' },
502{ oid => '173',
503  proname => 'int42div', prorettype => 'int4', proargtypes => 'int4 int2',
504  prosrc => 'int42div' },
505{ oid => '176',
506  proname => 'int2pl', prorettype => 'int2', proargtypes => 'int2 int2',
507  prosrc => 'int2pl' },
508{ oid => '177',
509  proname => 'int4pl', prorettype => 'int4', proargtypes => 'int4 int4',
510  prosrc => 'int4pl' },
511{ oid => '178',
512  proname => 'int24pl', prorettype => 'int4', proargtypes => 'int2 int4',
513  prosrc => 'int24pl' },
514{ oid => '179',
515  proname => 'int42pl', prorettype => 'int4', proargtypes => 'int4 int2',
516  prosrc => 'int42pl' },
517{ oid => '180',
518  proname => 'int2mi', prorettype => 'int2', proargtypes => 'int2 int2',
519  prosrc => 'int2mi' },
520{ oid => '181',
521  proname => 'int4mi', prorettype => 'int4', proargtypes => 'int4 int4',
522  prosrc => 'int4mi' },
523{ oid => '182',
524  proname => 'int24mi', prorettype => 'int4', proargtypes => 'int2 int4',
525  prosrc => 'int24mi' },
526{ oid => '183',
527  proname => 'int42mi', prorettype => 'int4', proargtypes => 'int4 int2',
528  prosrc => 'int42mi' },
529{ oid => '184',
530  proname => 'oideq', proleakproof => 't', prorettype => 'bool',
531  proargtypes => 'oid oid', prosrc => 'oideq' },
532{ oid => '185',
533  proname => 'oidne', proleakproof => 't', prorettype => 'bool',
534  proargtypes => 'oid oid', prosrc => 'oidne' },
535{ oid => '186',
536  proname => 'box_same', prorettype => 'bool', proargtypes => 'box box',
537  prosrc => 'box_same' },
538{ oid => '187',
539  proname => 'box_contain', prorettype => 'bool', proargtypes => 'box box',
540  prosrc => 'box_contain' },
541{ oid => '188',
542  proname => 'box_left', prorettype => 'bool', proargtypes => 'box box',
543  prosrc => 'box_left' },
544{ oid => '189',
545  proname => 'box_overleft', prorettype => 'bool', proargtypes => 'box box',
546  prosrc => 'box_overleft' },
547{ oid => '190',
548  proname => 'box_overright', prorettype => 'bool', proargtypes => 'box box',
549  prosrc => 'box_overright' },
550{ oid => '191',
551  proname => 'box_right', prorettype => 'bool', proargtypes => 'box box',
552  prosrc => 'box_right' },
553{ oid => '192',
554  proname => 'box_contained', prorettype => 'bool', proargtypes => 'box box',
555  prosrc => 'box_contained' },
556{ oid => '193',
557  proname => 'box_contain_pt', prorettype => 'bool', proargtypes => 'box point',
558  prosrc => 'box_contain_pt' },
559
560{ oid => '195', descr => 'I/O',
561  proname => 'pg_node_tree_in', prorettype => 'pg_node_tree',
562  proargtypes => 'cstring', prosrc => 'pg_node_tree_in' },
563{ oid => '196', descr => 'I/O',
564  proname => 'pg_node_tree_out', prorettype => 'cstring',
565  proargtypes => 'pg_node_tree', prosrc => 'pg_node_tree_out' },
566{ oid => '197', descr => 'I/O',
567  proname => 'pg_node_tree_recv', provolatile => 's',
568  prorettype => 'pg_node_tree', proargtypes => 'internal',
569  prosrc => 'pg_node_tree_recv' },
570{ oid => '198', descr => 'I/O',
571  proname => 'pg_node_tree_send', provolatile => 's', prorettype => 'bytea',
572  proargtypes => 'pg_node_tree', prosrc => 'pg_node_tree_send' },
573
574# OIDS 200 - 299
575
576{ oid => '200', descr => 'I/O',
577  proname => 'float4in', prorettype => 'float4', proargtypes => 'cstring',
578  prosrc => 'float4in' },
579{ oid => '201', descr => 'I/O',
580  proname => 'float4out', prorettype => 'cstring', proargtypes => 'float4',
581  prosrc => 'float4out' },
582{ oid => '202',
583  proname => 'float4mul', prorettype => 'float4',
584  proargtypes => 'float4 float4', prosrc => 'float4mul' },
585{ oid => '203',
586  proname => 'float4div', prorettype => 'float4',
587  proargtypes => 'float4 float4', prosrc => 'float4div' },
588{ oid => '204',
589  proname => 'float4pl', prorettype => 'float4', proargtypes => 'float4 float4',
590  prosrc => 'float4pl' },
591{ oid => '205',
592  proname => 'float4mi', prorettype => 'float4', proargtypes => 'float4 float4',
593  prosrc => 'float4mi' },
594{ oid => '206',
595  proname => 'float4um', prorettype => 'float4', proargtypes => 'float4',
596  prosrc => 'float4um' },
597{ oid => '207',
598  proname => 'float4abs', prorettype => 'float4', proargtypes => 'float4',
599  prosrc => 'float4abs' },
600{ oid => '208', descr => 'aggregate transition function',
601  proname => 'float4_accum', prorettype => '_float8',
602  proargtypes => '_float8 float4', prosrc => 'float4_accum' },
603{ oid => '209', descr => 'larger of two',
604  proname => 'float4larger', prorettype => 'float4',
605  proargtypes => 'float4 float4', prosrc => 'float4larger' },
606{ oid => '211', descr => 'smaller of two',
607  proname => 'float4smaller', prorettype => 'float4',
608  proargtypes => 'float4 float4', prosrc => 'float4smaller' },
609
610{ oid => '212',
611  proname => 'int4um', prorettype => 'int4', proargtypes => 'int4',
612  prosrc => 'int4um' },
613{ oid => '213',
614  proname => 'int2um', prorettype => 'int2', proargtypes => 'int2',
615  prosrc => 'int2um' },
616
617{ oid => '214', descr => 'I/O',
618  proname => 'float8in', prorettype => 'float8', proargtypes => 'cstring',
619  prosrc => 'float8in' },
620{ oid => '215', descr => 'I/O',
621  proname => 'float8out', prorettype => 'cstring', proargtypes => 'float8',
622  prosrc => 'float8out' },
623{ oid => '216',
624  proname => 'float8mul', prorettype => 'float8',
625  proargtypes => 'float8 float8', prosrc => 'float8mul' },
626{ oid => '217',
627  proname => 'float8div', prorettype => 'float8',
628  proargtypes => 'float8 float8', prosrc => 'float8div' },
629{ oid => '218',
630  proname => 'float8pl', prorettype => 'float8', proargtypes => 'float8 float8',
631  prosrc => 'float8pl' },
632{ oid => '219',
633  proname => 'float8mi', prorettype => 'float8', proargtypes => 'float8 float8',
634  prosrc => 'float8mi' },
635{ oid => '220',
636  proname => 'float8um', prorettype => 'float8', proargtypes => 'float8',
637  prosrc => 'float8um' },
638{ oid => '221',
639  proname => 'float8abs', prorettype => 'float8', proargtypes => 'float8',
640  prosrc => 'float8abs' },
641{ oid => '222', descr => 'aggregate transition function',
642  proname => 'float8_accum', prorettype => '_float8',
643  proargtypes => '_float8 float8', prosrc => 'float8_accum' },
644{ oid => '276', descr => 'aggregate combine function',
645  proname => 'float8_combine', prorettype => '_float8',
646  proargtypes => '_float8 _float8', prosrc => 'float8_combine' },
647{ oid => '223', descr => 'larger of two',
648  proname => 'float8larger', prorettype => 'float8',
649  proargtypes => 'float8 float8', prosrc => 'float8larger' },
650{ oid => '224', descr => 'smaller of two',
651  proname => 'float8smaller', prorettype => 'float8',
652  proargtypes => 'float8 float8', prosrc => 'float8smaller' },
653
654{ oid => '225',
655  proname => 'lseg_center', prorettype => 'point', proargtypes => 'lseg',
656  prosrc => 'lseg_center' },
657{ oid => '226',
658  proname => 'path_center', prorettype => 'point', proargtypes => 'path',
659  prosrc => 'path_center' },
660{ oid => '227',
661  proname => 'poly_center', prorettype => 'point', proargtypes => 'polygon',
662  prosrc => 'poly_center' },
663
664{ oid => '228', descr => 'round to nearest integer',
665  proname => 'dround', prorettype => 'float8', proargtypes => 'float8',
666  prosrc => 'dround' },
667{ oid => '229', descr => 'truncate to integer',
668  proname => 'dtrunc', prorettype => 'float8', proargtypes => 'float8',
669  prosrc => 'dtrunc' },
670{ oid => '2308', descr => 'nearest integer >= value',
671  proname => 'ceil', prorettype => 'float8', proargtypes => 'float8',
672  prosrc => 'dceil' },
673{ oid => '2320', descr => 'nearest integer >= value',
674  proname => 'ceiling', prorettype => 'float8', proargtypes => 'float8',
675  prosrc => 'dceil' },
676{ oid => '2309', descr => 'nearest integer <= value',
677  proname => 'floor', prorettype => 'float8', proargtypes => 'float8',
678  prosrc => 'dfloor' },
679{ oid => '2310', descr => 'sign of value',
680  proname => 'sign', prorettype => 'float8', proargtypes => 'float8',
681  prosrc => 'dsign' },
682{ oid => '230',
683  proname => 'dsqrt', prorettype => 'float8', proargtypes => 'float8',
684  prosrc => 'dsqrt' },
685{ oid => '231',
686  proname => 'dcbrt', prorettype => 'float8', proargtypes => 'float8',
687  prosrc => 'dcbrt' },
688{ oid => '232',
689  proname => 'dpow', prorettype => 'float8', proargtypes => 'float8 float8',
690  prosrc => 'dpow' },
691{ oid => '233', descr => 'natural exponential (e^x)',
692  proname => 'dexp', prorettype => 'float8', proargtypes => 'float8',
693  prosrc => 'dexp' },
694{ oid => '234', descr => 'natural logarithm',
695  proname => 'dlog1', prorettype => 'float8', proargtypes => 'float8',
696  prosrc => 'dlog1' },
697{ oid => '235', descr => 'convert int2 to float8',
698  proname => 'float8', proleakproof => 't', prorettype => 'float8',
699  proargtypes => 'int2', prosrc => 'i2tod' },
700{ oid => '236', descr => 'convert int2 to float4',
701  proname => 'float4', proleakproof => 't', prorettype => 'float4',
702  proargtypes => 'int2', prosrc => 'i2tof' },
703{ oid => '237', descr => 'convert float8 to int2',
704  proname => 'int2', prorettype => 'int2', proargtypes => 'float8',
705  prosrc => 'dtoi2' },
706{ oid => '238', descr => 'convert float4 to int2',
707  proname => 'int2', prorettype => 'int2', proargtypes => 'float4',
708  prosrc => 'ftoi2' },
709{ oid => '239',
710  proname => 'line_distance', prorettype => 'float8',
711  proargtypes => 'line line', prosrc => 'line_distance' },
712
713{ oid => '240',
714  proname => 'nameeqtext', proleakproof => 't', prorettype => 'bool',
715  proargtypes => 'name text', prosrc => 'nameeqtext' },
716{ oid => '241',
717  proname => 'namelttext', proleakproof => 't', prorettype => 'bool',
718  proargtypes => 'name text', prosrc => 'namelttext' },
719{ oid => '242',
720  proname => 'nameletext', proleakproof => 't', prorettype => 'bool',
721  proargtypes => 'name text', prosrc => 'nameletext' },
722{ oid => '243',
723  proname => 'namegetext', proleakproof => 't', prorettype => 'bool',
724  proargtypes => 'name text', prosrc => 'namegetext' },
725{ oid => '244',
726  proname => 'namegttext', proleakproof => 't', prorettype => 'bool',
727  proargtypes => 'name text', prosrc => 'namegttext' },
728{ oid => '245',
729  proname => 'namenetext', proleakproof => 't', prorettype => 'bool',
730  proargtypes => 'name text', prosrc => 'namenetext' },
731{ oid => '246', descr => 'less-equal-greater',
732  proname => 'btnametextcmp', proleakproof => 't', prorettype => 'int4',
733  proargtypes => 'name text', prosrc => 'btnametextcmp' },
734{ oid => '247',
735  proname => 'texteqname', proleakproof => 't', prorettype => 'bool',
736  proargtypes => 'text name', prosrc => 'texteqname' },
737{ oid => '248',
738  proname => 'textltname', proleakproof => 't', prorettype => 'bool',
739  proargtypes => 'text name', prosrc => 'textltname' },
740{ oid => '249',
741  proname => 'textlename', proleakproof => 't', prorettype => 'bool',
742  proargtypes => 'text name', prosrc => 'textlename' },
743{ oid => '250',
744  proname => 'textgename', proleakproof => 't', prorettype => 'bool',
745  proargtypes => 'text name', prosrc => 'textgename' },
746{ oid => '251',
747  proname => 'textgtname', proleakproof => 't', prorettype => 'bool',
748  proargtypes => 'text name', prosrc => 'textgtname' },
749{ oid => '252',
750  proname => 'textnename', proleakproof => 't', prorettype => 'bool',
751  proargtypes => 'text name', prosrc => 'textnename' },
752{ oid => '253', descr => 'less-equal-greater',
753  proname => 'bttextnamecmp', proleakproof => 't', prorettype => 'int4',
754  proargtypes => 'text name', prosrc => 'bttextnamecmp' },
755
756{ oid => '266', descr => 'concatenate name and oid',
757  proname => 'nameconcatoid', prorettype => 'name', proargtypes => 'name oid',
758  prosrc => 'nameconcatoid' },
759
760{ oid => '274',
761  descr => 'current date and time - increments during transactions',
762  proname => 'timeofday', provolatile => 'v', prorettype => 'text',
763  proargtypes => '', prosrc => 'timeofday' },
764
765{ oid => '277',
766  proname => 'inter_sl', prorettype => 'bool', proargtypes => 'lseg line',
767  prosrc => 'inter_sl' },
768{ oid => '278',
769  proname => 'inter_lb', prorettype => 'bool', proargtypes => 'line box',
770  prosrc => 'inter_lb' },
771
772{ oid => '279',
773  proname => 'float48mul', prorettype => 'float8',
774  proargtypes => 'float4 float8', prosrc => 'float48mul' },
775{ oid => '280',
776  proname => 'float48div', prorettype => 'float8',
777  proargtypes => 'float4 float8', prosrc => 'float48div' },
778{ oid => '281',
779  proname => 'float48pl', prorettype => 'float8',
780  proargtypes => 'float4 float8', prosrc => 'float48pl' },
781{ oid => '282',
782  proname => 'float48mi', prorettype => 'float8',
783  proargtypes => 'float4 float8', prosrc => 'float48mi' },
784{ oid => '283',
785  proname => 'float84mul', prorettype => 'float8',
786  proargtypes => 'float8 float4', prosrc => 'float84mul' },
787{ oid => '284',
788  proname => 'float84div', prorettype => 'float8',
789  proargtypes => 'float8 float4', prosrc => 'float84div' },
790{ oid => '285',
791  proname => 'float84pl', prorettype => 'float8',
792  proargtypes => 'float8 float4', prosrc => 'float84pl' },
793{ oid => '286',
794  proname => 'float84mi', prorettype => 'float8',
795  proargtypes => 'float8 float4', prosrc => 'float84mi' },
796
797{ oid => '287',
798  proname => 'float4eq', proleakproof => 't', prorettype => 'bool',
799  proargtypes => 'float4 float4', prosrc => 'float4eq' },
800{ oid => '288',
801  proname => 'float4ne', proleakproof => 't', prorettype => 'bool',
802  proargtypes => 'float4 float4', prosrc => 'float4ne' },
803{ oid => '289',
804  proname => 'float4lt', proleakproof => 't', prorettype => 'bool',
805  proargtypes => 'float4 float4', prosrc => 'float4lt' },
806{ oid => '290',
807  proname => 'float4le', proleakproof => 't', prorettype => 'bool',
808  proargtypes => 'float4 float4', prosrc => 'float4le' },
809{ oid => '291',
810  proname => 'float4gt', proleakproof => 't', prorettype => 'bool',
811  proargtypes => 'float4 float4', prosrc => 'float4gt' },
812{ oid => '292',
813  proname => 'float4ge', proleakproof => 't', prorettype => 'bool',
814  proargtypes => 'float4 float4', prosrc => 'float4ge' },
815
816{ oid => '293',
817  proname => 'float8eq', proleakproof => 't', prorettype => 'bool',
818  proargtypes => 'float8 float8', prosrc => 'float8eq' },
819{ oid => '294',
820  proname => 'float8ne', proleakproof => 't', prorettype => 'bool',
821  proargtypes => 'float8 float8', prosrc => 'float8ne' },
822{ oid => '295',
823  proname => 'float8lt', proleakproof => 't', prorettype => 'bool',
824  proargtypes => 'float8 float8', prosrc => 'float8lt' },
825{ oid => '296',
826  proname => 'float8le', proleakproof => 't', prorettype => 'bool',
827  proargtypes => 'float8 float8', prosrc => 'float8le' },
828{ oid => '297',
829  proname => 'float8gt', proleakproof => 't', prorettype => 'bool',
830  proargtypes => 'float8 float8', prosrc => 'float8gt' },
831{ oid => '298',
832  proname => 'float8ge', proleakproof => 't', prorettype => 'bool',
833  proargtypes => 'float8 float8', prosrc => 'float8ge' },
834
835{ oid => '299',
836  proname => 'float48eq', proleakproof => 't', prorettype => 'bool',
837  proargtypes => 'float4 float8', prosrc => 'float48eq' },
838
839# OIDS 300 - 399
840
841{ oid => '300',
842  proname => 'float48ne', proleakproof => 't', prorettype => 'bool',
843  proargtypes => 'float4 float8', prosrc => 'float48ne' },
844{ oid => '301',
845  proname => 'float48lt', proleakproof => 't', prorettype => 'bool',
846  proargtypes => 'float4 float8', prosrc => 'float48lt' },
847{ oid => '302',
848  proname => 'float48le', proleakproof => 't', prorettype => 'bool',
849  proargtypes => 'float4 float8', prosrc => 'float48le' },
850{ oid => '303',
851  proname => 'float48gt', proleakproof => 't', prorettype => 'bool',
852  proargtypes => 'float4 float8', prosrc => 'float48gt' },
853{ oid => '304',
854  proname => 'float48ge', proleakproof => 't', prorettype => 'bool',
855  proargtypes => 'float4 float8', prosrc => 'float48ge' },
856{ oid => '305',
857  proname => 'float84eq', proleakproof => 't', prorettype => 'bool',
858  proargtypes => 'float8 float4', prosrc => 'float84eq' },
859{ oid => '306',
860  proname => 'float84ne', proleakproof => 't', prorettype => 'bool',
861  proargtypes => 'float8 float4', prosrc => 'float84ne' },
862{ oid => '307',
863  proname => 'float84lt', proleakproof => 't', prorettype => 'bool',
864  proargtypes => 'float8 float4', prosrc => 'float84lt' },
865{ oid => '308',
866  proname => 'float84le', proleakproof => 't', prorettype => 'bool',
867  proargtypes => 'float8 float4', prosrc => 'float84le' },
868{ oid => '309',
869  proname => 'float84gt', proleakproof => 't', prorettype => 'bool',
870  proargtypes => 'float8 float4', prosrc => 'float84gt' },
871{ oid => '310',
872  proname => 'float84ge', proleakproof => 't', prorettype => 'bool',
873  proargtypes => 'float8 float4', prosrc => 'float84ge' },
874{ oid => '320', descr => 'bucket number of operand in equal-width histogram',
875  proname => 'width_bucket', prorettype => 'int4',
876  proargtypes => 'float8 float8 float8 int4', prosrc => 'width_bucket_float8' },
877
878{ oid => '311', descr => 'convert float4 to float8',
879  proname => 'float8', proleakproof => 't', prorettype => 'float8',
880  proargtypes => 'float4', prosrc => 'ftod' },
881{ oid => '312', descr => 'convert float8 to float4',
882  proname => 'float4', prorettype => 'float4', proargtypes => 'float8',
883  prosrc => 'dtof' },
884{ oid => '313', descr => 'convert int2 to int4',
885  proname => 'int4', proleakproof => 't', prorettype => 'int4',
886  proargtypes => 'int2', prosrc => 'i2toi4' },
887{ oid => '314', descr => 'convert int4 to int2',
888  proname => 'int2', prorettype => 'int2', proargtypes => 'int4',
889  prosrc => 'i4toi2' },
890{ oid => '316', descr => 'convert int4 to float8',
891  proname => 'float8', proleakproof => 't', prorettype => 'float8',
892  proargtypes => 'int4', prosrc => 'i4tod' },
893{ oid => '317', descr => 'convert float8 to int4',
894  proname => 'int4', prorettype => 'int4', proargtypes => 'float8',
895  prosrc => 'dtoi4' },
896{ oid => '318', descr => 'convert int4 to float4',
897  proname => 'float4', proleakproof => 't', prorettype => 'float4',
898  proargtypes => 'int4', prosrc => 'i4tof' },
899{ oid => '319', descr => 'convert float4 to int4',
900  proname => 'int4', prorettype => 'int4', proargtypes => 'float4',
901  prosrc => 'ftoi4' },
902
903# Table access method handlers
904{ oid => '3', descr => 'row-oriented heap table access method handler',
905  proname => 'heap_tableam_handler', provolatile => 'v',
906  prorettype => 'table_am_handler', proargtypes => 'internal',
907  prosrc => 'heap_tableam_handler' },
908
909# Index access method handlers
910{ oid => '330', descr => 'btree index access method handler',
911  proname => 'bthandler', provolatile => 'v', prorettype => 'index_am_handler',
912  proargtypes => 'internal', prosrc => 'bthandler' },
913{ oid => '331', descr => 'hash index access method handler',
914  proname => 'hashhandler', provolatile => 'v',
915  prorettype => 'index_am_handler', proargtypes => 'internal',
916  prosrc => 'hashhandler' },
917{ oid => '332', descr => 'gist index access method handler',
918  proname => 'gisthandler', provolatile => 'v',
919  prorettype => 'index_am_handler', proargtypes => 'internal',
920  prosrc => 'gisthandler' },
921{ oid => '333', descr => 'gin index access method handler',
922  proname => 'ginhandler', provolatile => 'v', prorettype => 'index_am_handler',
923  proargtypes => 'internal', prosrc => 'ginhandler' },
924{ oid => '334', descr => 'spgist index access method handler',
925  proname => 'spghandler', provolatile => 'v', prorettype => 'index_am_handler',
926  proargtypes => 'internal', prosrc => 'spghandler' },
927{ oid => '335', descr => 'brin index access method handler',
928  proname => 'brinhandler', provolatile => 'v',
929  prorettype => 'index_am_handler', proargtypes => 'internal',
930  prosrc => 'brinhandler' },
931{ oid => '3952', descr => 'brin: standalone scan new table pages',
932  proname => 'brin_summarize_new_values', provolatile => 'v',
933  proparallel => 'u', prorettype => 'int4', proargtypes => 'regclass',
934  prosrc => 'brin_summarize_new_values' },
935{ oid => '3999', descr => 'brin: standalone scan new table pages',
936  proname => 'brin_summarize_range', provolatile => 'v', proparallel => 'u',
937  prorettype => 'int4', proargtypes => 'regclass int8',
938  prosrc => 'brin_summarize_range' },
939{ oid => '4014', descr => 'brin: desummarize page range',
940  proname => 'brin_desummarize_range', provolatile => 'v', proparallel => 'u',
941  prorettype => 'void', proargtypes => 'regclass int8',
942  prosrc => 'brin_desummarize_range' },
943
944{ oid => '338', descr => 'validate an operator class',
945  proname => 'amvalidate', provolatile => 'v', prorettype => 'bool',
946  proargtypes => 'oid', prosrc => 'amvalidate' },
947
948{ oid => '636', descr => 'test property of an index access method',
949  proname => 'pg_indexam_has_property', provolatile => 's',
950  prorettype => 'bool', proargtypes => 'oid text',
951  prosrc => 'pg_indexam_has_property' },
952{ oid => '637', descr => 'test property of an index',
953  proname => 'pg_index_has_property', provolatile => 's', prorettype => 'bool',
954  proargtypes => 'regclass text', prosrc => 'pg_index_has_property' },
955{ oid => '638', descr => 'test property of an index column',
956  proname => 'pg_index_column_has_property', provolatile => 's',
957  prorettype => 'bool', proargtypes => 'regclass int4 text',
958  prosrc => 'pg_index_column_has_property' },
959{ oid => '676', descr => 'return name of given index build phase',
960  proname => 'pg_indexam_progress_phasename', prorettype => 'text',
961  proargtypes => 'oid int8', prosrc => 'pg_indexam_progress_phasename' },
962
963{ oid => '339',
964  proname => 'poly_same', prorettype => 'bool',
965  proargtypes => 'polygon polygon', prosrc => 'poly_same' },
966{ oid => '340',
967  proname => 'poly_contain', prorettype => 'bool',
968  proargtypes => 'polygon polygon', prosrc => 'poly_contain' },
969{ oid => '341',
970  proname => 'poly_left', prorettype => 'bool',
971  proargtypes => 'polygon polygon', prosrc => 'poly_left' },
972{ oid => '342',
973  proname => 'poly_overleft', prorettype => 'bool',
974  proargtypes => 'polygon polygon', prosrc => 'poly_overleft' },
975{ oid => '343',
976  proname => 'poly_overright', prorettype => 'bool',
977  proargtypes => 'polygon polygon', prosrc => 'poly_overright' },
978{ oid => '344',
979  proname => 'poly_right', prorettype => 'bool',
980  proargtypes => 'polygon polygon', prosrc => 'poly_right' },
981{ oid => '345',
982  proname => 'poly_contained', prorettype => 'bool',
983  proargtypes => 'polygon polygon', prosrc => 'poly_contained' },
984{ oid => '346',
985  proname => 'poly_overlap', prorettype => 'bool',
986  proargtypes => 'polygon polygon', prosrc => 'poly_overlap' },
987{ oid => '347', descr => 'I/O',
988  proname => 'poly_in', prorettype => 'polygon', proargtypes => 'cstring',
989  prosrc => 'poly_in' },
990{ oid => '348', descr => 'I/O',
991  proname => 'poly_out', prorettype => 'cstring', proargtypes => 'polygon',
992  prosrc => 'poly_out' },
993
994{ oid => '350', descr => 'less-equal-greater',
995  proname => 'btint2cmp', proleakproof => 't', prorettype => 'int4',
996  proargtypes => 'int2 int2', prosrc => 'btint2cmp' },
997{ oid => '3129', descr => 'sort support',
998  proname => 'btint2sortsupport', prorettype => 'void',
999  proargtypes => 'internal', prosrc => 'btint2sortsupport' },
1000{ oid => '351', descr => 'less-equal-greater',
1001  proname => 'btint4cmp', proleakproof => 't', prorettype => 'int4',
1002  proargtypes => 'int4 int4', prosrc => 'btint4cmp' },
1003{ oid => '3130', descr => 'sort support',
1004  proname => 'btint4sortsupport', prorettype => 'void',
1005  proargtypes => 'internal', prosrc => 'btint4sortsupport' },
1006{ oid => '842', descr => 'less-equal-greater',
1007  proname => 'btint8cmp', proleakproof => 't', prorettype => 'int4',
1008  proargtypes => 'int8 int8', prosrc => 'btint8cmp' },
1009{ oid => '3131', descr => 'sort support',
1010  proname => 'btint8sortsupport', prorettype => 'void',
1011  proargtypes => 'internal', prosrc => 'btint8sortsupport' },
1012{ oid => '354', descr => 'less-equal-greater',
1013  proname => 'btfloat4cmp', proleakproof => 't', prorettype => 'int4',
1014  proargtypes => 'float4 float4', prosrc => 'btfloat4cmp' },
1015{ oid => '3132', descr => 'sort support',
1016  proname => 'btfloat4sortsupport', prorettype => 'void',
1017  proargtypes => 'internal', prosrc => 'btfloat4sortsupport' },
1018{ oid => '355', descr => 'less-equal-greater',
1019  proname => 'btfloat8cmp', proleakproof => 't', prorettype => 'int4',
1020  proargtypes => 'float8 float8', prosrc => 'btfloat8cmp' },
1021{ oid => '3133', descr => 'sort support',
1022  proname => 'btfloat8sortsupport', prorettype => 'void',
1023  proargtypes => 'internal', prosrc => 'btfloat8sortsupport' },
1024{ oid => '356', descr => 'less-equal-greater',
1025  proname => 'btoidcmp', proleakproof => 't', prorettype => 'int4',
1026  proargtypes => 'oid oid', prosrc => 'btoidcmp' },
1027{ oid => '3134', descr => 'sort support',
1028  proname => 'btoidsortsupport', prorettype => 'void',
1029  proargtypes => 'internal', prosrc => 'btoidsortsupport' },
1030{ oid => '404', descr => 'less-equal-greater',
1031  proname => 'btoidvectorcmp', proleakproof => 't', prorettype => 'int4',
1032  proargtypes => 'oidvector oidvector', prosrc => 'btoidvectorcmp' },
1033{ oid => '358', descr => 'less-equal-greater',
1034  proname => 'btcharcmp', proleakproof => 't', prorettype => 'int4',
1035  proargtypes => 'char char', prosrc => 'btcharcmp' },
1036{ oid => '359', descr => 'less-equal-greater',
1037  proname => 'btnamecmp', proleakproof => 't', prorettype => 'int4',
1038  proargtypes => 'name name', prosrc => 'btnamecmp' },
1039{ oid => '3135', descr => 'sort support',
1040  proname => 'btnamesortsupport', prorettype => 'void',
1041  proargtypes => 'internal', prosrc => 'btnamesortsupport' },
1042{ oid => '360', descr => 'less-equal-greater',
1043  proname => 'bttextcmp', proleakproof => 't', prorettype => 'int4',
1044  proargtypes => 'text text', prosrc => 'bttextcmp' },
1045{ oid => '3255', descr => 'sort support',
1046  proname => 'bttextsortsupport', prorettype => 'void',
1047  proargtypes => 'internal', prosrc => 'bttextsortsupport' },
1048{ oid => '5050', descr => 'equal image',
1049  proname => 'btvarstrequalimage', prorettype => 'bool', proargtypes => 'oid',
1050  prosrc => 'btvarstrequalimage' },
1051{ oid => '377', descr => 'less-equal-greater',
1052  proname => 'cash_cmp', proleakproof => 't', prorettype => 'int4',
1053  proargtypes => 'money money', prosrc => 'cash_cmp' },
1054{ oid => '382', descr => 'less-equal-greater',
1055  proname => 'btarraycmp', prorettype => 'int4',
1056  proargtypes => 'anyarray anyarray', prosrc => 'btarraycmp' },
1057{ oid => '4126', descr => 'window RANGE support',
1058  proname => 'in_range', prorettype => 'bool',
1059  proargtypes => 'int8 int8 int8 bool bool', prosrc => 'in_range_int8_int8' },
1060{ oid => '4127', descr => 'window RANGE support',
1061  proname => 'in_range', prorettype => 'bool',
1062  proargtypes => 'int4 int4 int8 bool bool', prosrc => 'in_range_int4_int8' },
1063{ oid => '4128', descr => 'window RANGE support',
1064  proname => 'in_range', prorettype => 'bool',
1065  proargtypes => 'int4 int4 int4 bool bool', prosrc => 'in_range_int4_int4' },
1066{ oid => '4129', descr => 'window RANGE support',
1067  proname => 'in_range', prorettype => 'bool',
1068  proargtypes => 'int4 int4 int2 bool bool', prosrc => 'in_range_int4_int2' },
1069{ oid => '4130', descr => 'window RANGE support',
1070  proname => 'in_range', prorettype => 'bool',
1071  proargtypes => 'int2 int2 int8 bool bool', prosrc => 'in_range_int2_int8' },
1072{ oid => '4131', descr => 'window RANGE support',
1073  proname => 'in_range', prorettype => 'bool',
1074  proargtypes => 'int2 int2 int4 bool bool', prosrc => 'in_range_int2_int4' },
1075{ oid => '4132', descr => 'window RANGE support',
1076  proname => 'in_range', prorettype => 'bool',
1077  proargtypes => 'int2 int2 int2 bool bool', prosrc => 'in_range_int2_int2' },
1078{ oid => '4139', descr => 'window RANGE support',
1079  proname => 'in_range', prorettype => 'bool',
1080  proargtypes => 'float8 float8 float8 bool bool',
1081  prosrc => 'in_range_float8_float8' },
1082{ oid => '4140', descr => 'window RANGE support',
1083  proname => 'in_range', prorettype => 'bool',
1084  proargtypes => 'float4 float4 float8 bool bool',
1085  prosrc => 'in_range_float4_float8' },
1086{ oid => '4141', descr => 'window RANGE support',
1087  proname => 'in_range', prorettype => 'bool',
1088  proargtypes => 'numeric numeric numeric bool bool',
1089  prosrc => 'in_range_numeric_numeric' },
1090
1091{ oid => '361',
1092  proname => 'lseg_distance', prorettype => 'float8',
1093  proargtypes => 'lseg lseg', prosrc => 'lseg_distance' },
1094{ oid => '362',
1095  proname => 'lseg_interpt', prorettype => 'point', proargtypes => 'lseg lseg',
1096  prosrc => 'lseg_interpt' },
1097{ oid => '363',
1098  proname => 'dist_ps', prorettype => 'float8', proargtypes => 'point lseg',
1099  prosrc => 'dist_ps' },
1100{ oid => '380',
1101  proname => 'dist_sp', prorettype => 'float8', proargtypes => 'lseg point',
1102  prosrc => 'dist_sp' },
1103{ oid => '364',
1104  proname => 'dist_pb', prorettype => 'float8', proargtypes => 'point box',
1105  prosrc => 'dist_pb' },
1106{ oid => '357',
1107  proname => 'dist_bp', prorettype => 'float8', proargtypes => 'box point',
1108  prosrc => 'dist_bp' },
1109{ oid => '365',
1110  proname => 'dist_sb', prorettype => 'float8', proargtypes => 'lseg box',
1111  prosrc => 'dist_sb' },
1112{ oid => '381',
1113  proname => 'dist_bs', prorettype => 'float8', proargtypes => 'box lseg',
1114  prosrc => 'dist_bs' },
1115{ oid => '366',
1116  proname => 'close_ps', prorettype => 'point', proargtypes => 'point lseg',
1117  prosrc => 'close_ps' },
1118{ oid => '367',
1119  proname => 'close_pb', prorettype => 'point', proargtypes => 'point box',
1120  prosrc => 'close_pb' },
1121{ oid => '368',
1122  proname => 'close_sb', prorettype => 'point', proargtypes => 'lseg box',
1123  prosrc => 'close_sb' },
1124{ oid => '369',
1125  proname => 'on_ps', prorettype => 'bool', proargtypes => 'point lseg',
1126  prosrc => 'on_ps' },
1127{ oid => '370',
1128  proname => 'path_distance', prorettype => 'float8',
1129  proargtypes => 'path path', prosrc => 'path_distance' },
1130{ oid => '371',
1131  proname => 'dist_ppath', prorettype => 'float8', proargtypes => 'point path',
1132  prosrc => 'dist_ppath' },
1133{ oid => '421',
1134  proname => 'dist_pathp', prorettype => 'float8', proargtypes => 'path point',
1135  prosrc => 'dist_pathp' },
1136{ oid => '372',
1137  proname => 'on_sb', prorettype => 'bool', proargtypes => 'lseg box',
1138  prosrc => 'on_sb' },
1139{ oid => '373',
1140  proname => 'inter_sb', prorettype => 'bool', proargtypes => 'lseg box',
1141  prosrc => 'inter_sb' },
1142
1143# OIDS 400 - 499
1144
1145{ oid => '401', descr => 'convert char(n) to text',
1146  proname => 'text', prorettype => 'text', proargtypes => 'bpchar',
1147  prosrc => 'rtrim1' },
1148{ oid => '406', descr => 'convert name to text',
1149  proname => 'text', proleakproof => 't', prorettype => 'text',
1150  proargtypes => 'name', prosrc => 'name_text' },
1151{ oid => '407', descr => 'convert text to name',
1152  proname => 'name', proleakproof => 't', prorettype => 'name',
1153  proargtypes => 'text', prosrc => 'text_name' },
1154{ oid => '408', descr => 'convert name to char(n)',
1155  proname => 'bpchar', prorettype => 'bpchar', proargtypes => 'name',
1156  prosrc => 'name_bpchar' },
1157{ oid => '409', descr => 'convert char(n) to name',
1158  proname => 'name', proleakproof => 't', prorettype => 'name',
1159  proargtypes => 'bpchar', prosrc => 'bpchar_name' },
1160
1161{ oid => '449', descr => 'hash',
1162  proname => 'hashint2', prorettype => 'int4', proargtypes => 'int2',
1163  prosrc => 'hashint2' },
1164{ oid => '441', descr => 'hash',
1165  proname => 'hashint2extended', prorettype => 'int8',
1166  proargtypes => 'int2 int8', prosrc => 'hashint2extended' },
1167{ oid => '450', descr => 'hash',
1168  proname => 'hashint4', prorettype => 'int4', proargtypes => 'int4',
1169  prosrc => 'hashint4' },
1170{ oid => '425', descr => 'hash',
1171  proname => 'hashint4extended', prorettype => 'int8',
1172  proargtypes => 'int4 int8', prosrc => 'hashint4extended' },
1173{ oid => '949', descr => 'hash',
1174  proname => 'hashint8', prorettype => 'int4', proargtypes => 'int8',
1175  prosrc => 'hashint8' },
1176{ oid => '442', descr => 'hash',
1177  proname => 'hashint8extended', prorettype => 'int8',
1178  proargtypes => 'int8 int8', prosrc => 'hashint8extended' },
1179{ oid => '451', descr => 'hash',
1180  proname => 'hashfloat4', prorettype => 'int4', proargtypes => 'float4',
1181  prosrc => 'hashfloat4' },
1182{ oid => '443', descr => 'hash',
1183  proname => 'hashfloat4extended', prorettype => 'int8',
1184  proargtypes => 'float4 int8', prosrc => 'hashfloat4extended' },
1185{ oid => '452', descr => 'hash',
1186  proname => 'hashfloat8', prorettype => 'int4', proargtypes => 'float8',
1187  prosrc => 'hashfloat8' },
1188{ oid => '444', descr => 'hash',
1189  proname => 'hashfloat8extended', prorettype => 'int8',
1190  proargtypes => 'float8 int8', prosrc => 'hashfloat8extended' },
1191{ oid => '453', descr => 'hash',
1192  proname => 'hashoid', prorettype => 'int4', proargtypes => 'oid',
1193  prosrc => 'hashoid' },
1194{ oid => '445', descr => 'hash',
1195  proname => 'hashoidextended', prorettype => 'int8', proargtypes => 'oid int8',
1196  prosrc => 'hashoidextended' },
1197{ oid => '454', descr => 'hash',
1198  proname => 'hashchar', prorettype => 'int4', proargtypes => 'char',
1199  prosrc => 'hashchar' },
1200{ oid => '446', descr => 'hash',
1201  proname => 'hashcharextended', prorettype => 'int8',
1202  proargtypes => 'char int8', prosrc => 'hashcharextended' },
1203{ oid => '455', descr => 'hash',
1204  proname => 'hashname', prorettype => 'int4', proargtypes => 'name',
1205  prosrc => 'hashname' },
1206{ oid => '447', descr => 'hash',
1207  proname => 'hashnameextended', prorettype => 'int8',
1208  proargtypes => 'name int8', prosrc => 'hashnameextended' },
1209{ oid => '400', descr => 'hash',
1210  proname => 'hashtext', prorettype => 'int4', proargtypes => 'text',
1211  prosrc => 'hashtext' },
1212{ oid => '448', descr => 'hash',
1213  proname => 'hashtextextended', prorettype => 'int8',
1214  proargtypes => 'text int8', prosrc => 'hashtextextended' },
1215{ oid => '456', descr => 'hash',
1216  proname => 'hashvarlena', prorettype => 'int4', proargtypes => 'internal',
1217  prosrc => 'hashvarlena' },
1218{ oid => '772', descr => 'hash',
1219  proname => 'hashvarlenaextended', prorettype => 'int8',
1220  proargtypes => 'internal int8', prosrc => 'hashvarlenaextended' },
1221{ oid => '457', descr => 'hash',
1222  proname => 'hashoidvector', prorettype => 'int4', proargtypes => 'oidvector',
1223  prosrc => 'hashoidvector' },
1224{ oid => '776', descr => 'hash',
1225  proname => 'hashoidvectorextended', prorettype => 'int8',
1226  proargtypes => 'oidvector int8', prosrc => 'hashoidvectorextended' },
1227{ oid => '329', descr => 'hash',
1228  proname => 'hash_aclitem', prorettype => 'int4', proargtypes => 'aclitem',
1229  prosrc => 'hash_aclitem' },
1230{ oid => '777', descr => 'hash',
1231  proname => 'hash_aclitem_extended', prorettype => 'int8',
1232  proargtypes => 'aclitem int8', prosrc => 'hash_aclitem_extended' },
1233{ oid => '399', descr => 'hash',
1234  proname => 'hashmacaddr', prorettype => 'int4', proargtypes => 'macaddr',
1235  prosrc => 'hashmacaddr' },
1236{ oid => '778', descr => 'hash',
1237  proname => 'hashmacaddrextended', prorettype => 'int8',
1238  proargtypes => 'macaddr int8', prosrc => 'hashmacaddrextended' },
1239{ oid => '422', descr => 'hash',
1240  proname => 'hashinet', prorettype => 'int4', proargtypes => 'inet',
1241  prosrc => 'hashinet' },
1242{ oid => '779', descr => 'hash',
1243  proname => 'hashinetextended', prorettype => 'int8',
1244  proargtypes => 'inet int8', prosrc => 'hashinetextended' },
1245{ oid => '432', descr => 'hash',
1246  proname => 'hash_numeric', prorettype => 'int4', proargtypes => 'numeric',
1247  prosrc => 'hash_numeric' },
1248{ oid => '780', descr => 'hash',
1249  proname => 'hash_numeric_extended', prorettype => 'int8',
1250  proargtypes => 'numeric int8', prosrc => 'hash_numeric_extended' },
1251{ oid => '328', descr => 'hash',
1252  proname => 'hashmacaddr8', prorettype => 'int4', proargtypes => 'macaddr8',
1253  prosrc => 'hashmacaddr8' },
1254{ oid => '781', descr => 'hash',
1255  proname => 'hashmacaddr8extended', prorettype => 'int8',
1256  proargtypes => 'macaddr8 int8', prosrc => 'hashmacaddr8extended' },
1257
1258{ oid => '438', descr => 'count the number of NULL arguments',
1259  proname => 'num_nulls', provariadic => 'any', proisstrict => 'f',
1260  prorettype => 'int4', proargtypes => 'any', proallargtypes => '{any}',
1261  proargmodes => '{v}', prosrc => 'pg_num_nulls' },
1262{ oid => '440', descr => 'count the number of non-NULL arguments',
1263  proname => 'num_nonnulls', provariadic => 'any', proisstrict => 'f',
1264  prorettype => 'int4', proargtypes => 'any', proallargtypes => '{any}',
1265  proargmodes => '{v}', prosrc => 'pg_num_nonnulls' },
1266
1267{ oid => '458', descr => 'larger of two',
1268  proname => 'text_larger', proleakproof => 't', prorettype => 'text',
1269  proargtypes => 'text text', prosrc => 'text_larger' },
1270{ oid => '459', descr => 'smaller of two',
1271  proname => 'text_smaller', proleakproof => 't', prorettype => 'text',
1272  proargtypes => 'text text', prosrc => 'text_smaller' },
1273
1274{ oid => '460', descr => 'I/O',
1275  proname => 'int8in', prorettype => 'int8', proargtypes => 'cstring',
1276  prosrc => 'int8in' },
1277{ oid => '461', descr => 'I/O',
1278  proname => 'int8out', prorettype => 'cstring', proargtypes => 'int8',
1279  prosrc => 'int8out' },
1280{ oid => '462',
1281  proname => 'int8um', prorettype => 'int8', proargtypes => 'int8',
1282  prosrc => 'int8um' },
1283{ oid => '463',
1284  proname => 'int8pl', prorettype => 'int8', proargtypes => 'int8 int8',
1285  prosrc => 'int8pl' },
1286{ oid => '464',
1287  proname => 'int8mi', prorettype => 'int8', proargtypes => 'int8 int8',
1288  prosrc => 'int8mi' },
1289{ oid => '465',
1290  proname => 'int8mul', prorettype => 'int8', proargtypes => 'int8 int8',
1291  prosrc => 'int8mul' },
1292{ oid => '466',
1293  proname => 'int8div', prorettype => 'int8', proargtypes => 'int8 int8',
1294  prosrc => 'int8div' },
1295{ oid => '467',
1296  proname => 'int8eq', proleakproof => 't', prorettype => 'bool',
1297  proargtypes => 'int8 int8', prosrc => 'int8eq' },
1298{ oid => '468',
1299  proname => 'int8ne', proleakproof => 't', prorettype => 'bool',
1300  proargtypes => 'int8 int8', prosrc => 'int8ne' },
1301{ oid => '469',
1302  proname => 'int8lt', proleakproof => 't', prorettype => 'bool',
1303  proargtypes => 'int8 int8', prosrc => 'int8lt' },
1304{ oid => '470',
1305  proname => 'int8gt', proleakproof => 't', prorettype => 'bool',
1306  proargtypes => 'int8 int8', prosrc => 'int8gt' },
1307{ oid => '471',
1308  proname => 'int8le', proleakproof => 't', prorettype => 'bool',
1309  proargtypes => 'int8 int8', prosrc => 'int8le' },
1310{ oid => '472',
1311  proname => 'int8ge', proleakproof => 't', prorettype => 'bool',
1312  proargtypes => 'int8 int8', prosrc => 'int8ge' },
1313
1314{ oid => '474',
1315  proname => 'int84eq', proleakproof => 't', prorettype => 'bool',
1316  proargtypes => 'int8 int4', prosrc => 'int84eq' },
1317{ oid => '475',
1318  proname => 'int84ne', proleakproof => 't', prorettype => 'bool',
1319  proargtypes => 'int8 int4', prosrc => 'int84ne' },
1320{ oid => '476',
1321  proname => 'int84lt', proleakproof => 't', prorettype => 'bool',
1322  proargtypes => 'int8 int4', prosrc => 'int84lt' },
1323{ oid => '477',
1324  proname => 'int84gt', proleakproof => 't', prorettype => 'bool',
1325  proargtypes => 'int8 int4', prosrc => 'int84gt' },
1326{ oid => '478',
1327  proname => 'int84le', proleakproof => 't', prorettype => 'bool',
1328  proargtypes => 'int8 int4', prosrc => 'int84le' },
1329{ oid => '479',
1330  proname => 'int84ge', proleakproof => 't', prorettype => 'bool',
1331  proargtypes => 'int8 int4', prosrc => 'int84ge' },
1332
1333{ oid => '480', descr => 'convert int8 to int4',
1334  proname => 'int4', prorettype => 'int4', proargtypes => 'int8',
1335  prosrc => 'int84' },
1336{ oid => '481', descr => 'convert int4 to int8',
1337  proname => 'int8', proleakproof => 't', prorettype => 'int8',
1338  proargtypes => 'int4', prosrc => 'int48' },
1339{ oid => '482', descr => 'convert int8 to float8',
1340  proname => 'float8', proleakproof => 't', prorettype => 'float8',
1341  proargtypes => 'int8', prosrc => 'i8tod' },
1342{ oid => '483', descr => 'convert float8 to int8',
1343  proname => 'int8', prorettype => 'int8', proargtypes => 'float8',
1344  prosrc => 'dtoi8' },
1345
1346# OIDS 500 - 599
1347
1348# OIDS 600 - 699
1349
1350{ oid => '626', descr => 'hash',
1351  proname => 'hash_array', prorettype => 'int4', proargtypes => 'anyarray',
1352  prosrc => 'hash_array' },
1353{ oid => '782', descr => 'hash',
1354  proname => 'hash_array_extended', prorettype => 'int8',
1355  proargtypes => 'anyarray int8', prosrc => 'hash_array_extended' },
1356
1357{ oid => '652', descr => 'convert int8 to float4',
1358  proname => 'float4', proleakproof => 't', prorettype => 'float4',
1359  proargtypes => 'int8', prosrc => 'i8tof' },
1360{ oid => '653', descr => 'convert float4 to int8',
1361  proname => 'int8', prorettype => 'int8', proargtypes => 'float4',
1362  prosrc => 'ftoi8' },
1363
1364{ oid => '714', descr => 'convert int8 to int2',
1365  proname => 'int2', prorettype => 'int2', proargtypes => 'int8',
1366  prosrc => 'int82' },
1367{ oid => '754', descr => 'convert int2 to int8',
1368  proname => 'int8', proleakproof => 't', prorettype => 'int8',
1369  proargtypes => 'int2', prosrc => 'int28' },
1370
1371{ oid => '655',
1372  proname => 'namelt', proleakproof => 't', prorettype => 'bool',
1373  proargtypes => 'name name', prosrc => 'namelt' },
1374{ oid => '656',
1375  proname => 'namele', proleakproof => 't', prorettype => 'bool',
1376  proargtypes => 'name name', prosrc => 'namele' },
1377{ oid => '657',
1378  proname => 'namegt', proleakproof => 't', prorettype => 'bool',
1379  proargtypes => 'name name', prosrc => 'namegt' },
1380{ oid => '658',
1381  proname => 'namege', proleakproof => 't', prorettype => 'bool',
1382  proargtypes => 'name name', prosrc => 'namege' },
1383{ oid => '659',
1384  proname => 'namene', proleakproof => 't', prorettype => 'bool',
1385  proargtypes => 'name name', prosrc => 'namene' },
1386
1387{ oid => '668', descr => 'adjust char() to typmod length',
1388  proname => 'bpchar', prorettype => 'bpchar',
1389  proargtypes => 'bpchar int4 bool', prosrc => 'bpchar' },
1390{ oid => '3097', descr => 'planner support for varchar length coercion',
1391  proname => 'varchar_support', prorettype => 'internal',
1392  proargtypes => 'internal', prosrc => 'varchar_support' },
1393{ oid => '669', descr => 'adjust varchar() to typmod length',
1394  proname => 'varchar', prosupport => 'varchar_support',
1395  prorettype => 'varchar', proargtypes => 'varchar int4 bool',
1396  prosrc => 'varchar' },
1397
1398{ oid => '619',
1399  proname => 'oidvectorne', proleakproof => 't', prorettype => 'bool',
1400  proargtypes => 'oidvector oidvector', prosrc => 'oidvectorne' },
1401{ oid => '677',
1402  proname => 'oidvectorlt', proleakproof => 't', prorettype => 'bool',
1403  proargtypes => 'oidvector oidvector', prosrc => 'oidvectorlt' },
1404{ oid => '678',
1405  proname => 'oidvectorle', proleakproof => 't', prorettype => 'bool',
1406  proargtypes => 'oidvector oidvector', prosrc => 'oidvectorle' },
1407{ oid => '679',
1408  proname => 'oidvectoreq', proleakproof => 't', prorettype => 'bool',
1409  proargtypes => 'oidvector oidvector', prosrc => 'oidvectoreq' },
1410{ oid => '680',
1411  proname => 'oidvectorge', proleakproof => 't', prorettype => 'bool',
1412  proargtypes => 'oidvector oidvector', prosrc => 'oidvectorge' },
1413{ oid => '681',
1414  proname => 'oidvectorgt', proleakproof => 't', prorettype => 'bool',
1415  proargtypes => 'oidvector oidvector', prosrc => 'oidvectorgt' },
1416
1417# OIDS 700 - 799
1418{ oid => '710', descr => 'deprecated, use current_user instead',
1419  proname => 'getpgusername', provolatile => 's', prorettype => 'name',
1420  proargtypes => '', prosrc => 'current_user' },
1421{ oid => '716',
1422  proname => 'oidlt', proleakproof => 't', prorettype => 'bool',
1423  proargtypes => 'oid oid', prosrc => 'oidlt' },
1424{ oid => '717',
1425  proname => 'oidle', proleakproof => 't', prorettype => 'bool',
1426  proargtypes => 'oid oid', prosrc => 'oidle' },
1427
1428{ oid => '720', descr => 'octet length',
1429  proname => 'octet_length', prorettype => 'int4', proargtypes => 'bytea',
1430  prosrc => 'byteaoctetlen' },
1431{ oid => '721', descr => 'get byte',
1432  proname => 'get_byte', prorettype => 'int4', proargtypes => 'bytea int4',
1433  prosrc => 'byteaGetByte' },
1434{ oid => '722', descr => 'set byte',
1435  proname => 'set_byte', prorettype => 'bytea',
1436  proargtypes => 'bytea int4 int4', prosrc => 'byteaSetByte' },
1437{ oid => '723', descr => 'get bit',
1438  proname => 'get_bit', prorettype => 'int4', proargtypes => 'bytea int8',
1439  prosrc => 'byteaGetBit' },
1440{ oid => '724', descr => 'set bit',
1441  proname => 'set_bit', prorettype => 'bytea', proargtypes => 'bytea int8 int4',
1442  prosrc => 'byteaSetBit' },
1443{ oid => '749', descr => 'substitute portion of string',
1444  proname => 'overlay', prorettype => 'bytea',
1445  proargtypes => 'bytea bytea int4 int4', prosrc => 'byteaoverlay' },
1446{ oid => '752', descr => 'substitute portion of string',
1447  proname => 'overlay', prorettype => 'bytea',
1448  proargtypes => 'bytea bytea int4', prosrc => 'byteaoverlay_no_len' },
1449{ oid => '6163', descr => 'number of set bits',
1450  proname => 'bit_count', prorettype => 'int8', proargtypes => 'bytea',
1451  prosrc => 'bytea_bit_count' },
1452
1453{ oid => '725',
1454  proname => 'dist_pl', prorettype => 'float8', proargtypes => 'point line',
1455  prosrc => 'dist_pl' },
1456{ oid => '702',
1457  proname => 'dist_lp', prorettype => 'float8', proargtypes => 'line point',
1458  prosrc => 'dist_lp' },
1459{ oid => '726',
1460  proname => 'dist_lb', prorettype => 'float8', proargtypes => 'line box',
1461  prosrc => 'dist_lb' },
1462{ oid => '703',
1463  proname => 'dist_bl', prorettype => 'float8', proargtypes => 'box line',
1464  prosrc => 'dist_bl' },
1465{ oid => '727',
1466  proname => 'dist_sl', prorettype => 'float8', proargtypes => 'lseg line',
1467  prosrc => 'dist_sl' },
1468{ oid => '704',
1469  proname => 'dist_ls', prorettype => 'float8', proargtypes => 'line lseg',
1470  prosrc => 'dist_ls' },
1471
1472{ oid => '728',
1473  proname => 'dist_cpoly', prorettype => 'float8',
1474  proargtypes => 'circle polygon', prosrc => 'dist_cpoly' },
1475{ oid => '785',
1476  proname => 'dist_polyc', prorettype => 'float8',
1477  proargtypes => 'polygon circle', prosrc => 'dist_polyc' },
1478{ oid => '729',
1479  proname => 'poly_distance', prorettype => 'float8',
1480  proargtypes => 'polygon polygon', prosrc => 'poly_distance' },
1481{ oid => '3275',
1482  proname => 'dist_ppoly', prorettype => 'float8',
1483  proargtypes => 'point polygon', prosrc => 'dist_ppoly' },
1484{ oid => '3292',
1485  proname => 'dist_polyp', prorettype => 'float8',
1486  proargtypes => 'polygon point', prosrc => 'dist_polyp' },
1487{ oid => '3290',
1488  proname => 'dist_cpoint', prorettype => 'float8',
1489  proargtypes => 'circle point', prosrc => 'dist_cpoint' },
1490
1491{ oid => '740',
1492  proname => 'text_lt', proleakproof => 't', prorettype => 'bool',
1493  proargtypes => 'text text', prosrc => 'text_lt' },
1494{ oid => '741',
1495  proname => 'text_le', proleakproof => 't', prorettype => 'bool',
1496  proargtypes => 'text text', prosrc => 'text_le' },
1497{ oid => '742',
1498  proname => 'text_gt', proleakproof => 't', prorettype => 'bool',
1499  proargtypes => 'text text', prosrc => 'text_gt' },
1500{ oid => '743',
1501  proname => 'text_ge', proleakproof => 't', prorettype => 'bool',
1502  proargtypes => 'text text', prosrc => 'text_ge' },
1503
1504{ oid => '745', descr => 'current user name',
1505  proname => 'current_user', provolatile => 's', prorettype => 'name',
1506  proargtypes => '', prosrc => 'current_user' },
1507{ oid => '746', descr => 'session user name',
1508  proname => 'session_user', provolatile => 's', prorettype => 'name',
1509  proargtypes => '', prosrc => 'session_user' },
1510
1511{ oid => '744',
1512  proname => 'array_eq', prorettype => 'bool',
1513  proargtypes => 'anyarray anyarray', prosrc => 'array_eq' },
1514{ oid => '390',
1515  proname => 'array_ne', prorettype => 'bool',
1516  proargtypes => 'anyarray anyarray', prosrc => 'array_ne' },
1517{ oid => '391',
1518  proname => 'array_lt', prorettype => 'bool',
1519  proargtypes => 'anyarray anyarray', prosrc => 'array_lt' },
1520{ oid => '392',
1521  proname => 'array_gt', prorettype => 'bool',
1522  proargtypes => 'anyarray anyarray', prosrc => 'array_gt' },
1523{ oid => '393',
1524  proname => 'array_le', prorettype => 'bool',
1525  proargtypes => 'anyarray anyarray', prosrc => 'array_le' },
1526{ oid => '396',
1527  proname => 'array_ge', prorettype => 'bool',
1528  proargtypes => 'anyarray anyarray', prosrc => 'array_ge' },
1529{ oid => '747', descr => 'array dimensions',
1530  proname => 'array_dims', prorettype => 'text', proargtypes => 'anyarray',
1531  prosrc => 'array_dims' },
1532{ oid => '748', descr => 'number of array dimensions',
1533  proname => 'array_ndims', prorettype => 'int4', proargtypes => 'anyarray',
1534  prosrc => 'array_ndims' },
1535{ oid => '750', descr => 'I/O',
1536  proname => 'array_in', provolatile => 's', prorettype => 'anyarray',
1537  proargtypes => 'cstring oid int4', prosrc => 'array_in' },
1538{ oid => '751', descr => 'I/O',
1539  proname => 'array_out', provolatile => 's', prorettype => 'cstring',
1540  proargtypes => 'anyarray', prosrc => 'array_out' },
1541{ oid => '2091', descr => 'array lower dimension',
1542  proname => 'array_lower', prorettype => 'int4',
1543  proargtypes => 'anyarray int4', prosrc => 'array_lower' },
1544{ oid => '2092', descr => 'array upper dimension',
1545  proname => 'array_upper', prorettype => 'int4',
1546  proargtypes => 'anyarray int4', prosrc => 'array_upper' },
1547{ oid => '2176', descr => 'array length',
1548  proname => 'array_length', prorettype => 'int4',
1549  proargtypes => 'anyarray int4', prosrc => 'array_length' },
1550{ oid => '3179', descr => 'array cardinality',
1551  proname => 'cardinality', prorettype => 'int4', proargtypes => 'anyarray',
1552  prosrc => 'array_cardinality' },
1553{ oid => '378', descr => 'append element onto end of array',
1554  proname => 'array_append', proisstrict => 'f',
1555  prorettype => 'anycompatiblearray',
1556  proargtypes => 'anycompatiblearray anycompatible', prosrc => 'array_append' },
1557{ oid => '379', descr => 'prepend element onto front of array',
1558  proname => 'array_prepend', proisstrict => 'f',
1559  prorettype => 'anycompatiblearray',
1560  proargtypes => 'anycompatible anycompatiblearray',
1561  prosrc => 'array_prepend' },
1562{ oid => '383',
1563  proname => 'array_cat', proisstrict => 'f',
1564  prorettype => 'anycompatiblearray',
1565  proargtypes => 'anycompatiblearray anycompatiblearray',
1566  prosrc => 'array_cat' },
1567{ oid => '394', descr => 'split delimited text',
1568  proname => 'string_to_array', proisstrict => 'f', prorettype => '_text',
1569  proargtypes => 'text text', prosrc => 'text_to_array' },
1570{ oid => '376', descr => 'split delimited text, with null string',
1571  proname => 'string_to_array', proisstrict => 'f', prorettype => '_text',
1572  proargtypes => 'text text text', prosrc => 'text_to_array_null' },
1573{ oid => '6160', descr => 'split delimited text',
1574  proname => 'string_to_table', prorows => '1000', proisstrict => 'f',
1575  proretset => 't', prorettype => 'text', proargtypes => 'text text',
1576  prosrc => 'text_to_table' },
1577{ oid => '6161', descr => 'split delimited text, with null string',
1578  proname => 'string_to_table', prorows => '1000', proisstrict => 'f',
1579  proretset => 't', prorettype => 'text', proargtypes => 'text text text',
1580  prosrc => 'text_to_table_null' },
1581{ oid => '395',
1582  descr => 'concatenate array elements, using delimiter, into text',
1583  proname => 'array_to_string', provolatile => 's', prorettype => 'text',
1584  proargtypes => 'anyarray text', prosrc => 'array_to_text' },
1585{ oid => '384',
1586  descr => 'concatenate array elements, using delimiter and null string, into text',
1587  proname => 'array_to_string', proisstrict => 'f', provolatile => 's',
1588  prorettype => 'text', proargtypes => 'anyarray text text',
1589  prosrc => 'array_to_text_null' },
1590{ oid => '515', descr => 'larger of two',
1591  proname => 'array_larger', prorettype => 'anyarray',
1592  proargtypes => 'anyarray anyarray', prosrc => 'array_larger' },
1593{ oid => '516', descr => 'smaller of two',
1594  proname => 'array_smaller', prorettype => 'anyarray',
1595  proargtypes => 'anyarray anyarray', prosrc => 'array_smaller' },
1596{ oid => '3277', descr => 'returns an offset of value in array',
1597  proname => 'array_position', proisstrict => 'f', prorettype => 'int4',
1598  proargtypes => 'anycompatiblearray anycompatible',
1599  prosrc => 'array_position' },
1600{ oid => '3278',
1601  descr => 'returns an offset of value in array with start index',
1602  proname => 'array_position', proisstrict => 'f', prorettype => 'int4',
1603  proargtypes => 'anycompatiblearray anycompatible int4',
1604  prosrc => 'array_position_start' },
1605{ oid => '3279',
1606  descr => 'returns an array of offsets of some value in array',
1607  proname => 'array_positions', proisstrict => 'f', prorettype => '_int4',
1608  proargtypes => 'anycompatiblearray anycompatible',
1609  prosrc => 'array_positions' },
1610{ oid => '1191', descr => 'array subscripts generator',
1611  proname => 'generate_subscripts', prorows => '1000', proretset => 't',
1612  prorettype => 'int4', proargtypes => 'anyarray int4 bool',
1613  prosrc => 'generate_subscripts' },
1614{ oid => '1192', descr => 'array subscripts generator',
1615  proname => 'generate_subscripts', prorows => '1000', proretset => 't',
1616  prorettype => 'int4', proargtypes => 'anyarray int4',
1617  prosrc => 'generate_subscripts_nodir' },
1618{ oid => '1193', descr => 'array constructor with value',
1619  proname => 'array_fill', proisstrict => 'f', prorettype => 'anyarray',
1620  proargtypes => 'anyelement _int4', prosrc => 'array_fill' },
1621{ oid => '1286', descr => 'array constructor with value',
1622  proname => 'array_fill', proisstrict => 'f', prorettype => 'anyarray',
1623  proargtypes => 'anyelement _int4 _int4',
1624  prosrc => 'array_fill_with_lower_bounds' },
1625{ oid => '2331', descr => 'expand array to set of rows',
1626  proname => 'unnest', prorows => '100', prosupport => 'array_unnest_support',
1627  proretset => 't', prorettype => 'anyelement', proargtypes => 'anyarray',
1628  prosrc => 'array_unnest' },
1629{ oid => '3996', descr => 'planner support for array_unnest',
1630  proname => 'array_unnest_support', prorettype => 'internal',
1631  proargtypes => 'internal', prosrc => 'array_unnest_support' },
1632{ oid => '3167',
1633  descr => 'remove any occurrences of an element from an array',
1634  proname => 'array_remove', proisstrict => 'f',
1635  prorettype => 'anycompatiblearray',
1636  proargtypes => 'anycompatiblearray anycompatible', prosrc => 'array_remove' },
1637{ oid => '3168', descr => 'replace any occurrences of an element in an array',
1638  proname => 'array_replace', proisstrict => 'f',
1639  prorettype => 'anycompatiblearray',
1640  proargtypes => 'anycompatiblearray anycompatible anycompatible',
1641  prosrc => 'array_replace' },
1642{ oid => '2333', descr => 'aggregate transition function',
1643  proname => 'array_agg_transfn', proisstrict => 'f', prorettype => 'internal',
1644  proargtypes => 'internal anynonarray', prosrc => 'array_agg_transfn' },
1645{ oid => '2334', descr => 'aggregate final function',
1646  proname => 'array_agg_finalfn', proisstrict => 'f', prorettype => 'anyarray',
1647  proargtypes => 'internal anynonarray', prosrc => 'array_agg_finalfn' },
1648{ oid => '2335', descr => 'concatenate aggregate input into an array',
1649  proname => 'array_agg', prokind => 'a', proisstrict => 'f',
1650  prorettype => 'anyarray', proargtypes => 'anynonarray',
1651  prosrc => 'aggregate_dummy' },
1652{ oid => '4051', descr => 'aggregate transition function',
1653  proname => 'array_agg_array_transfn', proisstrict => 'f',
1654  prorettype => 'internal', proargtypes => 'internal anyarray',
1655  prosrc => 'array_agg_array_transfn' },
1656{ oid => '4052', descr => 'aggregate final function',
1657  proname => 'array_agg_array_finalfn', proisstrict => 'f',
1658  prorettype => 'anyarray', proargtypes => 'internal anyarray',
1659  prosrc => 'array_agg_array_finalfn' },
1660{ oid => '4053', descr => 'concatenate aggregate input into an array',
1661  proname => 'array_agg', prokind => 'a', proisstrict => 'f',
1662  prorettype => 'anyarray', proargtypes => 'anyarray',
1663  prosrc => 'aggregate_dummy' },
1664{ oid => '3218',
1665  descr => 'bucket number of operand given a sorted array of bucket lower bounds',
1666  proname => 'width_bucket', prorettype => 'int4',
1667  proargtypes => 'anycompatible anycompatiblearray',
1668  prosrc => 'width_bucket_array' },
1669{ oid => '6172', descr => 'remove last N elements of array',
1670  proname => 'trim_array', prorettype => 'anyarray',
1671  proargtypes => 'anyarray int4', prosrc => 'trim_array' },
1672{ oid => '3816', descr => 'array typanalyze',
1673  proname => 'array_typanalyze', provolatile => 's', prorettype => 'bool',
1674  proargtypes => 'internal', prosrc => 'array_typanalyze' },
1675{ oid => '3817',
1676  descr => 'restriction selectivity for array-containment operators',
1677  proname => 'arraycontsel', provolatile => 's', prorettype => 'float8',
1678  proargtypes => 'internal oid internal int4', prosrc => 'arraycontsel' },
1679{ oid => '3818', descr => 'join selectivity for array-containment operators',
1680  proname => 'arraycontjoinsel', provolatile => 's', prorettype => 'float8',
1681  proargtypes => 'internal oid internal int2 internal',
1682  prosrc => 'arraycontjoinsel' },
1683
1684{ oid => '764', descr => 'large object import',
1685  proname => 'lo_import', provolatile => 'v', proparallel => 'u',
1686  prorettype => 'oid', proargtypes => 'text', prosrc => 'be_lo_import' },
1687{ oid => '767', descr => 'large object import',
1688  proname => 'lo_import', provolatile => 'v', proparallel => 'u',
1689  prorettype => 'oid', proargtypes => 'text oid',
1690  prosrc => 'be_lo_import_with_oid' },
1691{ oid => '765', descr => 'large object export',
1692  proname => 'lo_export', provolatile => 'v', proparallel => 'u',
1693  prorettype => 'int4', proargtypes => 'oid text', prosrc => 'be_lo_export' },
1694
1695{ oid => '766', descr => 'increment',
1696  proname => 'int4inc', prorettype => 'int4', proargtypes => 'int4',
1697  prosrc => 'int4inc' },
1698{ oid => '768', descr => 'larger of two',
1699  proname => 'int4larger', prorettype => 'int4', proargtypes => 'int4 int4',
1700  prosrc => 'int4larger' },
1701{ oid => '769', descr => 'smaller of two',
1702  proname => 'int4smaller', prorettype => 'int4', proargtypes => 'int4 int4',
1703  prosrc => 'int4smaller' },
1704{ oid => '770', descr => 'larger of two',
1705  proname => 'int2larger', prorettype => 'int2', proargtypes => 'int2 int2',
1706  prosrc => 'int2larger' },
1707{ oid => '771', descr => 'smaller of two',
1708  proname => 'int2smaller', prorettype => 'int2', proargtypes => 'int2 int2',
1709  prosrc => 'int2smaller' },
1710
1711# OIDS 800 - 899
1712
1713{ oid => '846',
1714  proname => 'cash_mul_flt4', prorettype => 'money',
1715  proargtypes => 'money float4', prosrc => 'cash_mul_flt4' },
1716{ oid => '847',
1717  proname => 'cash_div_flt4', prorettype => 'money',
1718  proargtypes => 'money float4', prosrc => 'cash_div_flt4' },
1719{ oid => '848',
1720  proname => 'flt4_mul_cash', prorettype => 'money',
1721  proargtypes => 'float4 money', prosrc => 'flt4_mul_cash' },
1722
1723{ oid => '849', descr => 'position of substring',
1724  proname => 'position', prorettype => 'int4', proargtypes => 'text text',
1725  prosrc => 'textpos' },
1726{ oid => '850',
1727  proname => 'textlike', prosupport => 'textlike_support', prorettype => 'bool',
1728  proargtypes => 'text text', prosrc => 'textlike' },
1729{ oid => '1023', descr => 'planner support for textlike',
1730  proname => 'textlike_support', prorettype => 'internal',
1731  proargtypes => 'internal', prosrc => 'textlike_support' },
1732{ oid => '851',
1733  proname => 'textnlike', prorettype => 'bool', proargtypes => 'text text',
1734  prosrc => 'textnlike' },
1735
1736{ oid => '852',
1737  proname => 'int48eq', proleakproof => 't', prorettype => 'bool',
1738  proargtypes => 'int4 int8', prosrc => 'int48eq' },
1739{ oid => '853',
1740  proname => 'int48ne', proleakproof => 't', prorettype => 'bool',
1741  proargtypes => 'int4 int8', prosrc => 'int48ne' },
1742{ oid => '854',
1743  proname => 'int48lt', proleakproof => 't', prorettype => 'bool',
1744  proargtypes => 'int4 int8', prosrc => 'int48lt' },
1745{ oid => '855',
1746  proname => 'int48gt', proleakproof => 't', prorettype => 'bool',
1747  proargtypes => 'int4 int8', prosrc => 'int48gt' },
1748{ oid => '856',
1749  proname => 'int48le', proleakproof => 't', prorettype => 'bool',
1750  proargtypes => 'int4 int8', prosrc => 'int48le' },
1751{ oid => '857',
1752  proname => 'int48ge', proleakproof => 't', prorettype => 'bool',
1753  proargtypes => 'int4 int8', prosrc => 'int48ge' },
1754
1755{ oid => '858',
1756  proname => 'namelike', prosupport => 'textlike_support', prorettype => 'bool',
1757  proargtypes => 'name text', prosrc => 'namelike' },
1758{ oid => '859',
1759  proname => 'namenlike', prorettype => 'bool', proargtypes => 'name text',
1760  prosrc => 'namenlike' },
1761
1762{ oid => '860', descr => 'convert char to char(n)',
1763  proname => 'bpchar', prorettype => 'bpchar', proargtypes => 'char',
1764  prosrc => 'char_bpchar' },
1765
1766{ oid => '861', descr => 'name of the current database',
1767  proname => 'current_database', provolatile => 's', prorettype => 'name',
1768  proargtypes => '', prosrc => 'current_database' },
1769{ oid => '817', descr => 'get the currently executing query',
1770  proname => 'current_query', proisstrict => 'f', provolatile => 'v',
1771  proparallel => 'r', prorettype => 'text', proargtypes => '',
1772  prosrc => 'current_query' },
1773
1774{ oid => '3399',
1775  proname => 'int8_mul_cash', prorettype => 'money',
1776  proargtypes => 'int8 money', prosrc => 'int8_mul_cash' },
1777{ oid => '862',
1778  proname => 'int4_mul_cash', prorettype => 'money',
1779  proargtypes => 'int4 money', prosrc => 'int4_mul_cash' },
1780{ oid => '863',
1781  proname => 'int2_mul_cash', prorettype => 'money',
1782  proargtypes => 'int2 money', prosrc => 'int2_mul_cash' },
1783{ oid => '3344',
1784  proname => 'cash_mul_int8', prorettype => 'money',
1785  proargtypes => 'money int8', prosrc => 'cash_mul_int8' },
1786{ oid => '3345',
1787  proname => 'cash_div_int8', prorettype => 'money',
1788  proargtypes => 'money int8', prosrc => 'cash_div_int8' },
1789{ oid => '864',
1790  proname => 'cash_mul_int4', prorettype => 'money',
1791  proargtypes => 'money int4', prosrc => 'cash_mul_int4' },
1792{ oid => '865',
1793  proname => 'cash_div_int4', prorettype => 'money',
1794  proargtypes => 'money int4', prosrc => 'cash_div_int4' },
1795{ oid => '866',
1796  proname => 'cash_mul_int2', prorettype => 'money',
1797  proargtypes => 'money int2', prosrc => 'cash_mul_int2' },
1798{ oid => '867',
1799  proname => 'cash_div_int2', prorettype => 'money',
1800  proargtypes => 'money int2', prosrc => 'cash_div_int2' },
1801
1802{ oid => '886', descr => 'I/O',
1803  proname => 'cash_in', provolatile => 's', prorettype => 'money',
1804  proargtypes => 'cstring', prosrc => 'cash_in' },
1805{ oid => '887', descr => 'I/O',
1806  proname => 'cash_out', provolatile => 's', prorettype => 'cstring',
1807  proargtypes => 'money', prosrc => 'cash_out' },
1808{ oid => '888',
1809  proname => 'cash_eq', proleakproof => 't', prorettype => 'bool',
1810  proargtypes => 'money money', prosrc => 'cash_eq' },
1811{ oid => '889',
1812  proname => 'cash_ne', proleakproof => 't', prorettype => 'bool',
1813  proargtypes => 'money money', prosrc => 'cash_ne' },
1814{ oid => '890',
1815  proname => 'cash_lt', proleakproof => 't', prorettype => 'bool',
1816  proargtypes => 'money money', prosrc => 'cash_lt' },
1817{ oid => '891',
1818  proname => 'cash_le', proleakproof => 't', prorettype => 'bool',
1819  proargtypes => 'money money', prosrc => 'cash_le' },
1820{ oid => '892',
1821  proname => 'cash_gt', proleakproof => 't', prorettype => 'bool',
1822  proargtypes => 'money money', prosrc => 'cash_gt' },
1823{ oid => '893',
1824  proname => 'cash_ge', proleakproof => 't', prorettype => 'bool',
1825  proargtypes => 'money money', prosrc => 'cash_ge' },
1826{ oid => '894',
1827  proname => 'cash_pl', prorettype => 'money', proargtypes => 'money money',
1828  prosrc => 'cash_pl' },
1829{ oid => '895',
1830  proname => 'cash_mi', prorettype => 'money', proargtypes => 'money money',
1831  prosrc => 'cash_mi' },
1832{ oid => '896',
1833  proname => 'cash_mul_flt8', prorettype => 'money',
1834  proargtypes => 'money float8', prosrc => 'cash_mul_flt8' },
1835{ oid => '897',
1836  proname => 'cash_div_flt8', prorettype => 'money',
1837  proargtypes => 'money float8', prosrc => 'cash_div_flt8' },
1838{ oid => '898', descr => 'larger of two',
1839  proname => 'cashlarger', prorettype => 'money', proargtypes => 'money money',
1840  prosrc => 'cashlarger' },
1841{ oid => '899', descr => 'smaller of two',
1842  proname => 'cashsmaller', prorettype => 'money', proargtypes => 'money money',
1843  prosrc => 'cashsmaller' },
1844{ oid => '919',
1845  proname => 'flt8_mul_cash', prorettype => 'money',
1846  proargtypes => 'float8 money', prosrc => 'flt8_mul_cash' },
1847{ oid => '935', descr => 'output money amount as words',
1848  proname => 'cash_words', prorettype => 'text', proargtypes => 'money',
1849  prosrc => 'cash_words' },
1850{ oid => '3822',
1851  proname => 'cash_div_cash', prorettype => 'float8',
1852  proargtypes => 'money money', prosrc => 'cash_div_cash' },
1853{ oid => '3823', descr => 'convert money to numeric',
1854  proname => 'numeric', provolatile => 's', prorettype => 'numeric',
1855  proargtypes => 'money', prosrc => 'cash_numeric' },
1856{ oid => '3824', descr => 'convert numeric to money',
1857  proname => 'money', provolatile => 's', prorettype => 'money',
1858  proargtypes => 'numeric', prosrc => 'numeric_cash' },
1859{ oid => '3811', descr => 'convert int4 to money',
1860  proname => 'money', provolatile => 's', prorettype => 'money',
1861  proargtypes => 'int4', prosrc => 'int4_cash' },
1862{ oid => '3812', descr => 'convert int8 to money',
1863  proname => 'money', provolatile => 's', prorettype => 'money',
1864  proargtypes => 'int8', prosrc => 'int8_cash' },
1865
1866# OIDS 900 - 999
1867
1868{ oid => '940', descr => 'modulus',
1869  proname => 'mod', prorettype => 'int2', proargtypes => 'int2 int2',
1870  prosrc => 'int2mod' },
1871{ oid => '941', descr => 'modulus',
1872  proname => 'mod', prorettype => 'int4', proargtypes => 'int4 int4',
1873  prosrc => 'int4mod' },
1874
1875{ oid => '945',
1876  proname => 'int8mod', prorettype => 'int8', proargtypes => 'int8 int8',
1877  prosrc => 'int8mod' },
1878{ oid => '947', descr => 'modulus',
1879  proname => 'mod', prorettype => 'int8', proargtypes => 'int8 int8',
1880  prosrc => 'int8mod' },
1881
1882{ oid => '5044', descr => 'greatest common divisor',
1883  proname => 'gcd', prorettype => 'int4', proargtypes => 'int4 int4',
1884  prosrc => 'int4gcd' },
1885{ oid => '5045', descr => 'greatest common divisor',
1886  proname => 'gcd', prorettype => 'int8', proargtypes => 'int8 int8',
1887  prosrc => 'int8gcd' },
1888
1889{ oid => '5046', descr => 'least common multiple',
1890  proname => 'lcm', prorettype => 'int4', proargtypes => 'int4 int4',
1891  prosrc => 'int4lcm' },
1892{ oid => '5047', descr => 'least common multiple',
1893  proname => 'lcm', prorettype => 'int8', proargtypes => 'int8 int8',
1894  prosrc => 'int8lcm' },
1895
1896{ oid => '944', descr => 'convert text to char',
1897  proname => 'char', prorettype => 'char', proargtypes => 'text',
1898  prosrc => 'text_char' },
1899{ oid => '946', descr => 'convert char to text',
1900  proname => 'text', prorettype => 'text', proargtypes => 'char',
1901  prosrc => 'char_text' },
1902
1903{ oid => '952', descr => 'large object open',
1904  proname => 'lo_open', provolatile => 'v', proparallel => 'u',
1905  prorettype => 'int4', proargtypes => 'oid int4', prosrc => 'be_lo_open' },
1906{ oid => '953', descr => 'large object close',
1907  proname => 'lo_close', provolatile => 'v', proparallel => 'u',
1908  prorettype => 'int4', proargtypes => 'int4', prosrc => 'be_lo_close' },
1909{ oid => '954', descr => 'large object read',
1910  proname => 'loread', provolatile => 'v', proparallel => 'u',
1911  prorettype => 'bytea', proargtypes => 'int4 int4', prosrc => 'be_loread' },
1912{ oid => '955', descr => 'large object write',
1913  proname => 'lowrite', provolatile => 'v', proparallel => 'u',
1914  prorettype => 'int4', proargtypes => 'int4 bytea', prosrc => 'be_lowrite' },
1915{ oid => '956', descr => 'large object seek',
1916  proname => 'lo_lseek', provolatile => 'v', proparallel => 'u',
1917  prorettype => 'int4', proargtypes => 'int4 int4 int4',
1918  prosrc => 'be_lo_lseek' },
1919{ oid => '3170', descr => 'large object seek (64 bit)',
1920  proname => 'lo_lseek64', provolatile => 'v', proparallel => 'u',
1921  prorettype => 'int8', proargtypes => 'int4 int8 int4',
1922  prosrc => 'be_lo_lseek64' },
1923{ oid => '957', descr => 'large object create',
1924  proname => 'lo_creat', provolatile => 'v', proparallel => 'u',
1925  prorettype => 'oid', proargtypes => 'int4', prosrc => 'be_lo_creat' },
1926{ oid => '715', descr => 'large object create',
1927  proname => 'lo_create', provolatile => 'v', proparallel => 'u',
1928  prorettype => 'oid', proargtypes => 'oid', prosrc => 'be_lo_create' },
1929{ oid => '958', descr => 'large object position',
1930  proname => 'lo_tell', provolatile => 'v', proparallel => 'u',
1931  prorettype => 'int4', proargtypes => 'int4', prosrc => 'be_lo_tell' },
1932{ oid => '3171', descr => 'large object position (64 bit)',
1933  proname => 'lo_tell64', provolatile => 'v', proparallel => 'u',
1934  prorettype => 'int8', proargtypes => 'int4', prosrc => 'be_lo_tell64' },
1935{ oid => '1004', descr => 'truncate large object',
1936  proname => 'lo_truncate', provolatile => 'v', proparallel => 'u',
1937  prorettype => 'int4', proargtypes => 'int4 int4',
1938  prosrc => 'be_lo_truncate' },
1939{ oid => '3172', descr => 'truncate large object (64 bit)',
1940  proname => 'lo_truncate64', provolatile => 'v', proparallel => 'u',
1941  prorettype => 'int4', proargtypes => 'int4 int8',
1942  prosrc => 'be_lo_truncate64' },
1943
1944{ oid => '3457', descr => 'create new large object with given content',
1945  proname => 'lo_from_bytea', provolatile => 'v', proparallel => 'u',
1946  prorettype => 'oid', proargtypes => 'oid bytea',
1947  prosrc => 'be_lo_from_bytea' },
1948{ oid => '3458', descr => 'read entire large object',
1949  proname => 'lo_get', provolatile => 'v', proparallel => 'u',
1950  prorettype => 'bytea', proargtypes => 'oid', prosrc => 'be_lo_get' },
1951{ oid => '3459', descr => 'read large object from offset for length',
1952  proname => 'lo_get', provolatile => 'v', proparallel => 'u',
1953  prorettype => 'bytea', proargtypes => 'oid int8 int4',
1954  prosrc => 'be_lo_get_fragment' },
1955{ oid => '3460', descr => 'write data at offset',
1956  proname => 'lo_put', provolatile => 'v', proparallel => 'u',
1957  prorettype => 'void', proargtypes => 'oid int8 bytea',
1958  prosrc => 'be_lo_put' },
1959
1960{ oid => '959',
1961  proname => 'on_pl', prorettype => 'bool', proargtypes => 'point line',
1962  prosrc => 'on_pl' },
1963{ oid => '960',
1964  proname => 'on_sl', prorettype => 'bool', proargtypes => 'lseg line',
1965  prosrc => 'on_sl' },
1966{ oid => '961',
1967  proname => 'close_pl', prorettype => 'point', proargtypes => 'point line',
1968  prosrc => 'close_pl' },
1969{ oid => '962',
1970  proname => 'close_sl', prorettype => 'point', proargtypes => 'lseg line',
1971  prosrc => 'close_sl' },
1972{ oid => '963',
1973  proname => 'close_lb', prorettype => 'point', proargtypes => 'line box',
1974  prosrc => 'close_lb' },
1975
1976{ oid => '964', descr => 'large object unlink (delete)',
1977  proname => 'lo_unlink', provolatile => 'v', proparallel => 'u',
1978  prorettype => 'int4', proargtypes => 'oid', prosrc => 'be_lo_unlink' },
1979
1980{ oid => '973',
1981  proname => 'path_inter', prorettype => 'bool', proargtypes => 'path path',
1982  prosrc => 'path_inter' },
1983{ oid => '975', descr => 'box area',
1984  proname => 'area', prorettype => 'float8', proargtypes => 'box',
1985  prosrc => 'box_area' },
1986{ oid => '976', descr => 'box width',
1987  proname => 'width', prorettype => 'float8', proargtypes => 'box',
1988  prosrc => 'box_width' },
1989{ oid => '977', descr => 'box height',
1990  proname => 'height', prorettype => 'float8', proargtypes => 'box',
1991  prosrc => 'box_height' },
1992{ oid => '978',
1993  proname => 'box_distance', prorettype => 'float8', proargtypes => 'box box',
1994  prosrc => 'box_distance' },
1995{ oid => '979', descr => 'area of a closed path',
1996  proname => 'area', prorettype => 'float8', proargtypes => 'path',
1997  prosrc => 'path_area' },
1998{ oid => '980',
1999  proname => 'box_intersect', prorettype => 'box', proargtypes => 'box box',
2000  prosrc => 'box_intersect' },
2001{ oid => '4067', descr => 'bounding box of two boxes',
2002  proname => 'bound_box', prorettype => 'box', proargtypes => 'box box',
2003  prosrc => 'boxes_bound_box' },
2004{ oid => '981', descr => 'box diagonal',
2005  proname => 'diagonal', prorettype => 'lseg', proargtypes => 'box',
2006  prosrc => 'box_diagonal' },
2007{ oid => '982',
2008  proname => 'path_n_lt', prorettype => 'bool', proargtypes => 'path path',
2009  prosrc => 'path_n_lt' },
2010{ oid => '983',
2011  proname => 'path_n_gt', prorettype => 'bool', proargtypes => 'path path',
2012  prosrc => 'path_n_gt' },
2013{ oid => '984',
2014  proname => 'path_n_eq', prorettype => 'bool', proargtypes => 'path path',
2015  prosrc => 'path_n_eq' },
2016{ oid => '985',
2017  proname => 'path_n_le', prorettype => 'bool', proargtypes => 'path path',
2018  prosrc => 'path_n_le' },
2019{ oid => '986',
2020  proname => 'path_n_ge', prorettype => 'bool', proargtypes => 'path path',
2021  prosrc => 'path_n_ge' },
2022{ oid => '987',
2023  proname => 'path_length', prorettype => 'float8', proargtypes => 'path',
2024  prosrc => 'path_length' },
2025{ oid => '988',
2026  proname => 'point_ne', prorettype => 'bool', proargtypes => 'point point',
2027  prosrc => 'point_ne' },
2028{ oid => '989',
2029  proname => 'point_vert', prorettype => 'bool', proargtypes => 'point point',
2030  prosrc => 'point_vert' },
2031{ oid => '990',
2032  proname => 'point_horiz', prorettype => 'bool', proargtypes => 'point point',
2033  prosrc => 'point_horiz' },
2034{ oid => '991',
2035  proname => 'point_distance', prorettype => 'float8',
2036  proargtypes => 'point point', prosrc => 'point_distance' },
2037{ oid => '992', descr => 'slope between points',
2038  proname => 'slope', prorettype => 'float8', proargtypes => 'point point',
2039  prosrc => 'point_slope' },
2040{ oid => '993', descr => 'convert points to line segment',
2041  proname => 'lseg', prorettype => 'lseg', proargtypes => 'point point',
2042  prosrc => 'lseg_construct' },
2043{ oid => '994',
2044  proname => 'lseg_intersect', prorettype => 'bool', proargtypes => 'lseg lseg',
2045  prosrc => 'lseg_intersect' },
2046{ oid => '995',
2047  proname => 'lseg_parallel', prorettype => 'bool', proargtypes => 'lseg lseg',
2048  prosrc => 'lseg_parallel' },
2049{ oid => '996',
2050  proname => 'lseg_perp', prorettype => 'bool', proargtypes => 'lseg lseg',
2051  prosrc => 'lseg_perp' },
2052{ oid => '997',
2053  proname => 'lseg_vertical', prorettype => 'bool', proargtypes => 'lseg',
2054  prosrc => 'lseg_vertical' },
2055{ oid => '998',
2056  proname => 'lseg_horizontal', prorettype => 'bool', proargtypes => 'lseg',
2057  prosrc => 'lseg_horizontal' },
2058{ oid => '999',
2059  proname => 'lseg_eq', proleakproof => 't', prorettype => 'bool',
2060  proargtypes => 'lseg lseg', prosrc => 'lseg_eq' },
2061
2062# OIDS 1000 - 1999
2063
2064{ oid => '1026', descr => 'adjust timestamp to new time zone',
2065  proname => 'timezone', prorettype => 'timestamp',
2066  proargtypes => 'interval timestamptz', prosrc => 'timestamptz_izone' },
2067
2068{ oid => '1031', descr => 'I/O',
2069  proname => 'aclitemin', provolatile => 's', prorettype => 'aclitem',
2070  proargtypes => 'cstring', prosrc => 'aclitemin' },
2071{ oid => '1032', descr => 'I/O',
2072  proname => 'aclitemout', provolatile => 's', prorettype => 'cstring',
2073  proargtypes => 'aclitem', prosrc => 'aclitemout' },
2074{ oid => '1035', descr => 'add/update ACL item',
2075  proname => 'aclinsert', prorettype => '_aclitem',
2076  proargtypes => '_aclitem aclitem', prosrc => 'aclinsert' },
2077{ oid => '1036', descr => 'remove ACL item',
2078  proname => 'aclremove', prorettype => '_aclitem',
2079  proargtypes => '_aclitem aclitem', prosrc => 'aclremove' },
2080{ oid => '1037', descr => 'contains',
2081  proname => 'aclcontains', prorettype => 'bool',
2082  proargtypes => '_aclitem aclitem', prosrc => 'aclcontains' },
2083{ oid => '1062',
2084  proname => 'aclitemeq', prorettype => 'bool',
2085  proargtypes => 'aclitem aclitem', prosrc => 'aclitem_eq' },
2086{ oid => '1365', descr => 'make ACL item',
2087  proname => 'makeaclitem', prorettype => 'aclitem',
2088  proargtypes => 'oid oid text bool', prosrc => 'makeaclitem' },
2089{ oid => '3943',
2090  descr => 'show hardwired default privileges, primarily for use by the information schema',
2091  proname => 'acldefault', prorettype => '_aclitem', proargtypes => 'char oid',
2092  prosrc => 'acldefault_sql' },
2093{ oid => '1689',
2094  descr => 'convert ACL item array to table, primarily for use by information schema',
2095  proname => 'aclexplode', prorows => '10', proretset => 't',
2096  provolatile => 's', prorettype => 'record', proargtypes => '_aclitem',
2097  proallargtypes => '{_aclitem,oid,oid,text,bool}',
2098  proargmodes => '{i,o,o,o,o}',
2099  proargnames => '{acl,grantor,grantee,privilege_type,is_grantable}',
2100  prosrc => 'aclexplode' },
2101{ oid => '1044', descr => 'I/O',
2102  proname => 'bpcharin', prorettype => 'bpchar',
2103  proargtypes => 'cstring oid int4', prosrc => 'bpcharin' },
2104{ oid => '1045', descr => 'I/O',
2105  proname => 'bpcharout', prorettype => 'cstring', proargtypes => 'bpchar',
2106  prosrc => 'bpcharout' },
2107{ oid => '2913', descr => 'I/O typmod',
2108  proname => 'bpchartypmodin', prorettype => 'int4', proargtypes => '_cstring',
2109  prosrc => 'bpchartypmodin' },
2110{ oid => '2914', descr => 'I/O typmod',
2111  proname => 'bpchartypmodout', prorettype => 'cstring', proargtypes => 'int4',
2112  prosrc => 'bpchartypmodout' },
2113{ oid => '1046', descr => 'I/O',
2114  proname => 'varcharin', prorettype => 'varchar',
2115  proargtypes => 'cstring oid int4', prosrc => 'varcharin' },
2116{ oid => '1047', descr => 'I/O',
2117  proname => 'varcharout', prorettype => 'cstring', proargtypes => 'varchar',
2118  prosrc => 'varcharout' },
2119{ oid => '2915', descr => 'I/O typmod',
2120  proname => 'varchartypmodin', prorettype => 'int4', proargtypes => '_cstring',
2121  prosrc => 'varchartypmodin' },
2122{ oid => '2916', descr => 'I/O typmod',
2123  proname => 'varchartypmodout', prorettype => 'cstring', proargtypes => 'int4',
2124  prosrc => 'varchartypmodout' },
2125{ oid => '1048',
2126  proname => 'bpchareq', proleakproof => 't', prorettype => 'bool',
2127  proargtypes => 'bpchar bpchar', prosrc => 'bpchareq' },
2128{ oid => '1049',
2129  proname => 'bpcharlt', proleakproof => 't', prorettype => 'bool',
2130  proargtypes => 'bpchar bpchar', prosrc => 'bpcharlt' },
2131{ oid => '1050',
2132  proname => 'bpcharle', proleakproof => 't', prorettype => 'bool',
2133  proargtypes => 'bpchar bpchar', prosrc => 'bpcharle' },
2134{ oid => '1051',
2135  proname => 'bpchargt', proleakproof => 't', prorettype => 'bool',
2136  proargtypes => 'bpchar bpchar', prosrc => 'bpchargt' },
2137{ oid => '1052',
2138  proname => 'bpcharge', proleakproof => 't', prorettype => 'bool',
2139  proargtypes => 'bpchar bpchar', prosrc => 'bpcharge' },
2140{ oid => '1053',
2141  proname => 'bpcharne', proleakproof => 't', prorettype => 'bool',
2142  proargtypes => 'bpchar bpchar', prosrc => 'bpcharne' },
2143{ oid => '1063', descr => 'larger of two',
2144  proname => 'bpchar_larger', proleakproof => 't', prorettype => 'bpchar',
2145  proargtypes => 'bpchar bpchar', prosrc => 'bpchar_larger' },
2146{ oid => '1064', descr => 'smaller of two',
2147  proname => 'bpchar_smaller', proleakproof => 't', prorettype => 'bpchar',
2148  proargtypes => 'bpchar bpchar', prosrc => 'bpchar_smaller' },
2149{ oid => '1078', descr => 'less-equal-greater',
2150  proname => 'bpcharcmp', proleakproof => 't', prorettype => 'int4',
2151  proargtypes => 'bpchar bpchar', prosrc => 'bpcharcmp' },
2152{ oid => '3328', descr => 'sort support',
2153  proname => 'bpchar_sortsupport', prorettype => 'void',
2154  proargtypes => 'internal', prosrc => 'bpchar_sortsupport' },
2155{ oid => '1080', descr => 'hash',
2156  proname => 'hashbpchar', prorettype => 'int4', proargtypes => 'bpchar',
2157  prosrc => 'hashbpchar' },
2158{ oid => '972', descr => 'hash',
2159  proname => 'hashbpcharextended', prorettype => 'int8',
2160  proargtypes => 'bpchar int8', prosrc => 'hashbpcharextended' },
2161{ oid => '1081', descr => 'format a type oid and atttypmod to canonical SQL',
2162  proname => 'format_type', proisstrict => 'f', provolatile => 's',
2163  prorettype => 'text', proargtypes => 'oid int4', prosrc => 'format_type' },
2164{ oid => '1084', descr => 'I/O',
2165  proname => 'date_in', provolatile => 's', prorettype => 'date',
2166  proargtypes => 'cstring', prosrc => 'date_in' },
2167{ oid => '1085', descr => 'I/O',
2168  proname => 'date_out', provolatile => 's', prorettype => 'cstring',
2169  proargtypes => 'date', prosrc => 'date_out' },
2170{ oid => '1086',
2171  proname => 'date_eq', proleakproof => 't', prorettype => 'bool',
2172  proargtypes => 'date date', prosrc => 'date_eq' },
2173{ oid => '1087',
2174  proname => 'date_lt', proleakproof => 't', prorettype => 'bool',
2175  proargtypes => 'date date', prosrc => 'date_lt' },
2176{ oid => '1088',
2177  proname => 'date_le', proleakproof => 't', prorettype => 'bool',
2178  proargtypes => 'date date', prosrc => 'date_le' },
2179{ oid => '1089',
2180  proname => 'date_gt', proleakproof => 't', prorettype => 'bool',
2181  proargtypes => 'date date', prosrc => 'date_gt' },
2182{ oid => '1090',
2183  proname => 'date_ge', proleakproof => 't', prorettype => 'bool',
2184  proargtypes => 'date date', prosrc => 'date_ge' },
2185{ oid => '1091',
2186  proname => 'date_ne', proleakproof => 't', prorettype => 'bool',
2187  proargtypes => 'date date', prosrc => 'date_ne' },
2188{ oid => '1092', descr => 'less-equal-greater',
2189  proname => 'date_cmp', proleakproof => 't', prorettype => 'int4',
2190  proargtypes => 'date date', prosrc => 'date_cmp' },
2191{ oid => '3136', descr => 'sort support',
2192  proname => 'date_sortsupport', prorettype => 'void',
2193  proargtypes => 'internal', prosrc => 'date_sortsupport' },
2194{ oid => '4133', descr => 'window RANGE support',
2195  proname => 'in_range', prorettype => 'bool',
2196  proargtypes => 'date date interval bool bool',
2197  prosrc => 'in_range_date_interval' },
2198
2199# OIDS 1100 - 1199
2200
2201{ oid => '1102',
2202  proname => 'time_lt', proleakproof => 't', prorettype => 'bool',
2203  proargtypes => 'time time', prosrc => 'time_lt' },
2204{ oid => '1103',
2205  proname => 'time_le', proleakproof => 't', prorettype => 'bool',
2206  proargtypes => 'time time', prosrc => 'time_le' },
2207{ oid => '1104',
2208  proname => 'time_gt', proleakproof => 't', prorettype => 'bool',
2209  proargtypes => 'time time', prosrc => 'time_gt' },
2210{ oid => '1105',
2211  proname => 'time_ge', proleakproof => 't', prorettype => 'bool',
2212  proargtypes => 'time time', prosrc => 'time_ge' },
2213{ oid => '1106',
2214  proname => 'time_ne', proleakproof => 't', prorettype => 'bool',
2215  proargtypes => 'time time', prosrc => 'time_ne' },
2216{ oid => '1107', descr => 'less-equal-greater',
2217  proname => 'time_cmp', proleakproof => 't', prorettype => 'int4',
2218  proargtypes => 'time time', prosrc => 'time_cmp' },
2219{ oid => '1138', descr => 'larger of two',
2220  proname => 'date_larger', prorettype => 'date', proargtypes => 'date date',
2221  prosrc => 'date_larger' },
2222{ oid => '1139', descr => 'smaller of two',
2223  proname => 'date_smaller', prorettype => 'date', proargtypes => 'date date',
2224  prosrc => 'date_smaller' },
2225{ oid => '1140',
2226  proname => 'date_mi', prorettype => 'int4', proargtypes => 'date date',
2227  prosrc => 'date_mi' },
2228{ oid => '1141',
2229  proname => 'date_pli', prorettype => 'date', proargtypes => 'date int4',
2230  prosrc => 'date_pli' },
2231{ oid => '1142',
2232  proname => 'date_mii', prorettype => 'date', proargtypes => 'date int4',
2233  prosrc => 'date_mii' },
2234{ oid => '1143', descr => 'I/O',
2235  proname => 'time_in', provolatile => 's', prorettype => 'time',
2236  proargtypes => 'cstring oid int4', prosrc => 'time_in' },
2237{ oid => '1144', descr => 'I/O',
2238  proname => 'time_out', prorettype => 'cstring', proargtypes => 'time',
2239  prosrc => 'time_out' },
2240{ oid => '2909', descr => 'I/O typmod',
2241  proname => 'timetypmodin', prorettype => 'int4', proargtypes => '_cstring',
2242  prosrc => 'timetypmodin' },
2243{ oid => '2910', descr => 'I/O typmod',
2244  proname => 'timetypmodout', prorettype => 'cstring', proargtypes => 'int4',
2245  prosrc => 'timetypmodout' },
2246{ oid => '1145',
2247  proname => 'time_eq', proleakproof => 't', prorettype => 'bool',
2248  proargtypes => 'time time', prosrc => 'time_eq' },
2249
2250{ oid => '1146',
2251  proname => 'circle_add_pt', prorettype => 'circle',
2252  proargtypes => 'circle point', prosrc => 'circle_add_pt' },
2253{ oid => '1147',
2254  proname => 'circle_sub_pt', prorettype => 'circle',
2255  proargtypes => 'circle point', prosrc => 'circle_sub_pt' },
2256{ oid => '1148',
2257  proname => 'circle_mul_pt', prorettype => 'circle',
2258  proargtypes => 'circle point', prosrc => 'circle_mul_pt' },
2259{ oid => '1149',
2260  proname => 'circle_div_pt', prorettype => 'circle',
2261  proargtypes => 'circle point', prosrc => 'circle_div_pt' },
2262
2263{ oid => '1150', descr => 'I/O',
2264  proname => 'timestamptz_in', provolatile => 's', prorettype => 'timestamptz',
2265  proargtypes => 'cstring oid int4', prosrc => 'timestamptz_in' },
2266{ oid => '1151', descr => 'I/O',
2267  proname => 'timestamptz_out', provolatile => 's', prorettype => 'cstring',
2268  proargtypes => 'timestamptz', prosrc => 'timestamptz_out' },
2269{ oid => '2907', descr => 'I/O typmod',
2270  proname => 'timestamptztypmodin', prorettype => 'int4',
2271  proargtypes => '_cstring', prosrc => 'timestamptztypmodin' },
2272{ oid => '2908', descr => 'I/O typmod',
2273  proname => 'timestamptztypmodout', prorettype => 'cstring',
2274  proargtypes => 'int4', prosrc => 'timestamptztypmodout' },
2275{ oid => '1152',
2276  proname => 'timestamptz_eq', proleakproof => 't', prorettype => 'bool',
2277  proargtypes => 'timestamptz timestamptz', prosrc => 'timestamp_eq' },
2278{ oid => '1153',
2279  proname => 'timestamptz_ne', proleakproof => 't', prorettype => 'bool',
2280  proargtypes => 'timestamptz timestamptz', prosrc => 'timestamp_ne' },
2281{ oid => '1154',
2282  proname => 'timestamptz_lt', proleakproof => 't', prorettype => 'bool',
2283  proargtypes => 'timestamptz timestamptz', prosrc => 'timestamp_lt' },
2284{ oid => '1155',
2285  proname => 'timestamptz_le', proleakproof => 't', prorettype => 'bool',
2286  proargtypes => 'timestamptz timestamptz', prosrc => 'timestamp_le' },
2287{ oid => '1156',
2288  proname => 'timestamptz_ge', proleakproof => 't', prorettype => 'bool',
2289  proargtypes => 'timestamptz timestamptz', prosrc => 'timestamp_ge' },
2290{ oid => '1157',
2291  proname => 'timestamptz_gt', proleakproof => 't', prorettype => 'bool',
2292  proargtypes => 'timestamptz timestamptz', prosrc => 'timestamp_gt' },
2293{ oid => '1158', descr => 'convert UNIX epoch to timestamptz',
2294  proname => 'to_timestamp', prorettype => 'timestamptz',
2295  proargtypes => 'float8', prosrc => 'float8_timestamptz' },
2296{ oid => '1159', descr => 'adjust timestamp to new time zone',
2297  proname => 'timezone', prorettype => 'timestamp',
2298  proargtypes => 'text timestamptz', prosrc => 'timestamptz_zone' },
2299
2300{ oid => '1160', descr => 'I/O',
2301  proname => 'interval_in', provolatile => 's', prorettype => 'interval',
2302  proargtypes => 'cstring oid int4', prosrc => 'interval_in' },
2303{ oid => '1161', descr => 'I/O',
2304  proname => 'interval_out', prorettype => 'cstring', proargtypes => 'interval',
2305  prosrc => 'interval_out' },
2306{ oid => '2903', descr => 'I/O typmod',
2307  proname => 'intervaltypmodin', prorettype => 'int4',
2308  proargtypes => '_cstring', prosrc => 'intervaltypmodin' },
2309{ oid => '2904', descr => 'I/O typmod',
2310  proname => 'intervaltypmodout', prorettype => 'cstring',
2311  proargtypes => 'int4', prosrc => 'intervaltypmodout' },
2312{ oid => '1162',
2313  proname => 'interval_eq', proleakproof => 't', prorettype => 'bool',
2314  proargtypes => 'interval interval', prosrc => 'interval_eq' },
2315{ oid => '1163',
2316  proname => 'interval_ne', proleakproof => 't', prorettype => 'bool',
2317  proargtypes => 'interval interval', prosrc => 'interval_ne' },
2318{ oid => '1164',
2319  proname => 'interval_lt', proleakproof => 't', prorettype => 'bool',
2320  proargtypes => 'interval interval', prosrc => 'interval_lt' },
2321{ oid => '1165',
2322  proname => 'interval_le', proleakproof => 't', prorettype => 'bool',
2323  proargtypes => 'interval interval', prosrc => 'interval_le' },
2324{ oid => '1166',
2325  proname => 'interval_ge', proleakproof => 't', prorettype => 'bool',
2326  proargtypes => 'interval interval', prosrc => 'interval_ge' },
2327{ oid => '1167',
2328  proname => 'interval_gt', proleakproof => 't', prorettype => 'bool',
2329  proargtypes => 'interval interval', prosrc => 'interval_gt' },
2330{ oid => '1168',
2331  proname => 'interval_um', prorettype => 'interval', proargtypes => 'interval',
2332  prosrc => 'interval_um' },
2333{ oid => '1169',
2334  proname => 'interval_pl', prorettype => 'interval',
2335  proargtypes => 'interval interval', prosrc => 'interval_pl' },
2336{ oid => '1170',
2337  proname => 'interval_mi', prorettype => 'interval',
2338  proargtypes => 'interval interval', prosrc => 'interval_mi' },
2339{ oid => '1171', descr => 'extract field from timestamp with time zone',
2340  proname => 'date_part', provolatile => 's', prorettype => 'float8',
2341  proargtypes => 'text timestamptz', prosrc => 'timestamptz_part' },
2342{ oid => '6203', descr => 'extract field from timestamp with time zone',
2343  proname => 'extract', provolatile => 's', prorettype => 'numeric',
2344  proargtypes => 'text timestamptz', prosrc => 'extract_timestamptz' },
2345{ oid => '1172', descr => 'extract field from interval',
2346  proname => 'date_part', prorettype => 'float8',
2347  proargtypes => 'text interval', prosrc => 'interval_part' },
2348{ oid => '6204', descr => 'extract field from interval',
2349  proname => 'extract', prorettype => 'numeric', proargtypes => 'text interval',
2350  prosrc => 'extract_interval' },
2351{ oid => '1174', descr => 'convert date to timestamp with time zone',
2352  proname => 'timestamptz', provolatile => 's', prorettype => 'timestamptz',
2353  proargtypes => 'date', prosrc => 'date_timestamptz' },
2354{ oid => '2711',
2355  descr => 'promote groups of 24 hours to numbers of days and promote groups of 30 days to numbers of months',
2356  proname => 'justify_interval', prorettype => 'interval',
2357  proargtypes => 'interval', prosrc => 'interval_justify_interval' },
2358{ oid => '1175', descr => 'promote groups of 24 hours to numbers of days',
2359  proname => 'justify_hours', prorettype => 'interval',
2360  proargtypes => 'interval', prosrc => 'interval_justify_hours' },
2361{ oid => '1295', descr => 'promote groups of 30 days to numbers of months',
2362  proname => 'justify_days', prorettype => 'interval',
2363  proargtypes => 'interval', prosrc => 'interval_justify_days' },
2364{ oid => '1176', descr => 'convert date and time to timestamp with time zone',
2365  proname => 'timestamptz', prolang => 'sql', provolatile => 's',
2366  prorettype => 'timestamptz', proargtypes => 'date time',
2367  prosrc => 'see system_functions.sql' },
2368{ oid => '1178', descr => 'convert timestamp with time zone to date',
2369  proname => 'date', provolatile => 's', prorettype => 'date',
2370  proargtypes => 'timestamptz', prosrc => 'timestamptz_date' },
2371{ oid => '1181',
2372  descr => 'age of a transaction ID, in transactions before current transaction',
2373  proname => 'age', provolatile => 's', proparallel => 'r',
2374  prorettype => 'int4', proargtypes => 'xid', prosrc => 'xid_age' },
2375{ oid => '3939',
2376  descr => 'age of a multi-transaction ID, in multi-transactions before current multi-transaction',
2377  proname => 'mxid_age', provolatile => 's', prorettype => 'int4',
2378  proargtypes => 'xid', prosrc => 'mxid_age' },
2379
2380{ oid => '1188',
2381  proname => 'timestamptz_mi', prorettype => 'interval',
2382  proargtypes => 'timestamptz timestamptz', prosrc => 'timestamp_mi' },
2383{ oid => '1189',
2384  proname => 'timestamptz_pl_interval', provolatile => 's',
2385  prorettype => 'timestamptz', proargtypes => 'timestamptz interval',
2386  prosrc => 'timestamptz_pl_interval' },
2387{ oid => '1190',
2388  proname => 'timestamptz_mi_interval', provolatile => 's',
2389  prorettype => 'timestamptz', proargtypes => 'timestamptz interval',
2390  prosrc => 'timestamptz_mi_interval' },
2391{ oid => '1195', descr => 'smaller of two',
2392  proname => 'timestamptz_smaller', prorettype => 'timestamptz',
2393  proargtypes => 'timestamptz timestamptz', prosrc => 'timestamp_smaller' },
2394{ oid => '1196', descr => 'larger of two',
2395  proname => 'timestamptz_larger', prorettype => 'timestamptz',
2396  proargtypes => 'timestamptz timestamptz', prosrc => 'timestamp_larger' },
2397{ oid => '1197', descr => 'smaller of two',
2398  proname => 'interval_smaller', prorettype => 'interval',
2399  proargtypes => 'interval interval', prosrc => 'interval_smaller' },
2400{ oid => '1198', descr => 'larger of two',
2401  proname => 'interval_larger', prorettype => 'interval',
2402  proargtypes => 'interval interval', prosrc => 'interval_larger' },
2403{ oid => '1199', descr => 'date difference preserving months and years',
2404  proname => 'age', prorettype => 'interval',
2405  proargtypes => 'timestamptz timestamptz', prosrc => 'timestamptz_age' },
2406
2407# OIDS 1200 - 1299
2408
2409{ oid => '3918', descr => 'planner support for interval length coercion',
2410  proname => 'interval_support', prorettype => 'internal',
2411  proargtypes => 'internal', prosrc => 'interval_support' },
2412{ oid => '1200', descr => 'adjust interval precision',
2413  proname => 'interval', prosupport => 'interval_support',
2414  prorettype => 'interval', proargtypes => 'interval int4',
2415  prosrc => 'interval_scale' },
2416
2417{ oid => '1215', descr => 'get description for object id and catalog name',
2418  proname => 'obj_description', prolang => 'sql', procost => '100',
2419  provolatile => 's', prorettype => 'text', proargtypes => 'oid name',
2420  prosrc => 'see system_functions.sql' },
2421{ oid => '1216', descr => 'get description for table column',
2422  proname => 'col_description', prolang => 'sql', procost => '100',
2423  provolatile => 's', prorettype => 'text', proargtypes => 'oid int4',
2424  prosrc => 'see system_functions.sql' },
2425{ oid => '1993',
2426  descr => 'get description for object id and shared catalog name',
2427  proname => 'shobj_description', prolang => 'sql', procost => '100',
2428  provolatile => 's', prorettype => 'text', proargtypes => 'oid name',
2429  prosrc => 'see system_functions.sql' },
2430
2431{ oid => '1217',
2432  descr => 'truncate timestamp with time zone to specified units',
2433  proname => 'date_trunc', provolatile => 's', prorettype => 'timestamptz',
2434  proargtypes => 'text timestamptz', prosrc => 'timestamptz_trunc' },
2435{ oid => '1284',
2436  descr => 'truncate timestamp with time zone to specified units in specified time zone',
2437  proname => 'date_trunc', provolatile => 's', prorettype => 'timestamptz',
2438  proargtypes => 'text timestamptz text', prosrc => 'timestamptz_trunc_zone' },
2439{ oid => '1218', descr => 'truncate interval to specified units',
2440  proname => 'date_trunc', prorettype => 'interval',
2441  proargtypes => 'text interval', prosrc => 'interval_trunc' },
2442
2443{ oid => '1219', descr => 'increment',
2444  proname => 'int8inc', prorettype => 'int8', proargtypes => 'int8',
2445  prosrc => 'int8inc' },
2446{ oid => '3546', descr => 'decrement',
2447  proname => 'int8dec', prorettype => 'int8', proargtypes => 'int8',
2448  prosrc => 'int8dec' },
2449{ oid => '2804', descr => 'increment, ignores second argument',
2450  proname => 'int8inc_any', prorettype => 'int8', proargtypes => 'int8 any',
2451  prosrc => 'int8inc_any' },
2452{ oid => '3547', descr => 'decrement, ignores second argument',
2453  proname => 'int8dec_any', prorettype => 'int8', proargtypes => 'int8 any',
2454  prosrc => 'int8dec_any' },
2455{ oid => '1230',
2456  proname => 'int8abs', prorettype => 'int8', proargtypes => 'int8',
2457  prosrc => 'int8abs' },
2458
2459{ oid => '1236', descr => 'larger of two',
2460  proname => 'int8larger', prorettype => 'int8', proargtypes => 'int8 int8',
2461  prosrc => 'int8larger' },
2462{ oid => '1237', descr => 'smaller of two',
2463  proname => 'int8smaller', prorettype => 'int8', proargtypes => 'int8 int8',
2464  prosrc => 'int8smaller' },
2465
2466{ oid => '1238',
2467  proname => 'texticregexeq', prosupport => 'texticregexeq_support',
2468  prorettype => 'bool', proargtypes => 'text text', prosrc => 'texticregexeq' },
2469{ oid => '1024', descr => 'planner support for texticregexeq',
2470  proname => 'texticregexeq_support', prorettype => 'internal',
2471  proargtypes => 'internal', prosrc => 'texticregexeq_support' },
2472{ oid => '1239',
2473  proname => 'texticregexne', prorettype => 'bool', proargtypes => 'text text',
2474  prosrc => 'texticregexne' },
2475{ oid => '1240',
2476  proname => 'nameicregexeq', prosupport => 'texticregexeq_support',
2477  prorettype => 'bool', proargtypes => 'name text', prosrc => 'nameicregexeq' },
2478{ oid => '1241',
2479  proname => 'nameicregexne', prorettype => 'bool', proargtypes => 'name text',
2480  prosrc => 'nameicregexne' },
2481
2482{ oid => '1251',
2483  proname => 'int4abs', prorettype => 'int4', proargtypes => 'int4',
2484  prosrc => 'int4abs' },
2485{ oid => '1253',
2486  proname => 'int2abs', prorettype => 'int2', proargtypes => 'int2',
2487  prosrc => 'int2abs' },
2488
2489{ oid => '1271', descr => 'intervals overlap?',
2490  proname => 'overlaps', proisstrict => 'f', prorettype => 'bool',
2491  proargtypes => 'timetz timetz timetz timetz', prosrc => 'overlaps_timetz' },
2492{ oid => '1272',
2493  proname => 'datetime_pl', prorettype => 'timestamp',
2494  proargtypes => 'date time', prosrc => 'datetime_timestamp' },
2495{ oid => '1273', descr => 'extract field from time with time zone',
2496  proname => 'date_part', prorettype => 'float8', proargtypes => 'text timetz',
2497  prosrc => 'timetz_part' },
2498{ oid => '6201', descr => 'extract field from time with time zone',
2499  proname => 'extract', prorettype => 'numeric', proargtypes => 'text timetz',
2500  prosrc => 'extract_timetz' },
2501{ oid => '1274',
2502  proname => 'int84pl', prorettype => 'int8', proargtypes => 'int8 int4',
2503  prosrc => 'int84pl' },
2504{ oid => '1275',
2505  proname => 'int84mi', prorettype => 'int8', proargtypes => 'int8 int4',
2506  prosrc => 'int84mi' },
2507{ oid => '1276',
2508  proname => 'int84mul', prorettype => 'int8', proargtypes => 'int8 int4',
2509  prosrc => 'int84mul' },
2510{ oid => '1277',
2511  proname => 'int84div', prorettype => 'int8', proargtypes => 'int8 int4',
2512  prosrc => 'int84div' },
2513{ oid => '1278',
2514  proname => 'int48pl', prorettype => 'int8', proargtypes => 'int4 int8',
2515  prosrc => 'int48pl' },
2516{ oid => '1279',
2517  proname => 'int48mi', prorettype => 'int8', proargtypes => 'int4 int8',
2518  prosrc => 'int48mi' },
2519{ oid => '1280',
2520  proname => 'int48mul', prorettype => 'int8', proargtypes => 'int4 int8',
2521  prosrc => 'int48mul' },
2522{ oid => '1281',
2523  proname => 'int48div', prorettype => 'int8', proargtypes => 'int4 int8',
2524  prosrc => 'int48div' },
2525
2526{ oid => '837',
2527  proname => 'int82pl', prorettype => 'int8', proargtypes => 'int8 int2',
2528  prosrc => 'int82pl' },
2529{ oid => '838',
2530  proname => 'int82mi', prorettype => 'int8', proargtypes => 'int8 int2',
2531  prosrc => 'int82mi' },
2532{ oid => '839',
2533  proname => 'int82mul', prorettype => 'int8', proargtypes => 'int8 int2',
2534  prosrc => 'int82mul' },
2535{ oid => '840',
2536  proname => 'int82div', prorettype => 'int8', proargtypes => 'int8 int2',
2537  prosrc => 'int82div' },
2538{ oid => '841',
2539  proname => 'int28pl', prorettype => 'int8', proargtypes => 'int2 int8',
2540  prosrc => 'int28pl' },
2541{ oid => '942',
2542  proname => 'int28mi', prorettype => 'int8', proargtypes => 'int2 int8',
2543  prosrc => 'int28mi' },
2544{ oid => '943',
2545  proname => 'int28mul', prorettype => 'int8', proargtypes => 'int2 int8',
2546  prosrc => 'int28mul' },
2547{ oid => '948',
2548  proname => 'int28div', prorettype => 'int8', proargtypes => 'int2 int8',
2549  prosrc => 'int28div' },
2550
2551{ oid => '1287', descr => 'convert int8 to oid',
2552  proname => 'oid', prorettype => 'oid', proargtypes => 'int8',
2553  prosrc => 'i8tooid' },
2554{ oid => '1288', descr => 'convert oid to int8',
2555  proname => 'int8', proleakproof => 't', prorettype => 'int8',
2556  proargtypes => 'oid', prosrc => 'oidtoi8' },
2557
2558{ oid => '1291',
2559  descr => 'trigger to suppress updates when new and old records match',
2560  proname => 'suppress_redundant_updates_trigger', provolatile => 'v',
2561  prorettype => 'trigger', proargtypes => '',
2562  prosrc => 'suppress_redundant_updates_trigger' },
2563
2564{ oid => '1292',
2565  proname => 'tideq', proleakproof => 't', prorettype => 'bool',
2566  proargtypes => 'tid tid', prosrc => 'tideq' },
2567{ oid => '1294', descr => 'latest tid of a tuple',
2568  proname => 'currtid2', provolatile => 'v', proparallel => 'u',
2569  prorettype => 'tid', proargtypes => 'text tid',
2570  prosrc => 'currtid_byrelname' },
2571{ oid => '1265',
2572  proname => 'tidne', proleakproof => 't', prorettype => 'bool',
2573  proargtypes => 'tid tid', prosrc => 'tidne' },
2574{ oid => '2790',
2575  proname => 'tidgt', proleakproof => 't', prorettype => 'bool',
2576  proargtypes => 'tid tid', prosrc => 'tidgt' },
2577{ oid => '2791',
2578  proname => 'tidlt', proleakproof => 't', prorettype => 'bool',
2579  proargtypes => 'tid tid', prosrc => 'tidlt' },
2580{ oid => '2792',
2581  proname => 'tidge', proleakproof => 't', prorettype => 'bool',
2582  proargtypes => 'tid tid', prosrc => 'tidge' },
2583{ oid => '2793',
2584  proname => 'tidle', proleakproof => 't', prorettype => 'bool',
2585  proargtypes => 'tid tid', prosrc => 'tidle' },
2586{ oid => '2794', descr => 'less-equal-greater',
2587  proname => 'bttidcmp', proleakproof => 't', prorettype => 'int4',
2588  proargtypes => 'tid tid', prosrc => 'bttidcmp' },
2589{ oid => '2795', descr => 'larger of two',
2590  proname => 'tidlarger', prorettype => 'tid', proargtypes => 'tid tid',
2591  prosrc => 'tidlarger' },
2592{ oid => '2796', descr => 'smaller of two',
2593  proname => 'tidsmaller', prorettype => 'tid', proargtypes => 'tid tid',
2594  prosrc => 'tidsmaller' },
2595{ oid => '2233', descr => 'hash',
2596  proname => 'hashtid', prorettype => 'int4', proargtypes => 'tid',
2597  prosrc => 'hashtid' },
2598{ oid => '2234', descr => 'hash',
2599  proname => 'hashtidextended', prorettype => 'int8', proargtypes => 'tid int8',
2600  prosrc => 'hashtidextended' },
2601
2602{ oid => '1296',
2603  proname => 'timedate_pl', prolang => 'sql', prorettype => 'timestamp',
2604  proargtypes => 'time date', prosrc => 'see system_functions.sql' },
2605{ oid => '1297',
2606  proname => 'datetimetz_pl', prorettype => 'timestamptz',
2607  proargtypes => 'date timetz', prosrc => 'datetimetz_timestamptz' },
2608{ oid => '1298',
2609  proname => 'timetzdate_pl', prolang => 'sql', prorettype => 'timestamptz',
2610  proargtypes => 'timetz date', prosrc => 'see system_functions.sql' },
2611{ oid => '1299', descr => 'current transaction time',
2612  proname => 'now', provolatile => 's', prorettype => 'timestamptz',
2613  proargtypes => '', prosrc => 'now' },
2614{ oid => '2647', descr => 'current transaction time',
2615  proname => 'transaction_timestamp', provolatile => 's',
2616  prorettype => 'timestamptz', proargtypes => '', prosrc => 'now' },
2617{ oid => '2648', descr => 'current statement time',
2618  proname => 'statement_timestamp', provolatile => 's',
2619  prorettype => 'timestamptz', proargtypes => '',
2620  prosrc => 'statement_timestamp' },
2621{ oid => '2649', descr => 'current clock time',
2622  proname => 'clock_timestamp', provolatile => 'v', prorettype => 'timestamptz',
2623  proargtypes => '', prosrc => 'clock_timestamp' },
2624
2625# OIDS 1300 - 1399
2626
2627{ oid => '1300',
2628  descr => 'restriction selectivity for position-comparison operators',
2629  proname => 'positionsel', provolatile => 's', prorettype => 'float8',
2630  proargtypes => 'internal oid internal int4', prosrc => 'positionsel' },
2631{ oid => '1301',
2632  descr => 'join selectivity for position-comparison operators',
2633  proname => 'positionjoinsel', provolatile => 's', prorettype => 'float8',
2634  proargtypes => 'internal oid internal int2 internal',
2635  prosrc => 'positionjoinsel' },
2636{ oid => '1302',
2637  descr => 'restriction selectivity for containment comparison operators',
2638  proname => 'contsel', provolatile => 's', prorettype => 'float8',
2639  proargtypes => 'internal oid internal int4', prosrc => 'contsel' },
2640{ oid => '1303',
2641  descr => 'join selectivity for containment comparison operators',
2642  proname => 'contjoinsel', provolatile => 's', prorettype => 'float8',
2643  proargtypes => 'internal oid internal int2 internal',
2644  prosrc => 'contjoinsel' },
2645
2646{ oid => '1304', descr => 'intervals overlap?',
2647  proname => 'overlaps', proisstrict => 'f', prorettype => 'bool',
2648  proargtypes => 'timestamptz timestamptz timestamptz timestamptz',
2649  prosrc => 'overlaps_timestamp' },
2650{ oid => '1305', descr => 'intervals overlap?',
2651  proname => 'overlaps', prolang => 'sql', proisstrict => 'f',
2652  provolatile => 's', prorettype => 'bool',
2653  proargtypes => 'timestamptz interval timestamptz interval',
2654  prosrc => 'see system_functions.sql' },
2655{ oid => '1306', descr => 'intervals overlap?',
2656  proname => 'overlaps', prolang => 'sql', proisstrict => 'f',
2657  provolatile => 's', prorettype => 'bool',
2658  proargtypes => 'timestamptz timestamptz timestamptz interval',
2659  prosrc => 'see system_functions.sql' },
2660{ oid => '1307', descr => 'intervals overlap?',
2661  proname => 'overlaps', prolang => 'sql', proisstrict => 'f',
2662  provolatile => 's', prorettype => 'bool',
2663  proargtypes => 'timestamptz interval timestamptz timestamptz',
2664  prosrc => 'see system_functions.sql' },
2665
2666{ oid => '1308', descr => 'intervals overlap?',
2667  proname => 'overlaps', proisstrict => 'f', prorettype => 'bool',
2668  proargtypes => 'time time time time', prosrc => 'overlaps_time' },
2669{ oid => '1309', descr => 'intervals overlap?',
2670  proname => 'overlaps', prolang => 'sql', proisstrict => 'f',
2671  prorettype => 'bool', proargtypes => 'time interval time interval',
2672  prosrc => 'see system_functions.sql' },
2673{ oid => '1310', descr => 'intervals overlap?',
2674  proname => 'overlaps', prolang => 'sql', proisstrict => 'f',
2675  prorettype => 'bool', proargtypes => 'time time time interval',
2676  prosrc => 'see system_functions.sql' },
2677{ oid => '1311', descr => 'intervals overlap?',
2678  proname => 'overlaps', prolang => 'sql', proisstrict => 'f',
2679  prorettype => 'bool', proargtypes => 'time interval time time',
2680  prosrc => 'see system_functions.sql' },
2681
2682{ oid => '1312', descr => 'I/O',
2683  proname => 'timestamp_in', provolatile => 's', prorettype => 'timestamp',
2684  proargtypes => 'cstring oid int4', prosrc => 'timestamp_in' },
2685{ oid => '1313', descr => 'I/O',
2686  proname => 'timestamp_out', provolatile => 's', prorettype => 'cstring',
2687  proargtypes => 'timestamp', prosrc => 'timestamp_out' },
2688{ oid => '2905', descr => 'I/O typmod',
2689  proname => 'timestamptypmodin', prorettype => 'int4',
2690  proargtypes => '_cstring', prosrc => 'timestamptypmodin' },
2691{ oid => '2906', descr => 'I/O typmod',
2692  proname => 'timestamptypmodout', prorettype => 'cstring',
2693  proargtypes => 'int4', prosrc => 'timestamptypmodout' },
2694{ oid => '1314', descr => 'less-equal-greater',
2695  proname => 'timestamptz_cmp', proleakproof => 't', prorettype => 'int4',
2696  proargtypes => 'timestamptz timestamptz', prosrc => 'timestamp_cmp' },
2697{ oid => '1315', descr => 'less-equal-greater',
2698  proname => 'interval_cmp', proleakproof => 't', prorettype => 'int4',
2699  proargtypes => 'interval interval', prosrc => 'interval_cmp' },
2700{ oid => '1316', descr => 'convert timestamp to time',
2701  proname => 'time', prorettype => 'time', proargtypes => 'timestamp',
2702  prosrc => 'timestamp_time' },
2703
2704{ oid => '1317', descr => 'length',
2705  proname => 'length', prorettype => 'int4', proargtypes => 'text',
2706  prosrc => 'textlen' },
2707{ oid => '1318', descr => 'character length',
2708  proname => 'length', prorettype => 'int4', proargtypes => 'bpchar',
2709  prosrc => 'bpcharlen' },
2710
2711{ oid => '1319',
2712  proname => 'xideqint4', proleakproof => 't', prorettype => 'bool',
2713  proargtypes => 'xid int4', prosrc => 'xideq' },
2714{ oid => '3309',
2715  proname => 'xidneqint4', proleakproof => 't', prorettype => 'bool',
2716  proargtypes => 'xid int4', prosrc => 'xidneq' },
2717
2718{ oid => '1326',
2719  proname => 'interval_div', prorettype => 'interval',
2720  proargtypes => 'interval float8', prosrc => 'interval_div' },
2721
2722{ oid => '1339', descr => 'base 10 logarithm',
2723  proname => 'dlog10', prorettype => 'float8', proargtypes => 'float8',
2724  prosrc => 'dlog10' },
2725{ oid => '1340', descr => 'base 10 logarithm',
2726  proname => 'log', prorettype => 'float8', proargtypes => 'float8',
2727  prosrc => 'dlog10' },
2728{ oid => '1194', descr => 'base 10 logarithm',
2729  proname => 'log10', prorettype => 'float8', proargtypes => 'float8',
2730  prosrc => 'dlog10' },
2731{ oid => '1341', descr => 'natural logarithm',
2732  proname => 'ln', prorettype => 'float8', proargtypes => 'float8',
2733  prosrc => 'dlog1' },
2734{ oid => '1342', descr => 'round to nearest integer',
2735  proname => 'round', prorettype => 'float8', proargtypes => 'float8',
2736  prosrc => 'dround' },
2737{ oid => '1343', descr => 'truncate to integer',
2738  proname => 'trunc', prorettype => 'float8', proargtypes => 'float8',
2739  prosrc => 'dtrunc' },
2740{ oid => '1344', descr => 'square root',
2741  proname => 'sqrt', prorettype => 'float8', proargtypes => 'float8',
2742  prosrc => 'dsqrt' },
2743{ oid => '1345', descr => 'cube root',
2744  proname => 'cbrt', prorettype => 'float8', proargtypes => 'float8',
2745  prosrc => 'dcbrt' },
2746{ oid => '1346', descr => 'exponentiation',
2747  proname => 'pow', prorettype => 'float8', proargtypes => 'float8 float8',
2748  prosrc => 'dpow' },
2749{ oid => '1368', descr => 'exponentiation',
2750  proname => 'power', prorettype => 'float8', proargtypes => 'float8 float8',
2751  prosrc => 'dpow' },
2752{ oid => '1347', descr => 'natural exponential (e^x)',
2753  proname => 'exp', prorettype => 'float8', proargtypes => 'float8',
2754  prosrc => 'dexp' },
2755
2756# This form of obj_description is now deprecated, since it will fail if
2757# OIDs are not unique across system catalogs.  Use the other form instead.
2758{ oid => '1348', descr => 'deprecated, use two-argument form instead',
2759  proname => 'obj_description', prolang => 'sql', procost => '100',
2760  provolatile => 's', prorettype => 'text', proargtypes => 'oid',
2761  prosrc => 'see system_functions.sql' },
2762
2763{ oid => '1349', descr => 'print type names of oidvector field',
2764  proname => 'oidvectortypes', provolatile => 's', prorettype => 'text',
2765  proargtypes => 'oidvector', prosrc => 'oidvectortypes' },
2766
2767{ oid => '1350', descr => 'I/O',
2768  proname => 'timetz_in', provolatile => 's', prorettype => 'timetz',
2769  proargtypes => 'cstring oid int4', prosrc => 'timetz_in' },
2770{ oid => '1351', descr => 'I/O',
2771  proname => 'timetz_out', prorettype => 'cstring', proargtypes => 'timetz',
2772  prosrc => 'timetz_out' },
2773{ oid => '2911', descr => 'I/O typmod',
2774  proname => 'timetztypmodin', prorettype => 'int4', proargtypes => '_cstring',
2775  prosrc => 'timetztypmodin' },
2776{ oid => '2912', descr => 'I/O typmod',
2777  proname => 'timetztypmodout', prorettype => 'cstring', proargtypes => 'int4',
2778  prosrc => 'timetztypmodout' },
2779{ oid => '1352',
2780  proname => 'timetz_eq', proleakproof => 't', prorettype => 'bool',
2781  proargtypes => 'timetz timetz', prosrc => 'timetz_eq' },
2782{ oid => '1353',
2783  proname => 'timetz_ne', proleakproof => 't', prorettype => 'bool',
2784  proargtypes => 'timetz timetz', prosrc => 'timetz_ne' },
2785{ oid => '1354',
2786  proname => 'timetz_lt', proleakproof => 't', prorettype => 'bool',
2787  proargtypes => 'timetz timetz', prosrc => 'timetz_lt' },
2788{ oid => '1355',
2789  proname => 'timetz_le', proleakproof => 't', prorettype => 'bool',
2790  proargtypes => 'timetz timetz', prosrc => 'timetz_le' },
2791{ oid => '1356',
2792  proname => 'timetz_ge', proleakproof => 't', prorettype => 'bool',
2793  proargtypes => 'timetz timetz', prosrc => 'timetz_ge' },
2794{ oid => '1357',
2795  proname => 'timetz_gt', proleakproof => 't', prorettype => 'bool',
2796  proargtypes => 'timetz timetz', prosrc => 'timetz_gt' },
2797{ oid => '1358', descr => 'less-equal-greater',
2798  proname => 'timetz_cmp', proleakproof => 't', prorettype => 'int4',
2799  proargtypes => 'timetz timetz', prosrc => 'timetz_cmp' },
2800{ oid => '1359',
2801  descr => 'convert date and time with time zone to timestamp with time zone',
2802  proname => 'timestamptz', prorettype => 'timestamptz',
2803  proargtypes => 'date timetz', prosrc => 'datetimetz_timestamptz' },
2804
2805{ oid => '1367', descr => 'character length',
2806  proname => 'character_length', prorettype => 'int4', proargtypes => 'bpchar',
2807  prosrc => 'bpcharlen' },
2808{ oid => '1369', descr => 'character length',
2809  proname => 'character_length', prorettype => 'int4', proargtypes => 'text',
2810  prosrc => 'textlen' },
2811
2812{ oid => '1370', descr => 'convert time to interval',
2813  proname => 'interval', proleakproof => 't', prorettype => 'interval',
2814  proargtypes => 'time', prosrc => 'time_interval' },
2815{ oid => '1372', descr => 'character length',
2816  proname => 'char_length', prorettype => 'int4', proargtypes => 'bpchar',
2817  prosrc => 'bpcharlen' },
2818{ oid => '1374', descr => 'octet length',
2819  proname => 'octet_length', prorettype => 'int4', proargtypes => 'text',
2820  prosrc => 'textoctetlen' },
2821{ oid => '1375', descr => 'octet length',
2822  proname => 'octet_length', prorettype => 'int4', proargtypes => 'bpchar',
2823  prosrc => 'bpcharoctetlen' },
2824
2825{ oid => '1377', descr => 'larger of two',
2826  proname => 'time_larger', prorettype => 'time', proargtypes => 'time time',
2827  prosrc => 'time_larger' },
2828{ oid => '1378', descr => 'smaller of two',
2829  proname => 'time_smaller', prorettype => 'time', proargtypes => 'time time',
2830  prosrc => 'time_smaller' },
2831{ oid => '1379', descr => 'larger of two',
2832  proname => 'timetz_larger', prorettype => 'timetz',
2833  proargtypes => 'timetz timetz', prosrc => 'timetz_larger' },
2834{ oid => '1380', descr => 'smaller of two',
2835  proname => 'timetz_smaller', prorettype => 'timetz',
2836  proargtypes => 'timetz timetz', prosrc => 'timetz_smaller' },
2837
2838{ oid => '1381', descr => 'character length',
2839  proname => 'char_length', prorettype => 'int4', proargtypes => 'text',
2840  prosrc => 'textlen' },
2841
2842{ oid => '1384', descr => 'extract field from date',
2843  proname => 'date_part', prolang => 'sql', prorettype => 'float8',
2844  proargtypes => 'text date', prosrc => 'see system_functions.sql' },
2845{ oid => '6199', descr => 'extract field from date',
2846  proname => 'extract', prorettype => 'numeric', proargtypes => 'text date',
2847  prosrc => 'extract_date' },
2848{ oid => '1385', descr => 'extract field from time',
2849  proname => 'date_part', prorettype => 'float8', proargtypes => 'text time',
2850  prosrc => 'time_part' },
2851{ oid => '6200', descr => 'extract field from time',
2852  proname => 'extract', prorettype => 'numeric', proargtypes => 'text time',
2853  prosrc => 'extract_time' },
2854{ oid => '1386',
2855  descr => 'date difference from today preserving months and years',
2856  proname => 'age', prolang => 'sql', provolatile => 's',
2857  prorettype => 'interval', proargtypes => 'timestamptz',
2858  prosrc => 'see system_functions.sql' },
2859
2860{ oid => '1388',
2861  descr => 'convert timestamp with time zone to time with time zone',
2862  proname => 'timetz', provolatile => 's', prorettype => 'timetz',
2863  proargtypes => 'timestamptz', prosrc => 'timestamptz_timetz' },
2864
2865{ oid => '1373', descr => 'finite date?',
2866  proname => 'isfinite', prorettype => 'bool', proargtypes => 'date',
2867  prosrc => 'date_finite' },
2868{ oid => '1389', descr => 'finite timestamp?',
2869  proname => 'isfinite', prorettype => 'bool', proargtypes => 'timestamptz',
2870  prosrc => 'timestamp_finite' },
2871{ oid => '1390', descr => 'finite interval?',
2872  proname => 'isfinite', prorettype => 'bool', proargtypes => 'interval',
2873  prosrc => 'interval_finite' },
2874
2875{ oid => '1376', descr => 'factorial',
2876  proname => 'factorial', prorettype => 'numeric', proargtypes => 'int8',
2877  prosrc => 'numeric_fac' },
2878{ oid => '1394', descr => 'absolute value',
2879  proname => 'abs', prorettype => 'float4', proargtypes => 'float4',
2880  prosrc => 'float4abs' },
2881{ oid => '1395', descr => 'absolute value',
2882  proname => 'abs', prorettype => 'float8', proargtypes => 'float8',
2883  prosrc => 'float8abs' },
2884{ oid => '1396', descr => 'absolute value',
2885  proname => 'abs', prorettype => 'int8', proargtypes => 'int8',
2886  prosrc => 'int8abs' },
2887{ oid => '1397', descr => 'absolute value',
2888  proname => 'abs', prorettype => 'int4', proargtypes => 'int4',
2889  prosrc => 'int4abs' },
2890{ oid => '1398', descr => 'absolute value',
2891  proname => 'abs', prorettype => 'int2', proargtypes => 'int2',
2892  prosrc => 'int2abs' },
2893
2894# OIDS 1400 - 1499
2895
2896{ oid => '1400', descr => 'convert varchar to name',
2897  proname => 'name', proleakproof => 't', prorettype => 'name',
2898  proargtypes => 'varchar', prosrc => 'text_name' },
2899{ oid => '1401', descr => 'convert name to varchar',
2900  proname => 'varchar', proleakproof => 't', prorettype => 'varchar',
2901  proargtypes => 'name', prosrc => 'name_text' },
2902
2903{ oid => '1402', descr => 'current schema name',
2904  proname => 'current_schema', provolatile => 's', proparallel => 'u',
2905  prorettype => 'name', proargtypes => '', prosrc => 'current_schema' },
2906{ oid => '1403', descr => 'current schema search list',
2907  proname => 'current_schemas', provolatile => 's', proparallel => 'u',
2908  prorettype => '_name', proargtypes => 'bool', prosrc => 'current_schemas' },
2909
2910{ oid => '1404', descr => 'substitute portion of string',
2911  proname => 'overlay', prorettype => 'text',
2912  proargtypes => 'text text int4 int4', prosrc => 'textoverlay' },
2913{ oid => '1405', descr => 'substitute portion of string',
2914  proname => 'overlay', prorettype => 'text', proargtypes => 'text text int4',
2915  prosrc => 'textoverlay_no_len' },
2916
2917{ oid => '1406', descr => 'vertically aligned',
2918  proname => 'isvertical', prorettype => 'bool', proargtypes => 'point point',
2919  prosrc => 'point_vert' },
2920{ oid => '1407', descr => 'horizontally aligned',
2921  proname => 'ishorizontal', prorettype => 'bool', proargtypes => 'point point',
2922  prosrc => 'point_horiz' },
2923{ oid => '1408', descr => 'parallel',
2924  proname => 'isparallel', prorettype => 'bool', proargtypes => 'lseg lseg',
2925  prosrc => 'lseg_parallel' },
2926{ oid => '1409', descr => 'perpendicular',
2927  proname => 'isperp', prorettype => 'bool', proargtypes => 'lseg lseg',
2928  prosrc => 'lseg_perp' },
2929{ oid => '1410', descr => 'vertical',
2930  proname => 'isvertical', prorettype => 'bool', proargtypes => 'lseg',
2931  prosrc => 'lseg_vertical' },
2932{ oid => '1411', descr => 'horizontal',
2933  proname => 'ishorizontal', prorettype => 'bool', proargtypes => 'lseg',
2934  prosrc => 'lseg_horizontal' },
2935{ oid => '1412', descr => 'parallel',
2936  proname => 'isparallel', prorettype => 'bool', proargtypes => 'line line',
2937  prosrc => 'line_parallel' },
2938{ oid => '1413', descr => 'perpendicular',
2939  proname => 'isperp', prorettype => 'bool', proargtypes => 'line line',
2940  prosrc => 'line_perp' },
2941{ oid => '1414', descr => 'vertical',
2942  proname => 'isvertical', prorettype => 'bool', proargtypes => 'line',
2943  prosrc => 'line_vertical' },
2944{ oid => '1415', descr => 'horizontal',
2945  proname => 'ishorizontal', prorettype => 'bool', proargtypes => 'line',
2946  prosrc => 'line_horizontal' },
2947{ oid => '1416', descr => 'center of',
2948  proname => 'point', prorettype => 'point', proargtypes => 'circle',
2949  prosrc => 'circle_center' },
2950
2951{ oid => '1419', descr => 'convert interval to time',
2952  proname => 'time', prorettype => 'time', proargtypes => 'interval',
2953  prosrc => 'interval_time' },
2954
2955{ oid => '1421', descr => 'convert points to box',
2956  proname => 'box', prorettype => 'box', proargtypes => 'point point',
2957  prosrc => 'points_box' },
2958{ oid => '1422',
2959  proname => 'box_add', prorettype => 'box', proargtypes => 'box point',
2960  prosrc => 'box_add' },
2961{ oid => '1423',
2962  proname => 'box_sub', prorettype => 'box', proargtypes => 'box point',
2963  prosrc => 'box_sub' },
2964{ oid => '1424',
2965  proname => 'box_mul', prorettype => 'box', proargtypes => 'box point',
2966  prosrc => 'box_mul' },
2967{ oid => '1425',
2968  proname => 'box_div', prorettype => 'box', proargtypes => 'box point',
2969  prosrc => 'box_div' },
2970{ oid => '1426',
2971  proname => 'path_contain_pt', prolang => 'sql', prorettype => 'bool',
2972  proargtypes => 'path point', prosrc => 'see system_functions.sql' },
2973{ oid => '1428',
2974  proname => 'poly_contain_pt', prorettype => 'bool',
2975  proargtypes => 'polygon point', prosrc => 'poly_contain_pt' },
2976{ oid => '1429',
2977  proname => 'pt_contained_poly', prorettype => 'bool',
2978  proargtypes => 'point polygon', prosrc => 'pt_contained_poly' },
2979
2980{ oid => '1430', descr => 'path closed?',
2981  proname => 'isclosed', prorettype => 'bool', proargtypes => 'path',
2982  prosrc => 'path_isclosed' },
2983{ oid => '1431', descr => 'path open?',
2984  proname => 'isopen', prorettype => 'bool', proargtypes => 'path',
2985  prosrc => 'path_isopen' },
2986{ oid => '1432',
2987  proname => 'path_npoints', prorettype => 'int4', proargtypes => 'path',
2988  prosrc => 'path_npoints' },
2989
2990# pclose and popen might better be named close and open, but that crashes initdb.
2991# - thomas 97/04/20
2992{ oid => '1433', descr => 'close path',
2993  proname => 'pclose', prorettype => 'path', proargtypes => 'path',
2994  prosrc => 'path_close' },
2995{ oid => '1434', descr => 'open path',
2996  proname => 'popen', prorettype => 'path', proargtypes => 'path',
2997  prosrc => 'path_open' },
2998
2999{ oid => '1435',
3000  proname => 'path_add', prorettype => 'path', proargtypes => 'path path',
3001  prosrc => 'path_add' },
3002{ oid => '1436',
3003  proname => 'path_add_pt', prorettype => 'path', proargtypes => 'path point',
3004  prosrc => 'path_add_pt' },
3005{ oid => '1437',
3006  proname => 'path_sub_pt', prorettype => 'path', proargtypes => 'path point',
3007  prosrc => 'path_sub_pt' },
3008{ oid => '1438',
3009  proname => 'path_mul_pt', prorettype => 'path', proargtypes => 'path point',
3010  prosrc => 'path_mul_pt' },
3011{ oid => '1439',
3012  proname => 'path_div_pt', prorettype => 'path', proargtypes => 'path point',
3013  prosrc => 'path_div_pt' },
3014
3015{ oid => '1440', descr => 'convert x, y to point',
3016  proname => 'point', prorettype => 'point', proargtypes => 'float8 float8',
3017  prosrc => 'construct_point' },
3018{ oid => '1441',
3019  proname => 'point_add', prorettype => 'point', proargtypes => 'point point',
3020  prosrc => 'point_add' },
3021{ oid => '1442',
3022  proname => 'point_sub', prorettype => 'point', proargtypes => 'point point',
3023  prosrc => 'point_sub' },
3024{ oid => '1443',
3025  proname => 'point_mul', prorettype => 'point', proargtypes => 'point point',
3026  prosrc => 'point_mul' },
3027{ oid => '1444',
3028  proname => 'point_div', prorettype => 'point', proargtypes => 'point point',
3029  prosrc => 'point_div' },
3030
3031{ oid => '1445',
3032  proname => 'poly_npoints', prorettype => 'int4', proargtypes => 'polygon',
3033  prosrc => 'poly_npoints' },
3034{ oid => '1446', descr => 'convert polygon to bounding box',
3035  proname => 'box', prorettype => 'box', proargtypes => 'polygon',
3036  prosrc => 'poly_box' },
3037{ oid => '1447', descr => 'convert polygon to path',
3038  proname => 'path', prorettype => 'path', proargtypes => 'polygon',
3039  prosrc => 'poly_path' },
3040{ oid => '1448', descr => 'convert box to polygon',
3041  proname => 'polygon', prorettype => 'polygon', proargtypes => 'box',
3042  prosrc => 'box_poly' },
3043{ oid => '1449', descr => 'convert path to polygon',
3044  proname => 'polygon', prorettype => 'polygon', proargtypes => 'path',
3045  prosrc => 'path_poly' },
3046
3047{ oid => '1450', descr => 'I/O',
3048  proname => 'circle_in', prorettype => 'circle', proargtypes => 'cstring',
3049  prosrc => 'circle_in' },
3050{ oid => '1451', descr => 'I/O',
3051  proname => 'circle_out', prorettype => 'cstring', proargtypes => 'circle',
3052  prosrc => 'circle_out' },
3053{ oid => '1452',
3054  proname => 'circle_same', prorettype => 'bool',
3055  proargtypes => 'circle circle', prosrc => 'circle_same' },
3056{ oid => '1453',
3057  proname => 'circle_contain', prorettype => 'bool',
3058  proargtypes => 'circle circle', prosrc => 'circle_contain' },
3059{ oid => '1454',
3060  proname => 'circle_left', prorettype => 'bool',
3061  proargtypes => 'circle circle', prosrc => 'circle_left' },
3062{ oid => '1455',
3063  proname => 'circle_overleft', prorettype => 'bool',
3064  proargtypes => 'circle circle', prosrc => 'circle_overleft' },
3065{ oid => '1456',
3066  proname => 'circle_overright', prorettype => 'bool',
3067  proargtypes => 'circle circle', prosrc => 'circle_overright' },
3068{ oid => '1457',
3069  proname => 'circle_right', prorettype => 'bool',
3070  proargtypes => 'circle circle', prosrc => 'circle_right' },
3071{ oid => '1458',
3072  proname => 'circle_contained', prorettype => 'bool',
3073  proargtypes => 'circle circle', prosrc => 'circle_contained' },
3074{ oid => '1459',
3075  proname => 'circle_overlap', prorettype => 'bool',
3076  proargtypes => 'circle circle', prosrc => 'circle_overlap' },
3077{ oid => '1460',
3078  proname => 'circle_below', prorettype => 'bool',
3079  proargtypes => 'circle circle', prosrc => 'circle_below' },
3080{ oid => '1461',
3081  proname => 'circle_above', prorettype => 'bool',
3082  proargtypes => 'circle circle', prosrc => 'circle_above' },
3083{ oid => '1462',
3084  proname => 'circle_eq', proleakproof => 't', prorettype => 'bool',
3085  proargtypes => 'circle circle', prosrc => 'circle_eq' },
3086{ oid => '1463',
3087  proname => 'circle_ne', proleakproof => 't', prorettype => 'bool',
3088  proargtypes => 'circle circle', prosrc => 'circle_ne' },
3089{ oid => '1464',
3090  proname => 'circle_lt', proleakproof => 't', prorettype => 'bool',
3091  proargtypes => 'circle circle', prosrc => 'circle_lt' },
3092{ oid => '1465',
3093  proname => 'circle_gt', proleakproof => 't', prorettype => 'bool',
3094  proargtypes => 'circle circle', prosrc => 'circle_gt' },
3095{ oid => '1466',
3096  proname => 'circle_le', proleakproof => 't', prorettype => 'bool',
3097  proargtypes => 'circle circle', prosrc => 'circle_le' },
3098{ oid => '1467',
3099  proname => 'circle_ge', proleakproof => 't', prorettype => 'bool',
3100  proargtypes => 'circle circle', prosrc => 'circle_ge' },
3101{ oid => '1468', descr => 'area of circle',
3102  proname => 'area', prorettype => 'float8', proargtypes => 'circle',
3103  prosrc => 'circle_area' },
3104{ oid => '1469', descr => 'diameter of circle',
3105  proname => 'diameter', prorettype => 'float8', proargtypes => 'circle',
3106  prosrc => 'circle_diameter' },
3107{ oid => '1470', descr => 'radius of circle',
3108  proname => 'radius', prorettype => 'float8', proargtypes => 'circle',
3109  prosrc => 'circle_radius' },
3110{ oid => '1471',
3111  proname => 'circle_distance', prorettype => 'float8',
3112  proargtypes => 'circle circle', prosrc => 'circle_distance' },
3113{ oid => '1472',
3114  proname => 'circle_center', prorettype => 'point', proargtypes => 'circle',
3115  prosrc => 'circle_center' },
3116{ oid => '1473', descr => 'convert point and radius to circle',
3117  proname => 'circle', prorettype => 'circle', proargtypes => 'point float8',
3118  prosrc => 'cr_circle' },
3119{ oid => '1474', descr => 'convert polygon to circle',
3120  proname => 'circle', prorettype => 'circle', proargtypes => 'polygon',
3121  prosrc => 'poly_circle' },
3122{ oid => '1475', descr => 'convert vertex count and circle to polygon',
3123  proname => 'polygon', prorettype => 'polygon', proargtypes => 'int4 circle',
3124  prosrc => 'circle_poly' },
3125{ oid => '1476',
3126  proname => 'dist_pc', prorettype => 'float8', proargtypes => 'point circle',
3127  prosrc => 'dist_pc' },
3128{ oid => '1477',
3129  proname => 'circle_contain_pt', prorettype => 'bool',
3130  proargtypes => 'circle point', prosrc => 'circle_contain_pt' },
3131{ oid => '1478',
3132  proname => 'pt_contained_circle', prorettype => 'bool',
3133  proargtypes => 'point circle', prosrc => 'pt_contained_circle' },
3134{ oid => '4091', descr => 'convert point to empty box',
3135  proname => 'box', prorettype => 'box', proargtypes => 'point',
3136  prosrc => 'point_box' },
3137{ oid => '1479', descr => 'convert box to circle',
3138  proname => 'circle', prorettype => 'circle', proargtypes => 'box',
3139  prosrc => 'box_circle' },
3140{ oid => '1480', descr => 'convert circle to box',
3141  proname => 'box', prorettype => 'box', proargtypes => 'circle',
3142  prosrc => 'circle_box' },
3143
3144{ oid => '1482',
3145  proname => 'lseg_ne', proleakproof => 't', prorettype => 'bool',
3146  proargtypes => 'lseg lseg', prosrc => 'lseg_ne' },
3147{ oid => '1483',
3148  proname => 'lseg_lt', proleakproof => 't', prorettype => 'bool',
3149  proargtypes => 'lseg lseg', prosrc => 'lseg_lt' },
3150{ oid => '1484',
3151  proname => 'lseg_le', proleakproof => 't', prorettype => 'bool',
3152  proargtypes => 'lseg lseg', prosrc => 'lseg_le' },
3153{ oid => '1485',
3154  proname => 'lseg_gt', proleakproof => 't', prorettype => 'bool',
3155  proargtypes => 'lseg lseg', prosrc => 'lseg_gt' },
3156{ oid => '1486',
3157  proname => 'lseg_ge', proleakproof => 't', prorettype => 'bool',
3158  proargtypes => 'lseg lseg', prosrc => 'lseg_ge' },
3159{ oid => '1487',
3160  proname => 'lseg_length', prorettype => 'float8', proargtypes => 'lseg',
3161  prosrc => 'lseg_length' },
3162{ oid => '1488',
3163  proname => 'close_ls', prorettype => 'point', proargtypes => 'line lseg',
3164  prosrc => 'close_ls' },
3165{ oid => '1489',
3166  proname => 'close_lseg', prorettype => 'point', proargtypes => 'lseg lseg',
3167  prosrc => 'close_lseg' },
3168
3169{ oid => '1490', descr => 'I/O',
3170  proname => 'line_in', prorettype => 'line', proargtypes => 'cstring',
3171  prosrc => 'line_in' },
3172{ oid => '1491', descr => 'I/O',
3173  proname => 'line_out', prorettype => 'cstring', proargtypes => 'line',
3174  prosrc => 'line_out' },
3175{ oid => '1492',
3176  proname => 'line_eq', prorettype => 'bool', proargtypes => 'line line',
3177  prosrc => 'line_eq' },
3178{ oid => '1493', descr => 'construct line from points',
3179  proname => 'line', prorettype => 'line', proargtypes => 'point point',
3180  prosrc => 'line_construct_pp' },
3181{ oid => '1494',
3182  proname => 'line_interpt', prorettype => 'point', proargtypes => 'line line',
3183  prosrc => 'line_interpt' },
3184{ oid => '1495',
3185  proname => 'line_intersect', prorettype => 'bool', proargtypes => 'line line',
3186  prosrc => 'line_intersect' },
3187{ oid => '1496',
3188  proname => 'line_parallel', prorettype => 'bool', proargtypes => 'line line',
3189  prosrc => 'line_parallel' },
3190{ oid => '1497',
3191  proname => 'line_perp', prorettype => 'bool', proargtypes => 'line line',
3192  prosrc => 'line_perp' },
3193{ oid => '1498',
3194  proname => 'line_vertical', prorettype => 'bool', proargtypes => 'line',
3195  prosrc => 'line_vertical' },
3196{ oid => '1499',
3197  proname => 'line_horizontal', prorettype => 'bool', proargtypes => 'line',
3198  prosrc => 'line_horizontal' },
3199
3200# OIDS 1500 - 1599
3201
3202{ oid => '1530', descr => 'distance between endpoints',
3203  proname => 'length', prorettype => 'float8', proargtypes => 'lseg',
3204  prosrc => 'lseg_length' },
3205{ oid => '1531', descr => 'sum of path segments',
3206  proname => 'length', prorettype => 'float8', proargtypes => 'path',
3207  prosrc => 'path_length' },
3208
3209{ oid => '1532', descr => 'center of',
3210  proname => 'point', prorettype => 'point', proargtypes => 'lseg',
3211  prosrc => 'lseg_center' },
3212{ oid => '1533', descr => 'center of',
3213  proname => 'point', prorettype => 'point', proargtypes => 'path',
3214  prosrc => 'path_center' },
3215{ oid => '1534', descr => 'center of',
3216  proname => 'point', prorettype => 'point', proargtypes => 'box',
3217  prosrc => 'box_center' },
3218{ oid => '1540', descr => 'center of',
3219  proname => 'point', prorettype => 'point', proargtypes => 'polygon',
3220  prosrc => 'poly_center' },
3221{ oid => '1541', descr => 'diagonal of',
3222  proname => 'lseg', prorettype => 'lseg', proargtypes => 'box',
3223  prosrc => 'box_diagonal' },
3224{ oid => '1542', descr => 'center of',
3225  proname => 'center', prorettype => 'point', proargtypes => 'box',
3226  prosrc => 'box_center' },
3227{ oid => '1543', descr => 'center of',
3228  proname => 'center', prorettype => 'point', proargtypes => 'circle',
3229  prosrc => 'circle_center' },
3230{ oid => '1544', descr => 'convert circle to 12-vertex polygon',
3231  proname => 'polygon', prolang => 'sql', prorettype => 'polygon',
3232  proargtypes => 'circle', prosrc => 'see system_functions.sql' },
3233{ oid => '1545', descr => 'number of points',
3234  proname => 'npoints', prorettype => 'int4', proargtypes => 'path',
3235  prosrc => 'path_npoints' },
3236{ oid => '1556', descr => 'number of points',
3237  proname => 'npoints', prorettype => 'int4', proargtypes => 'polygon',
3238  prosrc => 'poly_npoints' },
3239
3240{ oid => '1564', descr => 'I/O',
3241  proname => 'bit_in', prorettype => 'bit', proargtypes => 'cstring oid int4',
3242  prosrc => 'bit_in' },
3243{ oid => '1565', descr => 'I/O',
3244  proname => 'bit_out', prorettype => 'cstring', proargtypes => 'bit',
3245  prosrc => 'bit_out' },
3246{ oid => '2919', descr => 'I/O typmod',
3247  proname => 'bittypmodin', prorettype => 'int4', proargtypes => '_cstring',
3248  prosrc => 'bittypmodin' },
3249{ oid => '2920', descr => 'I/O typmod',
3250  proname => 'bittypmodout', prorettype => 'cstring', proargtypes => 'int4',
3251  prosrc => 'bittypmodout' },
3252
3253{ oid => '1569', descr => 'matches LIKE expression',
3254  proname => 'like', prosupport => 'textlike_support', prorettype => 'bool',
3255  proargtypes => 'text text', prosrc => 'textlike' },
3256{ oid => '1570', descr => 'does not match LIKE expression',
3257  proname => 'notlike', prorettype => 'bool', proargtypes => 'text text',
3258  prosrc => 'textnlike' },
3259{ oid => '1571', descr => 'matches LIKE expression',
3260  proname => 'like', prosupport => 'textlike_support', prorettype => 'bool',
3261  proargtypes => 'name text', prosrc => 'namelike' },
3262{ oid => '1572', descr => 'does not match LIKE expression',
3263  proname => 'notlike', prorettype => 'bool', proargtypes => 'name text',
3264  prosrc => 'namenlike' },
3265
3266# SEQUENCE functions
3267{ oid => '1574', descr => 'sequence next value',
3268  proname => 'nextval', provolatile => 'v', proparallel => 'u',
3269  prorettype => 'int8', proargtypes => 'regclass', prosrc => 'nextval_oid' },
3270{ oid => '1575', descr => 'sequence current value',
3271  proname => 'currval', provolatile => 'v', proparallel => 'u',
3272  prorettype => 'int8', proargtypes => 'regclass', prosrc => 'currval_oid' },
3273{ oid => '1576', descr => 'set sequence value',
3274  proname => 'setval', provolatile => 'v', proparallel => 'u',
3275  prorettype => 'int8', proargtypes => 'regclass int8',
3276  prosrc => 'setval_oid' },
3277{ oid => '1765', descr => 'set sequence value and is_called status',
3278  proname => 'setval', provolatile => 'v', proparallel => 'u',
3279  prorettype => 'int8', proargtypes => 'regclass int8 bool',
3280  prosrc => 'setval3_oid' },
3281{ oid => '3078',
3282  descr => 'sequence parameters, for use by information schema',
3283  proname => 'pg_sequence_parameters', provolatile => 's',
3284  prorettype => 'record', proargtypes => 'oid',
3285  proallargtypes => '{oid,int8,int8,int8,int8,bool,int8,oid}',
3286  proargmodes => '{i,o,o,o,o,o,o,o}',
3287  proargnames => '{sequence_oid,start_value,minimum_value,maximum_value,increment,cycle_option,cache_size,data_type}',
3288  prosrc => 'pg_sequence_parameters' },
3289{ oid => '4032', descr => 'sequence last value',
3290  proname => 'pg_sequence_last_value', provolatile => 'v', proparallel => 'u',
3291  prorettype => 'int8', proargtypes => 'regclass',
3292  prosrc => 'pg_sequence_last_value' },
3293
3294{ oid => '275', descr => 'return the next oid for a system table',
3295  proname => 'pg_nextoid', provolatile => 'v', proparallel => 'u',
3296  prorettype => 'oid', proargtypes => 'regclass name regclass',
3297  prosrc => 'pg_nextoid' },
3298
3299{ oid => '1579', descr => 'I/O',
3300  proname => 'varbit_in', prorettype => 'varbit',
3301  proargtypes => 'cstring oid int4', prosrc => 'varbit_in' },
3302{ oid => '1580', descr => 'I/O',
3303  proname => 'varbit_out', prorettype => 'cstring', proargtypes => 'varbit',
3304  prosrc => 'varbit_out' },
3305{ oid => '2902', descr => 'I/O typmod',
3306  proname => 'varbittypmodin', prorettype => 'int4', proargtypes => '_cstring',
3307  prosrc => 'varbittypmodin' },
3308{ oid => '2921', descr => 'I/O typmod',
3309  proname => 'varbittypmodout', prorettype => 'cstring', proargtypes => 'int4',
3310  prosrc => 'varbittypmodout' },
3311
3312{ oid => '1581',
3313  proname => 'biteq', proleakproof => 't', prorettype => 'bool',
3314  proargtypes => 'bit bit', prosrc => 'biteq' },
3315{ oid => '1582',
3316  proname => 'bitne', proleakproof => 't', prorettype => 'bool',
3317  proargtypes => 'bit bit', prosrc => 'bitne' },
3318{ oid => '1592',
3319  proname => 'bitge', proleakproof => 't', prorettype => 'bool',
3320  proargtypes => 'bit bit', prosrc => 'bitge' },
3321{ oid => '1593',
3322  proname => 'bitgt', proleakproof => 't', prorettype => 'bool',
3323  proargtypes => 'bit bit', prosrc => 'bitgt' },
3324{ oid => '1594',
3325  proname => 'bitle', proleakproof => 't', prorettype => 'bool',
3326  proargtypes => 'bit bit', prosrc => 'bitle' },
3327{ oid => '1595',
3328  proname => 'bitlt', proleakproof => 't', prorettype => 'bool',
3329  proargtypes => 'bit bit', prosrc => 'bitlt' },
3330{ oid => '1596', descr => 'less-equal-greater',
3331  proname => 'bitcmp', proleakproof => 't', prorettype => 'int4',
3332  proargtypes => 'bit bit', prosrc => 'bitcmp' },
3333
3334{ oid => '1598', descr => 'random value',
3335  proname => 'random', provolatile => 'v', proparallel => 'r',
3336  prorettype => 'float8', proargtypes => '', prosrc => 'drandom' },
3337{ oid => '1599', descr => 'set random seed',
3338  proname => 'setseed', provolatile => 'v', proparallel => 'r',
3339  prorettype => 'void', proargtypes => 'float8', prosrc => 'setseed' },
3340
3341# OIDS 1600 - 1699
3342
3343{ oid => '1600', descr => 'arcsine',
3344  proname => 'asin', prorettype => 'float8', proargtypes => 'float8',
3345  prosrc => 'dasin' },
3346{ oid => '1601', descr => 'arccosine',
3347  proname => 'acos', prorettype => 'float8', proargtypes => 'float8',
3348  prosrc => 'dacos' },
3349{ oid => '1602', descr => 'arctangent',
3350  proname => 'atan', prorettype => 'float8', proargtypes => 'float8',
3351  prosrc => 'datan' },
3352{ oid => '1603', descr => 'arctangent, two arguments',
3353  proname => 'atan2', prorettype => 'float8', proargtypes => 'float8 float8',
3354  prosrc => 'datan2' },
3355{ oid => '1604', descr => 'sine',
3356  proname => 'sin', prorettype => 'float8', proargtypes => 'float8',
3357  prosrc => 'dsin' },
3358{ oid => '1605', descr => 'cosine',
3359  proname => 'cos', prorettype => 'float8', proargtypes => 'float8',
3360  prosrc => 'dcos' },
3361{ oid => '1606', descr => 'tangent',
3362  proname => 'tan', prorettype => 'float8', proargtypes => 'float8',
3363  prosrc => 'dtan' },
3364{ oid => '1607', descr => 'cotangent',
3365  proname => 'cot', prorettype => 'float8', proargtypes => 'float8',
3366  prosrc => 'dcot' },
3367
3368{ oid => '2731', descr => 'arcsine, degrees',
3369  proname => 'asind', prorettype => 'float8', proargtypes => 'float8',
3370  prosrc => 'dasind' },
3371{ oid => '2732', descr => 'arccosine, degrees',
3372  proname => 'acosd', prorettype => 'float8', proargtypes => 'float8',
3373  prosrc => 'dacosd' },
3374{ oid => '2733', descr => 'arctangent, degrees',
3375  proname => 'atand', prorettype => 'float8', proargtypes => 'float8',
3376  prosrc => 'datand' },
3377{ oid => '2734', descr => 'arctangent, two arguments, degrees',
3378  proname => 'atan2d', prorettype => 'float8', proargtypes => 'float8 float8',
3379  prosrc => 'datan2d' },
3380{ oid => '2735', descr => 'sine, degrees',
3381  proname => 'sind', prorettype => 'float8', proargtypes => 'float8',
3382  prosrc => 'dsind' },
3383{ oid => '2736', descr => 'cosine, degrees',
3384  proname => 'cosd', prorettype => 'float8', proargtypes => 'float8',
3385  prosrc => 'dcosd' },
3386{ oid => '2737', descr => 'tangent, degrees',
3387  proname => 'tand', prorettype => 'float8', proargtypes => 'float8',
3388  prosrc => 'dtand' },
3389{ oid => '2738', descr => 'cotangent, degrees',
3390  proname => 'cotd', prorettype => 'float8', proargtypes => 'float8',
3391  prosrc => 'dcotd' },
3392
3393{ oid => '1608', descr => 'radians to degrees',
3394  proname => 'degrees', prorettype => 'float8', proargtypes => 'float8',
3395  prosrc => 'degrees' },
3396{ oid => '1609', descr => 'degrees to radians',
3397  proname => 'radians', prorettype => 'float8', proargtypes => 'float8',
3398  prosrc => 'radians' },
3399{ oid => '1610', descr => 'PI',
3400  proname => 'pi', prorettype => 'float8', proargtypes => '', prosrc => 'dpi' },
3401
3402{ oid => '2462', descr => 'hyperbolic sine',
3403  proname => 'sinh', prorettype => 'float8', proargtypes => 'float8',
3404  prosrc => 'dsinh' },
3405{ oid => '2463', descr => 'hyperbolic cosine',
3406  proname => 'cosh', prorettype => 'float8', proargtypes => 'float8',
3407  prosrc => 'dcosh' },
3408{ oid => '2464', descr => 'hyperbolic tangent',
3409  proname => 'tanh', prorettype => 'float8', proargtypes => 'float8',
3410  prosrc => 'dtanh' },
3411{ oid => '2465', descr => 'inverse hyperbolic sine',
3412  proname => 'asinh', prorettype => 'float8', proargtypes => 'float8',
3413  prosrc => 'dasinh' },
3414{ oid => '2466', descr => 'inverse hyperbolic cosine',
3415  proname => 'acosh', prorettype => 'float8', proargtypes => 'float8',
3416  prosrc => 'dacosh' },
3417{ oid => '2467', descr => 'inverse hyperbolic tangent',
3418  proname => 'atanh', prorettype => 'float8', proargtypes => 'float8',
3419  prosrc => 'datanh' },
3420
3421{ oid => '1618',
3422  proname => 'interval_mul', prorettype => 'interval',
3423  proargtypes => 'interval float8', prosrc => 'interval_mul' },
3424
3425{ oid => '1620', descr => 'convert first char to int4',
3426  proname => 'ascii', prorettype => 'int4', proargtypes => 'text',
3427  prosrc => 'ascii' },
3428{ oid => '1621', descr => 'convert int4 to char',
3429  proname => 'chr', prorettype => 'text', proargtypes => 'int4',
3430  prosrc => 'chr' },
3431{ oid => '1622', descr => 'replicate string n times',
3432  proname => 'repeat', prorettype => 'text', proargtypes => 'text int4',
3433  prosrc => 'repeat' },
3434
3435{ oid => '1623', descr => 'convert SQL regexp pattern to POSIX style',
3436  proname => 'similar_escape', proisstrict => 'f', prorettype => 'text',
3437  proargtypes => 'text text', prosrc => 'similar_escape' },
3438{ oid => '1986', descr => 'convert SQL regexp pattern to POSIX style',
3439  proname => 'similar_to_escape', prorettype => 'text',
3440  proargtypes => 'text text', prosrc => 'similar_to_escape_2' },
3441{ oid => '1987', descr => 'convert SQL regexp pattern to POSIX style',
3442  proname => 'similar_to_escape', prorettype => 'text', proargtypes => 'text',
3443  prosrc => 'similar_to_escape_1' },
3444
3445{ oid => '1624',
3446  proname => 'mul_d_interval', prorettype => 'interval',
3447  proargtypes => 'float8 interval', prosrc => 'mul_d_interval' },
3448
3449{ oid => '1631',
3450  proname => 'bpcharlike', prosupport => 'textlike_support',
3451  prorettype => 'bool', proargtypes => 'bpchar text', prosrc => 'textlike' },
3452{ oid => '1632',
3453  proname => 'bpcharnlike', prorettype => 'bool', proargtypes => 'bpchar text',
3454  prosrc => 'textnlike' },
3455
3456{ oid => '1633',
3457  proname => 'texticlike', prosupport => 'texticlike_support',
3458  prorettype => 'bool', proargtypes => 'text text', prosrc => 'texticlike' },
3459{ oid => '1025', descr => 'planner support for texticlike',
3460  proname => 'texticlike_support', prorettype => 'internal',
3461  proargtypes => 'internal', prosrc => 'texticlike_support' },
3462{ oid => '1634',
3463  proname => 'texticnlike', prorettype => 'bool', proargtypes => 'text text',
3464  prosrc => 'texticnlike' },
3465{ oid => '1635',
3466  proname => 'nameiclike', prosupport => 'texticlike_support',
3467  prorettype => 'bool', proargtypes => 'name text', prosrc => 'nameiclike' },
3468{ oid => '1636',
3469  proname => 'nameicnlike', prorettype => 'bool', proargtypes => 'name text',
3470  prosrc => 'nameicnlike' },
3471{ oid => '1637', descr => 'convert LIKE pattern to use backslash escapes',
3472  proname => 'like_escape', prorettype => 'text', proargtypes => 'text text',
3473  prosrc => 'like_escape' },
3474
3475{ oid => '1656',
3476  proname => 'bpcharicregexeq', prosupport => 'texticregexeq_support',
3477  prorettype => 'bool', proargtypes => 'bpchar text',
3478  prosrc => 'texticregexeq' },
3479{ oid => '1657',
3480  proname => 'bpcharicregexne', prorettype => 'bool',
3481  proargtypes => 'bpchar text', prosrc => 'texticregexne' },
3482{ oid => '1658',
3483  proname => 'bpcharregexeq', prosupport => 'textregexeq_support',
3484  prorettype => 'bool', proargtypes => 'bpchar text', prosrc => 'textregexeq' },
3485{ oid => '1659',
3486  proname => 'bpcharregexne', prorettype => 'bool',
3487  proargtypes => 'bpchar text', prosrc => 'textregexne' },
3488{ oid => '1660',
3489  proname => 'bpchariclike', prosupport => 'texticlike_support',
3490  prorettype => 'bool', proargtypes => 'bpchar text', prosrc => 'texticlike' },
3491{ oid => '1661',
3492  proname => 'bpcharicnlike', prorettype => 'bool',
3493  proargtypes => 'bpchar text', prosrc => 'texticnlike' },
3494
3495# Oracle Compatibility Related Functions - By Edmund Mergl <E.Mergl@bawue.de>
3496{ oid => '868', descr => 'position of substring',
3497  proname => 'strpos', prorettype => 'int4', proargtypes => 'text text',
3498  prosrc => 'textpos' },
3499{ oid => '870', descr => 'lowercase',
3500  proname => 'lower', prorettype => 'text', proargtypes => 'text',
3501  prosrc => 'lower' },
3502{ oid => '871', descr => 'uppercase',
3503  proname => 'upper', prorettype => 'text', proargtypes => 'text',
3504  prosrc => 'upper' },
3505{ oid => '872', descr => 'capitalize each word',
3506  proname => 'initcap', prorettype => 'text', proargtypes => 'text',
3507  prosrc => 'initcap' },
3508{ oid => '873', descr => 'left-pad string to length',
3509  proname => 'lpad', prorettype => 'text', proargtypes => 'text int4 text',
3510  prosrc => 'lpad' },
3511{ oid => '874', descr => 'right-pad string to length',
3512  proname => 'rpad', prorettype => 'text', proargtypes => 'text int4 text',
3513  prosrc => 'rpad' },
3514{ oid => '875', descr => 'trim selected characters from left end of string',
3515  proname => 'ltrim', prorettype => 'text', proargtypes => 'text text',
3516  prosrc => 'ltrim' },
3517{ oid => '876', descr => 'trim selected characters from right end of string',
3518  proname => 'rtrim', prorettype => 'text', proargtypes => 'text text',
3519  prosrc => 'rtrim' },
3520{ oid => '877', descr => 'extract portion of string',
3521  proname => 'substr', prorettype => 'text', proargtypes => 'text int4 int4',
3522  prosrc => 'text_substr' },
3523{ oid => '878', descr => 'map a set of characters appearing in string',
3524  proname => 'translate', prorettype => 'text', proargtypes => 'text text text',
3525  prosrc => 'translate' },
3526{ oid => '879', descr => 'left-pad string to length',
3527  proname => 'lpad', prolang => 'sql', prorettype => 'text',
3528  proargtypes => 'text int4', prosrc => 'see system_functions.sql' },
3529{ oid => '880', descr => 'right-pad string to length',
3530  proname => 'rpad', prolang => 'sql', prorettype => 'text',
3531  proargtypes => 'text int4', prosrc => 'see system_functions.sql' },
3532{ oid => '881', descr => 'trim spaces from left end of string',
3533  proname => 'ltrim', prorettype => 'text', proargtypes => 'text',
3534  prosrc => 'ltrim1' },
3535{ oid => '882', descr => 'trim spaces from right end of string',
3536  proname => 'rtrim', prorettype => 'text', proargtypes => 'text',
3537  prosrc => 'rtrim1' },
3538{ oid => '883', descr => 'extract portion of string',
3539  proname => 'substr', prorettype => 'text', proargtypes => 'text int4',
3540  prosrc => 'text_substr_no_len' },
3541{ oid => '884', descr => 'trim selected characters from both ends of string',
3542  proname => 'btrim', prorettype => 'text', proargtypes => 'text text',
3543  prosrc => 'btrim' },
3544{ oid => '885', descr => 'trim spaces from both ends of string',
3545  proname => 'btrim', prorettype => 'text', proargtypes => 'text',
3546  prosrc => 'btrim1' },
3547
3548{ oid => '936', descr => 'extract portion of string',
3549  proname => 'substring', prorettype => 'text', proargtypes => 'text int4 int4',
3550  prosrc => 'text_substr' },
3551{ oid => '937', descr => 'extract portion of string',
3552  proname => 'substring', prorettype => 'text', proargtypes => 'text int4',
3553  prosrc => 'text_substr_no_len' },
3554{ oid => '2087',
3555  descr => 'replace all occurrences in string of old_substr with new_substr',
3556  proname => 'replace', prorettype => 'text', proargtypes => 'text text text',
3557  prosrc => 'replace_text' },
3558{ oid => '2284', descr => 'replace text using regexp',
3559  proname => 'regexp_replace', prorettype => 'text',
3560  proargtypes => 'text text text', prosrc => 'textregexreplace_noopt' },
3561{ oid => '2285', descr => 'replace text using regexp',
3562  proname => 'regexp_replace', prorettype => 'text',
3563  proargtypes => 'text text text text', prosrc => 'textregexreplace' },
3564{ oid => '3396', descr => 'find first match for regexp',
3565  proname => 'regexp_match', prorettype => '_text', proargtypes => 'text text',
3566  prosrc => 'regexp_match_no_flags' },
3567{ oid => '3397', descr => 'find first match for regexp',
3568  proname => 'regexp_match', prorettype => '_text',
3569  proargtypes => 'text text text', prosrc => 'regexp_match' },
3570{ oid => '2763', descr => 'find match(es) for regexp',
3571  proname => 'regexp_matches', prorows => '1', proretset => 't',
3572  prorettype => '_text', proargtypes => 'text text',
3573  prosrc => 'regexp_matches_no_flags' },
3574{ oid => '2764', descr => 'find match(es) for regexp',
3575  proname => 'regexp_matches', prorows => '10', proretset => 't',
3576  prorettype => '_text', proargtypes => 'text text text',
3577  prosrc => 'regexp_matches' },
3578{ oid => '2088', descr => 'split string by field_sep and return field_num',
3579  proname => 'split_part', prorettype => 'text',
3580  proargtypes => 'text text int4', prosrc => 'split_part' },
3581{ oid => '2765', descr => 'split string by pattern',
3582  proname => 'regexp_split_to_table', prorows => '1000', proretset => 't',
3583  prorettype => 'text', proargtypes => 'text text',
3584  prosrc => 'regexp_split_to_table_no_flags' },
3585{ oid => '2766', descr => 'split string by pattern',
3586  proname => 'regexp_split_to_table', prorows => '1000', proretset => 't',
3587  prorettype => 'text', proargtypes => 'text text text',
3588  prosrc => 'regexp_split_to_table' },
3589{ oid => '2767', descr => 'split string by pattern',
3590  proname => 'regexp_split_to_array', prorettype => '_text',
3591  proargtypes => 'text text', prosrc => 'regexp_split_to_array_no_flags' },
3592{ oid => '2768', descr => 'split string by pattern',
3593  proname => 'regexp_split_to_array', prorettype => '_text',
3594  proargtypes => 'text text text', prosrc => 'regexp_split_to_array' },
3595{ oid => '2089', descr => 'convert int4 number to hex',
3596  proname => 'to_hex', prorettype => 'text', proargtypes => 'int4',
3597  prosrc => 'to_hex32' },
3598{ oid => '2090', descr => 'convert int8 number to hex',
3599  proname => 'to_hex', prorettype => 'text', proargtypes => 'int8',
3600  prosrc => 'to_hex64' },
3601
3602# for character set encoding support
3603
3604# return database encoding name
3605{ oid => '1039', descr => 'encoding name of current database',
3606  proname => 'getdatabaseencoding', provolatile => 's', prorettype => 'name',
3607  proargtypes => '', prosrc => 'getdatabaseencoding' },
3608
3609# return client encoding name i.e. session encoding
3610{ oid => '810', descr => 'encoding name of current database',
3611  proname => 'pg_client_encoding', provolatile => 's', prorettype => 'name',
3612  proargtypes => '', prosrc => 'pg_client_encoding' },
3613
3614{ oid => '1713', descr => 'length of string in specified encoding',
3615  proname => 'length', provolatile => 's', prorettype => 'int4',
3616  proargtypes => 'bytea name', prosrc => 'length_in_encoding' },
3617
3618{ oid => '1714',
3619  descr => 'convert string with specified source encoding name',
3620  proname => 'convert_from', provolatile => 's', prorettype => 'text',
3621  proargtypes => 'bytea name', prosrc => 'pg_convert_from' },
3622
3623{ oid => '1717',
3624  descr => 'convert string with specified destination encoding name',
3625  proname => 'convert_to', provolatile => 's', prorettype => 'bytea',
3626  proargtypes => 'text name', prosrc => 'pg_convert_to' },
3627
3628{ oid => '1813', descr => 'convert string with specified encoding names',
3629  proname => 'convert', provolatile => 's', prorettype => 'bytea',
3630  proargtypes => 'bytea name name', prosrc => 'pg_convert' },
3631
3632{ oid => '1264', descr => 'convert encoding name to encoding id',
3633  proname => 'pg_char_to_encoding', provolatile => 's', prorettype => 'int4',
3634  proargtypes => 'name', prosrc => 'PG_char_to_encoding' },
3635
3636{ oid => '1597', descr => 'convert encoding id to encoding name',
3637  proname => 'pg_encoding_to_char', provolatile => 's', prorettype => 'name',
3638  proargtypes => 'int4', prosrc => 'PG_encoding_to_char' },
3639
3640{ oid => '2319',
3641  descr => 'maximum octet length of a character in given encoding',
3642  proname => 'pg_encoding_max_length', prorettype => 'int4',
3643  proargtypes => 'int4', prosrc => 'pg_encoding_max_length_sql' },
3644
3645{ oid => '1638',
3646  proname => 'oidgt', proleakproof => 't', prorettype => 'bool',
3647  proargtypes => 'oid oid', prosrc => 'oidgt' },
3648{ oid => '1639',
3649  proname => 'oidge', proleakproof => 't', prorettype => 'bool',
3650  proargtypes => 'oid oid', prosrc => 'oidge' },
3651
3652# System-view support functions
3653{ oid => '1573', descr => 'source text of a rule',
3654  proname => 'pg_get_ruledef', provolatile => 's', prorettype => 'text',
3655  proargtypes => 'oid', prosrc => 'pg_get_ruledef' },
3656{ oid => '1640', descr => 'select statement of a view',
3657  proname => 'pg_get_viewdef', provolatile => 's', proparallel => 'r',
3658  prorettype => 'text', proargtypes => 'text',
3659  prosrc => 'pg_get_viewdef_name' },
3660{ oid => '1641', descr => 'select statement of a view',
3661  proname => 'pg_get_viewdef', provolatile => 's', proparallel => 'r',
3662  prorettype => 'text', proargtypes => 'oid', prosrc => 'pg_get_viewdef' },
3663{ oid => '1642', descr => 'role name by OID (with fallback)',
3664  proname => 'pg_get_userbyid', provolatile => 's', prorettype => 'name',
3665  proargtypes => 'oid', prosrc => 'pg_get_userbyid' },
3666{ oid => '1643', descr => 'index description',
3667  proname => 'pg_get_indexdef', provolatile => 's', prorettype => 'text',
3668  proargtypes => 'oid', prosrc => 'pg_get_indexdef' },
3669{ oid => '3415', descr => 'extended statistics object description',
3670  proname => 'pg_get_statisticsobjdef', provolatile => 's',
3671  prorettype => 'text', proargtypes => 'oid',
3672  prosrc => 'pg_get_statisticsobjdef' },
3673{ oid => '6174', descr => 'extended statistics columns',
3674  proname => 'pg_get_statisticsobjdef_columns', provolatile => 's',
3675  prorettype => 'text', proargtypes => 'oid',
3676  prosrc => 'pg_get_statisticsobjdef_columns' },
3677{ oid => '6173', descr => 'extended statistics expressions',
3678  proname => 'pg_get_statisticsobjdef_expressions', provolatile => 's',
3679  prorettype => '_text', proargtypes => 'oid',
3680  prosrc => 'pg_get_statisticsobjdef_expressions' },
3681{ oid => '3352', descr => 'partition key description',
3682  proname => 'pg_get_partkeydef', provolatile => 's', prorettype => 'text',
3683  proargtypes => 'oid', prosrc => 'pg_get_partkeydef' },
3684{ oid => '3408', descr => 'partition constraint description',
3685  proname => 'pg_get_partition_constraintdef', provolatile => 's',
3686  prorettype => 'text', proargtypes => 'oid',
3687  prosrc => 'pg_get_partition_constraintdef' },
3688{ oid => '1662', descr => 'trigger description',
3689  proname => 'pg_get_triggerdef', provolatile => 's', prorettype => 'text',
3690  proargtypes => 'oid', prosrc => 'pg_get_triggerdef' },
3691{ oid => '1387', descr => 'constraint description',
3692  proname => 'pg_get_constraintdef', provolatile => 's', prorettype => 'text',
3693  proargtypes => 'oid', prosrc => 'pg_get_constraintdef' },
3694{ oid => '1716', descr => 'deparse an encoded expression',
3695  proname => 'pg_get_expr', provolatile => 's', prorettype => 'text',
3696  proargtypes => 'pg_node_tree oid', prosrc => 'pg_get_expr' },
3697{ oid => '1665', descr => 'name of sequence for a serial column',
3698  proname => 'pg_get_serial_sequence', provolatile => 's', prorettype => 'text',
3699  proargtypes => 'text text', prosrc => 'pg_get_serial_sequence' },
3700{ oid => '2098', descr => 'definition of a function',
3701  proname => 'pg_get_functiondef', provolatile => 's', prorettype => 'text',
3702  proargtypes => 'oid', prosrc => 'pg_get_functiondef' },
3703{ oid => '2162', descr => 'argument list of a function',
3704  proname => 'pg_get_function_arguments', provolatile => 's',
3705  prorettype => 'text', proargtypes => 'oid',
3706  prosrc => 'pg_get_function_arguments' },
3707{ oid => '2232', descr => 'identity argument list of a function',
3708  proname => 'pg_get_function_identity_arguments', provolatile => 's',
3709  prorettype => 'text', proargtypes => 'oid',
3710  prosrc => 'pg_get_function_identity_arguments' },
3711{ oid => '2165', descr => 'result type of a function',
3712  proname => 'pg_get_function_result', provolatile => 's', prorettype => 'text',
3713  proargtypes => 'oid', prosrc => 'pg_get_function_result' },
3714{ oid => '3808', descr => 'function argument default',
3715  proname => 'pg_get_function_arg_default', provolatile => 's',
3716  prorettype => 'text', proargtypes => 'oid int4',
3717  prosrc => 'pg_get_function_arg_default' },
3718{ oid => '6197', descr => 'function SQL body',
3719  proname => 'pg_get_function_sqlbody', provolatile => 's',
3720  prorettype => 'text', proargtypes => 'oid',
3721  prosrc => 'pg_get_function_sqlbody' },
3722
3723{ oid => '1686', descr => 'list of SQL keywords',
3724  proname => 'pg_get_keywords', procost => '10', prorows => '500',
3725  proretset => 't', provolatile => 's', prorettype => 'record',
3726  proargtypes => '', proallargtypes => '{text,char,bool,text,text}',
3727  proargmodes => '{o,o,o,o,o}',
3728  proargnames => '{word,catcode,barelabel,catdesc,baredesc}',
3729  prosrc => 'pg_get_keywords' },
3730
3731{ oid => '6159', descr => 'list of catalog foreign key relationships',
3732  proname => 'pg_get_catalog_foreign_keys', procost => '10', prorows => '250',
3733  proretset => 't', provolatile => 's', prorettype => 'record',
3734  proargtypes => '',
3735  proallargtypes => '{regclass,_text,regclass,_text,bool,bool}',
3736  proargmodes => '{o,o,o,o,o,o}',
3737  proargnames => '{fktable,fkcols,pktable,pkcols,is_array,is_opt}',
3738  prosrc => 'pg_get_catalog_foreign_keys' },
3739
3740{ oid => '2289', descr => 'convert generic options array to name/value table',
3741  proname => 'pg_options_to_table', prorows => '3', proretset => 't',
3742  provolatile => 's', prorettype => 'record', proargtypes => '_text',
3743  proallargtypes => '{_text,text,text}', proargmodes => '{i,o,o}',
3744  proargnames => '{options_array,option_name,option_value}',
3745  prosrc => 'pg_options_to_table' },
3746
3747{ oid => '1619', descr => 'type of the argument',
3748  proname => 'pg_typeof', proisstrict => 'f', provolatile => 's',
3749  prorettype => 'regtype', proargtypes => 'any', prosrc => 'pg_typeof' },
3750{ oid => '3162',
3751  descr => 'collation of the argument; implementation of the COLLATION FOR expression',
3752  proname => 'pg_collation_for', proisstrict => 'f', provolatile => 's',
3753  prorettype => 'text', proargtypes => 'any', prosrc => 'pg_collation_for' },
3754
3755{ oid => '3842', descr => 'is a relation insertable/updatable/deletable',
3756  proname => 'pg_relation_is_updatable', procost => '10', provolatile => 's',
3757  prorettype => 'int4', proargtypes => 'regclass bool',
3758  prosrc => 'pg_relation_is_updatable' },
3759{ oid => '3843', descr => 'is a column updatable',
3760  proname => 'pg_column_is_updatable', procost => '10', provolatile => 's',
3761  prorettype => 'bool', proargtypes => 'regclass int2 bool',
3762  prosrc => 'pg_column_is_updatable' },
3763
3764{ oid => '6120', descr => 'oid of replica identity index if any',
3765  proname => 'pg_get_replica_identity_index', procost => '10',
3766  provolatile => 's', prorettype => 'regclass', proargtypes => 'regclass',
3767  prosrc => 'pg_get_replica_identity_index' },
3768
3769# Deferrable unique constraint trigger
3770{ oid => '1250', descr => 'deferred UNIQUE constraint check',
3771  proname => 'unique_key_recheck', provolatile => 'v', prorettype => 'trigger',
3772  proargtypes => '', prosrc => 'unique_key_recheck' },
3773
3774# Generic referential integrity constraint triggers
3775{ oid => '1644', descr => 'referential integrity FOREIGN KEY ... REFERENCES',
3776  proname => 'RI_FKey_check_ins', provolatile => 'v', prorettype => 'trigger',
3777  proargtypes => '', prosrc => 'RI_FKey_check_ins' },
3778{ oid => '1645', descr => 'referential integrity FOREIGN KEY ... REFERENCES',
3779  proname => 'RI_FKey_check_upd', provolatile => 'v', prorettype => 'trigger',
3780  proargtypes => '', prosrc => 'RI_FKey_check_upd' },
3781{ oid => '1646', descr => 'referential integrity ON DELETE CASCADE',
3782  proname => 'RI_FKey_cascade_del', provolatile => 'v', prorettype => 'trigger',
3783  proargtypes => '', prosrc => 'RI_FKey_cascade_del' },
3784{ oid => '1647', descr => 'referential integrity ON UPDATE CASCADE',
3785  proname => 'RI_FKey_cascade_upd', provolatile => 'v', prorettype => 'trigger',
3786  proargtypes => '', prosrc => 'RI_FKey_cascade_upd' },
3787{ oid => '1648', descr => 'referential integrity ON DELETE RESTRICT',
3788  proname => 'RI_FKey_restrict_del', provolatile => 'v',
3789  prorettype => 'trigger', proargtypes => '',
3790  prosrc => 'RI_FKey_restrict_del' },
3791{ oid => '1649', descr => 'referential integrity ON UPDATE RESTRICT',
3792  proname => 'RI_FKey_restrict_upd', provolatile => 'v',
3793  prorettype => 'trigger', proargtypes => '',
3794  prosrc => 'RI_FKey_restrict_upd' },
3795{ oid => '1650', descr => 'referential integrity ON DELETE SET NULL',
3796  proname => 'RI_FKey_setnull_del', provolatile => 'v', prorettype => 'trigger',
3797  proargtypes => '', prosrc => 'RI_FKey_setnull_del' },
3798{ oid => '1651', descr => 'referential integrity ON UPDATE SET NULL',
3799  proname => 'RI_FKey_setnull_upd', provolatile => 'v', prorettype => 'trigger',
3800  proargtypes => '', prosrc => 'RI_FKey_setnull_upd' },
3801{ oid => '1652', descr => 'referential integrity ON DELETE SET DEFAULT',
3802  proname => 'RI_FKey_setdefault_del', provolatile => 'v',
3803  prorettype => 'trigger', proargtypes => '',
3804  prosrc => 'RI_FKey_setdefault_del' },
3805{ oid => '1653', descr => 'referential integrity ON UPDATE SET DEFAULT',
3806  proname => 'RI_FKey_setdefault_upd', provolatile => 'v',
3807  prorettype => 'trigger', proargtypes => '',
3808  prosrc => 'RI_FKey_setdefault_upd' },
3809{ oid => '1654', descr => 'referential integrity ON DELETE NO ACTION',
3810  proname => 'RI_FKey_noaction_del', provolatile => 'v',
3811  prorettype => 'trigger', proargtypes => '',
3812  prosrc => 'RI_FKey_noaction_del' },
3813{ oid => '1655', descr => 'referential integrity ON UPDATE NO ACTION',
3814  proname => 'RI_FKey_noaction_upd', provolatile => 'v',
3815  prorettype => 'trigger', proargtypes => '',
3816  prosrc => 'RI_FKey_noaction_upd' },
3817
3818{ oid => '1666',
3819  proname => 'varbiteq', proleakproof => 't', prorettype => 'bool',
3820  proargtypes => 'varbit varbit', prosrc => 'biteq' },
3821{ oid => '1667',
3822  proname => 'varbitne', proleakproof => 't', prorettype => 'bool',
3823  proargtypes => 'varbit varbit', prosrc => 'bitne' },
3824{ oid => '1668',
3825  proname => 'varbitge', proleakproof => 't', prorettype => 'bool',
3826  proargtypes => 'varbit varbit', prosrc => 'bitge' },
3827{ oid => '1669',
3828  proname => 'varbitgt', proleakproof => 't', prorettype => 'bool',
3829  proargtypes => 'varbit varbit', prosrc => 'bitgt' },
3830{ oid => '1670',
3831  proname => 'varbitle', proleakproof => 't', prorettype => 'bool',
3832  proargtypes => 'varbit varbit', prosrc => 'bitle' },
3833{ oid => '1671',
3834  proname => 'varbitlt', proleakproof => 't', prorettype => 'bool',
3835  proargtypes => 'varbit varbit', prosrc => 'bitlt' },
3836{ oid => '1672', descr => 'less-equal-greater',
3837  proname => 'varbitcmp', proleakproof => 't', prorettype => 'int4',
3838  proargtypes => 'varbit varbit', prosrc => 'bitcmp' },
3839
3840# avoid the C names bitand and bitor, since they are C++ keywords
3841{ oid => '1673',
3842  proname => 'bitand', prorettype => 'bit', proargtypes => 'bit bit',
3843  prosrc => 'bit_and' },
3844{ oid => '1674',
3845  proname => 'bitor', prorettype => 'bit', proargtypes => 'bit bit',
3846  prosrc => 'bit_or' },
3847{ oid => '1675',
3848  proname => 'bitxor', prorettype => 'bit', proargtypes => 'bit bit',
3849  prosrc => 'bitxor' },
3850{ oid => '1676',
3851  proname => 'bitnot', prorettype => 'bit', proargtypes => 'bit',
3852  prosrc => 'bitnot' },
3853{ oid => '1677',
3854  proname => 'bitshiftleft', prorettype => 'bit', proargtypes => 'bit int4',
3855  prosrc => 'bitshiftleft' },
3856{ oid => '1678',
3857  proname => 'bitshiftright', prorettype => 'bit', proargtypes => 'bit int4',
3858  prosrc => 'bitshiftright' },
3859{ oid => '1679',
3860  proname => 'bitcat', prorettype => 'varbit', proargtypes => 'varbit varbit',
3861  prosrc => 'bitcat' },
3862{ oid => '1680', descr => 'extract portion of bitstring',
3863  proname => 'substring', prorettype => 'bit', proargtypes => 'bit int4 int4',
3864  prosrc => 'bitsubstr' },
3865{ oid => '1681', descr => 'bitstring length',
3866  proname => 'length', prorettype => 'int4', proargtypes => 'bit',
3867  prosrc => 'bitlength' },
3868{ oid => '1682', descr => 'octet length',
3869  proname => 'octet_length', prorettype => 'int4', proargtypes => 'bit',
3870  prosrc => 'bitoctetlength' },
3871{ oid => '1683', descr => 'convert int4 to bitstring',
3872  proname => 'bit', prorettype => 'bit', proargtypes => 'int4 int4',
3873  prosrc => 'bitfromint4' },
3874{ oid => '1684', descr => 'convert bitstring to int4',
3875  proname => 'int4', prorettype => 'int4', proargtypes => 'bit',
3876  prosrc => 'bittoint4' },
3877
3878{ oid => '1685', descr => 'adjust bit() to typmod length',
3879  proname => 'bit', prorettype => 'bit', proargtypes => 'bit int4 bool',
3880  prosrc => 'bit' },
3881{ oid => '3158', descr => 'planner support for varbit length coercion',
3882  proname => 'varbit_support', prorettype => 'internal',
3883  proargtypes => 'internal', prosrc => 'varbit_support' },
3884{ oid => '1687', descr => 'adjust varbit() to typmod length',
3885  proname => 'varbit', prosupport => 'varbit_support', prorettype => 'varbit',
3886  proargtypes => 'varbit int4 bool', prosrc => 'varbit' },
3887
3888{ oid => '1698', descr => 'position of sub-bitstring',
3889  proname => 'position', prorettype => 'int4', proargtypes => 'bit bit',
3890  prosrc => 'bitposition' },
3891{ oid => '1699', descr => 'extract portion of bitstring',
3892  proname => 'substring', prorettype => 'bit', proargtypes => 'bit int4',
3893  prosrc => 'bitsubstr_no_len' },
3894
3895{ oid => '3030', descr => 'substitute portion of bitstring',
3896  proname => 'overlay', prorettype => 'bit', proargtypes => 'bit bit int4 int4',
3897  prosrc => 'bitoverlay' },
3898{ oid => '3031', descr => 'substitute portion of bitstring',
3899  proname => 'overlay', prorettype => 'bit', proargtypes => 'bit bit int4',
3900  prosrc => 'bitoverlay_no_len' },
3901{ oid => '3032', descr => 'get bit',
3902  proname => 'get_bit', prorettype => 'int4', proargtypes => 'bit int4',
3903  prosrc => 'bitgetbit' },
3904{ oid => '3033', descr => 'set bit',
3905  proname => 'set_bit', prorettype => 'bit', proargtypes => 'bit int4 int4',
3906  prosrc => 'bitsetbit' },
3907{ oid => '6162', descr => 'number of set bits',
3908  proname => 'bit_count', prorettype => 'int8', proargtypes => 'bit',
3909  prosrc => 'bit_bit_count' },
3910
3911# for macaddr type support
3912{ oid => '436', descr => 'I/O',
3913  proname => 'macaddr_in', prorettype => 'macaddr', proargtypes => 'cstring',
3914  prosrc => 'macaddr_in' },
3915{ oid => '437', descr => 'I/O',
3916  proname => 'macaddr_out', prorettype => 'cstring', proargtypes => 'macaddr',
3917  prosrc => 'macaddr_out' },
3918
3919{ oid => '753', descr => 'MACADDR manufacturer fields',
3920  proname => 'trunc', prorettype => 'macaddr', proargtypes => 'macaddr',
3921  prosrc => 'macaddr_trunc' },
3922
3923{ oid => '830',
3924  proname => 'macaddr_eq', proleakproof => 't', prorettype => 'bool',
3925  proargtypes => 'macaddr macaddr', prosrc => 'macaddr_eq' },
3926{ oid => '831',
3927  proname => 'macaddr_lt', proleakproof => 't', prorettype => 'bool',
3928  proargtypes => 'macaddr macaddr', prosrc => 'macaddr_lt' },
3929{ oid => '832',
3930  proname => 'macaddr_le', proleakproof => 't', prorettype => 'bool',
3931  proargtypes => 'macaddr macaddr', prosrc => 'macaddr_le' },
3932{ oid => '833',
3933  proname => 'macaddr_gt', proleakproof => 't', prorettype => 'bool',
3934  proargtypes => 'macaddr macaddr', prosrc => 'macaddr_gt' },
3935{ oid => '834',
3936  proname => 'macaddr_ge', proleakproof => 't', prorettype => 'bool',
3937  proargtypes => 'macaddr macaddr', prosrc => 'macaddr_ge' },
3938{ oid => '835',
3939  proname => 'macaddr_ne', proleakproof => 't', prorettype => 'bool',
3940  proargtypes => 'macaddr macaddr', prosrc => 'macaddr_ne' },
3941{ oid => '836', descr => 'less-equal-greater',
3942  proname => 'macaddr_cmp', proleakproof => 't', prorettype => 'int4',
3943  proargtypes => 'macaddr macaddr', prosrc => 'macaddr_cmp' },
3944{ oid => '3144',
3945  proname => 'macaddr_not', prorettype => 'macaddr', proargtypes => 'macaddr',
3946  prosrc => 'macaddr_not' },
3947{ oid => '3145',
3948  proname => 'macaddr_and', prorettype => 'macaddr',
3949  proargtypes => 'macaddr macaddr', prosrc => 'macaddr_and' },
3950{ oid => '3146',
3951  proname => 'macaddr_or', prorettype => 'macaddr',
3952  proargtypes => 'macaddr macaddr', prosrc => 'macaddr_or' },
3953{ oid => '3359', descr => 'sort support',
3954  proname => 'macaddr_sortsupport', prorettype => 'void',
3955  proargtypes => 'internal', prosrc => 'macaddr_sortsupport' },
3956
3957# for macaddr8 type support
3958{ oid => '4110', descr => 'I/O',
3959  proname => 'macaddr8_in', prorettype => 'macaddr8', proargtypes => 'cstring',
3960  prosrc => 'macaddr8_in' },
3961{ oid => '4111', descr => 'I/O',
3962  proname => 'macaddr8_out', prorettype => 'cstring', proargtypes => 'macaddr8',
3963  prosrc => 'macaddr8_out' },
3964
3965{ oid => '4112', descr => 'MACADDR8 manufacturer fields',
3966  proname => 'trunc', prorettype => 'macaddr8', proargtypes => 'macaddr8',
3967  prosrc => 'macaddr8_trunc' },
3968
3969{ oid => '4113',
3970  proname => 'macaddr8_eq', proleakproof => 't', prorettype => 'bool',
3971  proargtypes => 'macaddr8 macaddr8', prosrc => 'macaddr8_eq' },
3972{ oid => '4114',
3973  proname => 'macaddr8_lt', proleakproof => 't', prorettype => 'bool',
3974  proargtypes => 'macaddr8 macaddr8', prosrc => 'macaddr8_lt' },
3975{ oid => '4115',
3976  proname => 'macaddr8_le', proleakproof => 't', prorettype => 'bool',
3977  proargtypes => 'macaddr8 macaddr8', prosrc => 'macaddr8_le' },
3978{ oid => '4116',
3979  proname => 'macaddr8_gt', proleakproof => 't', prorettype => 'bool',
3980  proargtypes => 'macaddr8 macaddr8', prosrc => 'macaddr8_gt' },
3981{ oid => '4117',
3982  proname => 'macaddr8_ge', proleakproof => 't', prorettype => 'bool',
3983  proargtypes => 'macaddr8 macaddr8', prosrc => 'macaddr8_ge' },
3984{ oid => '4118',
3985  proname => 'macaddr8_ne', proleakproof => 't', prorettype => 'bool',
3986  proargtypes => 'macaddr8 macaddr8', prosrc => 'macaddr8_ne' },
3987{ oid => '4119', descr => 'less-equal-greater',
3988  proname => 'macaddr8_cmp', proleakproof => 't', prorettype => 'int4',
3989  proargtypes => 'macaddr8 macaddr8', prosrc => 'macaddr8_cmp' },
3990{ oid => '4120',
3991  proname => 'macaddr8_not', prorettype => 'macaddr8',
3992  proargtypes => 'macaddr8', prosrc => 'macaddr8_not' },
3993{ oid => '4121',
3994  proname => 'macaddr8_and', prorettype => 'macaddr8',
3995  proargtypes => 'macaddr8 macaddr8', prosrc => 'macaddr8_and' },
3996{ oid => '4122',
3997  proname => 'macaddr8_or', prorettype => 'macaddr8',
3998  proargtypes => 'macaddr8 macaddr8', prosrc => 'macaddr8_or' },
3999{ oid => '4123', descr => 'convert macaddr to macaddr8',
4000  proname => 'macaddr8', proleakproof => 't', prorettype => 'macaddr8',
4001  proargtypes => 'macaddr', prosrc => 'macaddrtomacaddr8' },
4002{ oid => '4124', descr => 'convert macaddr8 to macaddr',
4003  proname => 'macaddr', prorettype => 'macaddr', proargtypes => 'macaddr8',
4004  prosrc => 'macaddr8tomacaddr' },
4005{ oid => '4125', descr => 'set 7th bit in macaddr8',
4006  proname => 'macaddr8_set7bit', prorettype => 'macaddr8',
4007  proargtypes => 'macaddr8', prosrc => 'macaddr8_set7bit' },
4008
4009# for inet type support
4010{ oid => '910', descr => 'I/O',
4011  proname => 'inet_in', prorettype => 'inet', proargtypes => 'cstring',
4012  prosrc => 'inet_in' },
4013{ oid => '911', descr => 'I/O',
4014  proname => 'inet_out', prorettype => 'cstring', proargtypes => 'inet',
4015  prosrc => 'inet_out' },
4016
4017# for cidr type support
4018{ oid => '1267', descr => 'I/O',
4019  proname => 'cidr_in', prorettype => 'cidr', proargtypes => 'cstring',
4020  prosrc => 'cidr_in' },
4021{ oid => '1427', descr => 'I/O',
4022  proname => 'cidr_out', prorettype => 'cstring', proargtypes => 'cidr',
4023  prosrc => 'cidr_out' },
4024
4025# these are used for both inet and cidr
4026{ oid => '920',
4027  proname => 'network_eq', proleakproof => 't', prorettype => 'bool',
4028  proargtypes => 'inet inet', prosrc => 'network_eq' },
4029{ oid => '921',
4030  proname => 'network_lt', proleakproof => 't', prorettype => 'bool',
4031  proargtypes => 'inet inet', prosrc => 'network_lt' },
4032{ oid => '922',
4033  proname => 'network_le', proleakproof => 't', prorettype => 'bool',
4034  proargtypes => 'inet inet', prosrc => 'network_le' },
4035{ oid => '923',
4036  proname => 'network_gt', proleakproof => 't', prorettype => 'bool',
4037  proargtypes => 'inet inet', prosrc => 'network_gt' },
4038{ oid => '924',
4039  proname => 'network_ge', proleakproof => 't', prorettype => 'bool',
4040  proargtypes => 'inet inet', prosrc => 'network_ge' },
4041{ oid => '925',
4042  proname => 'network_ne', proleakproof => 't', prorettype => 'bool',
4043  proargtypes => 'inet inet', prosrc => 'network_ne' },
4044{ oid => '3562', descr => 'larger of two',
4045  proname => 'network_larger', prorettype => 'inet', proargtypes => 'inet inet',
4046  prosrc => 'network_larger' },
4047{ oid => '3563', descr => 'smaller of two',
4048  proname => 'network_smaller', prorettype => 'inet',
4049  proargtypes => 'inet inet', prosrc => 'network_smaller' },
4050{ oid => '926', descr => 'less-equal-greater',
4051  proname => 'network_cmp', proleakproof => 't', prorettype => 'int4',
4052  proargtypes => 'inet inet', prosrc => 'network_cmp' },
4053{ oid => '927',
4054  proname => 'network_sub', prosupport => 'network_subset_support',
4055  prorettype => 'bool', proargtypes => 'inet inet', prosrc => 'network_sub' },
4056{ oid => '928',
4057  proname => 'network_subeq', prosupport => 'network_subset_support',
4058  prorettype => 'bool', proargtypes => 'inet inet', prosrc => 'network_subeq' },
4059{ oid => '929',
4060  proname => 'network_sup', prosupport => 'network_subset_support',
4061  prorettype => 'bool', proargtypes => 'inet inet', prosrc => 'network_sup' },
4062{ oid => '930',
4063  proname => 'network_supeq', prosupport => 'network_subset_support',
4064  prorettype => 'bool', proargtypes => 'inet inet', prosrc => 'network_supeq' },
4065{ oid => '1173', descr => 'planner support for network_sub/superset',
4066  proname => 'network_subset_support', prorettype => 'internal',
4067  proargtypes => 'internal', prosrc => 'network_subset_support' },
4068
4069{ oid => '3551',
4070  proname => 'network_overlap', prorettype => 'bool',
4071  proargtypes => 'inet inet', prosrc => 'network_overlap' },
4072{ oid => '5033', descr => 'sort support',
4073  proname => 'network_sortsupport', prorettype => 'void',
4074  proargtypes => 'internal', prosrc => 'network_sortsupport' },
4075
4076# inet/cidr functions
4077{ oid => '598', descr => 'abbreviated display of inet value',
4078  proname => 'abbrev', prorettype => 'text', proargtypes => 'inet',
4079  prosrc => 'inet_abbrev' },
4080{ oid => '599', descr => 'abbreviated display of cidr value',
4081  proname => 'abbrev', prorettype => 'text', proargtypes => 'cidr',
4082  prosrc => 'cidr_abbrev' },
4083{ oid => '605', descr => 'change netmask of inet',
4084  proname => 'set_masklen', prorettype => 'inet', proargtypes => 'inet int4',
4085  prosrc => 'inet_set_masklen' },
4086{ oid => '635', descr => 'change netmask of cidr',
4087  proname => 'set_masklen', prorettype => 'cidr', proargtypes => 'cidr int4',
4088  prosrc => 'cidr_set_masklen' },
4089{ oid => '711', descr => 'address family (4 for IPv4, 6 for IPv6)',
4090  proname => 'family', prorettype => 'int4', proargtypes => 'inet',
4091  prosrc => 'network_family' },
4092{ oid => '683', descr => 'network part of address',
4093  proname => 'network', prorettype => 'cidr', proargtypes => 'inet',
4094  prosrc => 'network_network' },
4095{ oid => '696', descr => 'netmask of address',
4096  proname => 'netmask', prorettype => 'inet', proargtypes => 'inet',
4097  prosrc => 'network_netmask' },
4098{ oid => '697', descr => 'netmask length',
4099  proname => 'masklen', prorettype => 'int4', proargtypes => 'inet',
4100  prosrc => 'network_masklen' },
4101{ oid => '698', descr => 'broadcast address of network',
4102  proname => 'broadcast', prorettype => 'inet', proargtypes => 'inet',
4103  prosrc => 'network_broadcast' },
4104{ oid => '699', descr => 'show address octets only',
4105  proname => 'host', prorettype => 'text', proargtypes => 'inet',
4106  prosrc => 'network_host' },
4107{ oid => '730', descr => 'show all parts of inet/cidr value',
4108  proname => 'text', prorettype => 'text', proargtypes => 'inet',
4109  prosrc => 'network_show' },
4110{ oid => '1362', descr => 'hostmask of address',
4111  proname => 'hostmask', prorettype => 'inet', proargtypes => 'inet',
4112  prosrc => 'network_hostmask' },
4113{ oid => '1715', descr => 'convert inet to cidr',
4114  proname => 'cidr', prorettype => 'cidr', proargtypes => 'inet',
4115  prosrc => 'inet_to_cidr' },
4116
4117{ oid => '2196', descr => 'inet address of the client',
4118  proname => 'inet_client_addr', proisstrict => 'f', provolatile => 's',
4119  proparallel => 'r', prorettype => 'inet', proargtypes => '',
4120  prosrc => 'inet_client_addr' },
4121{ oid => '2197', descr => 'client\'s port number for this connection',
4122  proname => 'inet_client_port', proisstrict => 'f', provolatile => 's',
4123  proparallel => 'r', prorettype => 'int4', proargtypes => '',
4124  prosrc => 'inet_client_port' },
4125{ oid => '2198', descr => 'inet address of the server',
4126  proname => 'inet_server_addr', proisstrict => 'f', provolatile => 's',
4127  proparallel => 'r', prorettype => 'inet', proargtypes => '',
4128  prosrc => 'inet_server_addr' },
4129{ oid => '2199', descr => 'server\'s port number for this connection',
4130  proname => 'inet_server_port', proisstrict => 'f', provolatile => 's',
4131  proparallel => 'r', prorettype => 'int4', proargtypes => '',
4132  prosrc => 'inet_server_port' },
4133
4134{ oid => '2627',
4135  proname => 'inetnot', prorettype => 'inet', proargtypes => 'inet',
4136  prosrc => 'inetnot' },
4137{ oid => '2628',
4138  proname => 'inetand', prorettype => 'inet', proargtypes => 'inet inet',
4139  prosrc => 'inetand' },
4140{ oid => '2629',
4141  proname => 'inetor', prorettype => 'inet', proargtypes => 'inet inet',
4142  prosrc => 'inetor' },
4143{ oid => '2630',
4144  proname => 'inetpl', prorettype => 'inet', proargtypes => 'inet int8',
4145  prosrc => 'inetpl' },
4146{ oid => '2631',
4147  proname => 'int8pl_inet', prolang => 'sql', prorettype => 'inet',
4148  proargtypes => 'int8 inet', prosrc => 'see system_functions.sql' },
4149{ oid => '2632',
4150  proname => 'inetmi_int8', prorettype => 'inet', proargtypes => 'inet int8',
4151  prosrc => 'inetmi_int8' },
4152{ oid => '2633',
4153  proname => 'inetmi', prorettype => 'int8', proargtypes => 'inet inet',
4154  prosrc => 'inetmi' },
4155{ oid => '4071', descr => 'are the addresses from the same family?',
4156  proname => 'inet_same_family', prorettype => 'bool',
4157  proargtypes => 'inet inet', prosrc => 'inet_same_family' },
4158{ oid => '4063',
4159  descr => 'the smallest network which includes both of the given networks',
4160  proname => 'inet_merge', prorettype => 'cidr', proargtypes => 'inet inet',
4161  prosrc => 'inet_merge' },
4162
4163# GiST support for inet and cidr
4164{ oid => '3553', descr => 'GiST support',
4165  proname => 'inet_gist_consistent', prorettype => 'bool',
4166  proargtypes => 'internal inet int2 oid internal',
4167  prosrc => 'inet_gist_consistent' },
4168{ oid => '3554', descr => 'GiST support',
4169  proname => 'inet_gist_union', prorettype => 'inet',
4170  proargtypes => 'internal internal', prosrc => 'inet_gist_union' },
4171{ oid => '3555', descr => 'GiST support',
4172  proname => 'inet_gist_compress', prorettype => 'internal',
4173  proargtypes => 'internal', prosrc => 'inet_gist_compress' },
4174{ oid => '3573', descr => 'GiST support',
4175  proname => 'inet_gist_fetch', prorettype => 'internal',
4176  proargtypes => 'internal', prosrc => 'inet_gist_fetch' },
4177{ oid => '3557', descr => 'GiST support',
4178  proname => 'inet_gist_penalty', prorettype => 'internal',
4179  proargtypes => 'internal internal internal', prosrc => 'inet_gist_penalty' },
4180{ oid => '3558', descr => 'GiST support',
4181  proname => 'inet_gist_picksplit', prorettype => 'internal',
4182  proargtypes => 'internal internal', prosrc => 'inet_gist_picksplit' },
4183{ oid => '3559', descr => 'GiST support',
4184  proname => 'inet_gist_same', prorettype => 'internal',
4185  proargtypes => 'inet inet internal', prosrc => 'inet_gist_same' },
4186
4187# SP-GiST support for inet and cidr
4188{ oid => '3795', descr => 'SP-GiST support',
4189  proname => 'inet_spg_config', prorettype => 'void',
4190  proargtypes => 'internal internal', prosrc => 'inet_spg_config' },
4191{ oid => '3796', descr => 'SP-GiST support',
4192  proname => 'inet_spg_choose', prorettype => 'void',
4193  proargtypes => 'internal internal', prosrc => 'inet_spg_choose' },
4194{ oid => '3797', descr => 'SP-GiST support',
4195  proname => 'inet_spg_picksplit', prorettype => 'void',
4196  proargtypes => 'internal internal', prosrc => 'inet_spg_picksplit' },
4197{ oid => '3798', descr => 'SP-GiST support',
4198  proname => 'inet_spg_inner_consistent', prorettype => 'void',
4199  proargtypes => 'internal internal', prosrc => 'inet_spg_inner_consistent' },
4200{ oid => '3799', descr => 'SP-GiST support',
4201  proname => 'inet_spg_leaf_consistent', prorettype => 'bool',
4202  proargtypes => 'internal internal', prosrc => 'inet_spg_leaf_consistent' },
4203
4204# Selectivity estimation for inet and cidr
4205{ oid => '3560', descr => 'restriction selectivity for network operators',
4206  proname => 'networksel', provolatile => 's', prorettype => 'float8',
4207  proargtypes => 'internal oid internal int4', prosrc => 'networksel' },
4208{ oid => '3561', descr => 'join selectivity for network operators',
4209  proname => 'networkjoinsel', provolatile => 's', prorettype => 'float8',
4210  proargtypes => 'internal oid internal int2 internal',
4211  prosrc => 'networkjoinsel' },
4212
4213{ oid => '1690',
4214  proname => 'time_mi_time', prorettype => 'interval',
4215  proargtypes => 'time time', prosrc => 'time_mi_time' },
4216
4217{ oid => '1691',
4218  proname => 'boolle', proleakproof => 't', prorettype => 'bool',
4219  proargtypes => 'bool bool', prosrc => 'boolle' },
4220{ oid => '1692',
4221  proname => 'boolge', proleakproof => 't', prorettype => 'bool',
4222  proargtypes => 'bool bool', prosrc => 'boolge' },
4223{ oid => '1693', descr => 'less-equal-greater',
4224  proname => 'btboolcmp', proleakproof => 't', prorettype => 'int4',
4225  proargtypes => 'bool bool', prosrc => 'btboolcmp' },
4226
4227{ oid => '1688', descr => 'hash',
4228  proname => 'time_hash', prorettype => 'int4', proargtypes => 'time',
4229  prosrc => 'time_hash' },
4230{ oid => '3409', descr => 'hash',
4231  proname => 'time_hash_extended', prorettype => 'int8',
4232  proargtypes => 'time int8', prosrc => 'time_hash_extended' },
4233{ oid => '1696', descr => 'hash',
4234  proname => 'timetz_hash', prorettype => 'int4', proargtypes => 'timetz',
4235  prosrc => 'timetz_hash' },
4236{ oid => '3410', descr => 'hash',
4237  proname => 'timetz_hash_extended', prorettype => 'int8',
4238  proargtypes => 'timetz int8', prosrc => 'timetz_hash_extended' },
4239{ oid => '1697', descr => 'hash',
4240  proname => 'interval_hash', prorettype => 'int4', proargtypes => 'interval',
4241  prosrc => 'interval_hash' },
4242{ oid => '3418', descr => 'hash',
4243  proname => 'interval_hash_extended', prorettype => 'int8',
4244  proargtypes => 'interval int8', prosrc => 'interval_hash_extended' },
4245
4246# OID's 1700 - 1799 NUMERIC data type
4247
4248{ oid => '1701', descr => 'I/O',
4249  proname => 'numeric_in', prorettype => 'numeric',
4250  proargtypes => 'cstring oid int4', prosrc => 'numeric_in' },
4251{ oid => '1702', descr => 'I/O',
4252  proname => 'numeric_out', prorettype => 'cstring', proargtypes => 'numeric',
4253  prosrc => 'numeric_out' },
4254{ oid => '2917', descr => 'I/O typmod',
4255  proname => 'numerictypmodin', prorettype => 'int4', proargtypes => '_cstring',
4256  prosrc => 'numerictypmodin' },
4257{ oid => '2918', descr => 'I/O typmod',
4258  proname => 'numerictypmodout', prorettype => 'cstring', proargtypes => 'int4',
4259  prosrc => 'numerictypmodout' },
4260{ oid => '3157', descr => 'planner support for numeric length coercion',
4261  proname => 'numeric_support', prorettype => 'internal',
4262  proargtypes => 'internal', prosrc => 'numeric_support' },
4263{ oid => '1703', descr => 'adjust numeric to typmod precision/scale',
4264  proname => 'numeric', prosupport => 'numeric_support',
4265  prorettype => 'numeric', proargtypes => 'numeric int4', prosrc => 'numeric' },
4266{ oid => '1704',
4267  proname => 'numeric_abs', prorettype => 'numeric', proargtypes => 'numeric',
4268  prosrc => 'numeric_abs' },
4269{ oid => '1705', descr => 'absolute value',
4270  proname => 'abs', prorettype => 'numeric', proargtypes => 'numeric',
4271  prosrc => 'numeric_abs' },
4272{ oid => '1706', descr => 'sign of value',
4273  proname => 'sign', prorettype => 'numeric', proargtypes => 'numeric',
4274  prosrc => 'numeric_sign' },
4275{ oid => '1707', descr => 'value rounded to \'scale\'',
4276  proname => 'round', prorettype => 'numeric', proargtypes => 'numeric int4',
4277  prosrc => 'numeric_round' },
4278{ oid => '1708', descr => 'value rounded to \'scale\' of zero',
4279  proname => 'round', prolang => 'sql', prorettype => 'numeric',
4280  proargtypes => 'numeric', prosrc => 'see system_functions.sql' },
4281{ oid => '1709', descr => 'value truncated to \'scale\'',
4282  proname => 'trunc', prorettype => 'numeric', proargtypes => 'numeric int4',
4283  prosrc => 'numeric_trunc' },
4284{ oid => '1710', descr => 'value truncated to \'scale\' of zero',
4285  proname => 'trunc', prolang => 'sql', prorettype => 'numeric',
4286  proargtypes => 'numeric', prosrc => 'see system_functions.sql' },
4287{ oid => '1711', descr => 'nearest integer >= value',
4288  proname => 'ceil', prorettype => 'numeric', proargtypes => 'numeric',
4289  prosrc => 'numeric_ceil' },
4290{ oid => '2167', descr => 'nearest integer >= value',
4291  proname => 'ceiling', prorettype => 'numeric', proargtypes => 'numeric',
4292  prosrc => 'numeric_ceil' },
4293{ oid => '1712', descr => 'nearest integer <= value',
4294  proname => 'floor', prorettype => 'numeric', proargtypes => 'numeric',
4295  prosrc => 'numeric_floor' },
4296{ oid => '1718',
4297  proname => 'numeric_eq', prorettype => 'bool',
4298  proargtypes => 'numeric numeric', prosrc => 'numeric_eq' },
4299{ oid => '1719',
4300  proname => 'numeric_ne', prorettype => 'bool',
4301  proargtypes => 'numeric numeric', prosrc => 'numeric_ne' },
4302{ oid => '1720',
4303  proname => 'numeric_gt', prorettype => 'bool',
4304  proargtypes => 'numeric numeric', prosrc => 'numeric_gt' },
4305{ oid => '1721',
4306  proname => 'numeric_ge', prorettype => 'bool',
4307  proargtypes => 'numeric numeric', prosrc => 'numeric_ge' },
4308{ oid => '1722',
4309  proname => 'numeric_lt', prorettype => 'bool',
4310  proargtypes => 'numeric numeric', prosrc => 'numeric_lt' },
4311{ oid => '1723',
4312  proname => 'numeric_le', prorettype => 'bool',
4313  proargtypes => 'numeric numeric', prosrc => 'numeric_le' },
4314{ oid => '1724',
4315  proname => 'numeric_add', prorettype => 'numeric',
4316  proargtypes => 'numeric numeric', prosrc => 'numeric_add' },
4317{ oid => '1725',
4318  proname => 'numeric_sub', prorettype => 'numeric',
4319  proargtypes => 'numeric numeric', prosrc => 'numeric_sub' },
4320{ oid => '1726',
4321  proname => 'numeric_mul', prorettype => 'numeric',
4322  proargtypes => 'numeric numeric', prosrc => 'numeric_mul' },
4323{ oid => '1727',
4324  proname => 'numeric_div', prorettype => 'numeric',
4325  proargtypes => 'numeric numeric', prosrc => 'numeric_div' },
4326{ oid => '1728', descr => 'modulus',
4327  proname => 'mod', prorettype => 'numeric', proargtypes => 'numeric numeric',
4328  prosrc => 'numeric_mod' },
4329{ oid => '1729',
4330  proname => 'numeric_mod', prorettype => 'numeric',
4331  proargtypes => 'numeric numeric', prosrc => 'numeric_mod' },
4332{ oid => '5048', descr => 'greatest common divisor',
4333  proname => 'gcd', prorettype => 'numeric', proargtypes => 'numeric numeric',
4334  prosrc => 'numeric_gcd' },
4335{ oid => '5049', descr => 'least common multiple',
4336  proname => 'lcm', prorettype => 'numeric', proargtypes => 'numeric numeric',
4337  prosrc => 'numeric_lcm' },
4338{ oid => '1730', descr => 'square root',
4339  proname => 'sqrt', prorettype => 'numeric', proargtypes => 'numeric',
4340  prosrc => 'numeric_sqrt' },
4341{ oid => '1731', descr => 'square root',
4342  proname => 'numeric_sqrt', prorettype => 'numeric', proargtypes => 'numeric',
4343  prosrc => 'numeric_sqrt' },
4344{ oid => '1732', descr => 'natural exponential (e^x)',
4345  proname => 'exp', prorettype => 'numeric', proargtypes => 'numeric',
4346  prosrc => 'numeric_exp' },
4347{ oid => '1733', descr => 'natural exponential (e^x)',
4348  proname => 'numeric_exp', prorettype => 'numeric', proargtypes => 'numeric',
4349  prosrc => 'numeric_exp' },
4350{ oid => '1734', descr => 'natural logarithm',
4351  proname => 'ln', prorettype => 'numeric', proargtypes => 'numeric',
4352  prosrc => 'numeric_ln' },
4353{ oid => '1735', descr => 'natural logarithm',
4354  proname => 'numeric_ln', prorettype => 'numeric', proargtypes => 'numeric',
4355  prosrc => 'numeric_ln' },
4356{ oid => '1736', descr => 'logarithm base m of n',
4357  proname => 'log', prorettype => 'numeric', proargtypes => 'numeric numeric',
4358  prosrc => 'numeric_log' },
4359{ oid => '1737', descr => 'logarithm base m of n',
4360  proname => 'numeric_log', prorettype => 'numeric',
4361  proargtypes => 'numeric numeric', prosrc => 'numeric_log' },
4362{ oid => '1738', descr => 'exponentiation',
4363  proname => 'pow', prorettype => 'numeric', proargtypes => 'numeric numeric',
4364  prosrc => 'numeric_power' },
4365{ oid => '2169', descr => 'exponentiation',
4366  proname => 'power', prorettype => 'numeric', proargtypes => 'numeric numeric',
4367  prosrc => 'numeric_power' },
4368{ oid => '1739',
4369  proname => 'numeric_power', prorettype => 'numeric',
4370  proargtypes => 'numeric numeric', prosrc => 'numeric_power' },
4371{ oid => '3281', descr => 'number of decimal digits in the fractional part',
4372  proname => 'scale', prorettype => 'int4', proargtypes => 'numeric',
4373  prosrc => 'numeric_scale' },
4374{ oid => '5042', descr => 'minimum scale needed to represent the value',
4375  proname => 'min_scale', prorettype => 'int4', proargtypes => 'numeric',
4376  prosrc => 'numeric_min_scale' },
4377{ oid => '5043',
4378  descr => 'numeric with minimum scale needed to represent the value',
4379  proname => 'trim_scale', prorettype => 'numeric', proargtypes => 'numeric',
4380  prosrc => 'numeric_trim_scale' },
4381{ oid => '1740', descr => 'convert int4 to numeric',
4382  proname => 'numeric', proleakproof => 't', prorettype => 'numeric',
4383  proargtypes => 'int4', prosrc => 'int4_numeric' },
4384{ oid => '1741', descr => 'base 10 logarithm',
4385  proname => 'log', prolang => 'sql', prorettype => 'numeric',
4386  proargtypes => 'numeric', prosrc => 'see system_functions.sql' },
4387{ oid => '1481', descr => 'base 10 logarithm',
4388  proname => 'log10', prolang => 'sql', prorettype => 'numeric',
4389  proargtypes => 'numeric', prosrc => 'see system_functions.sql' },
4390{ oid => '1742', descr => 'convert float4 to numeric',
4391  proname => 'numeric', proleakproof => 't', prorettype => 'numeric',
4392  proargtypes => 'float4', prosrc => 'float4_numeric' },
4393{ oid => '1743', descr => 'convert float8 to numeric',
4394  proname => 'numeric', proleakproof => 't', prorettype => 'numeric',
4395  proargtypes => 'float8', prosrc => 'float8_numeric' },
4396{ oid => '1744', descr => 'convert numeric to int4',
4397  proname => 'int4', prorettype => 'int4', proargtypes => 'numeric',
4398  prosrc => 'numeric_int4' },
4399{ oid => '1745', descr => 'convert numeric to float4',
4400  proname => 'float4', prorettype => 'float4', proargtypes => 'numeric',
4401  prosrc => 'numeric_float4' },
4402{ oid => '1746', descr => 'convert numeric to float8',
4403  proname => 'float8', prorettype => 'float8', proargtypes => 'numeric',
4404  prosrc => 'numeric_float8' },
4405{ oid => '1973', descr => 'trunc(x/y)',
4406  proname => 'div', prorettype => 'numeric', proargtypes => 'numeric numeric',
4407  prosrc => 'numeric_div_trunc' },
4408{ oid => '1980', descr => 'trunc(x/y)',
4409  proname => 'numeric_div_trunc', prorettype => 'numeric',
4410  proargtypes => 'numeric numeric', prosrc => 'numeric_div_trunc' },
4411{ oid => '2170', descr => 'bucket number of operand in equal-width histogram',
4412  proname => 'width_bucket', prorettype => 'int4',
4413  proargtypes => 'numeric numeric numeric int4',
4414  prosrc => 'width_bucket_numeric' },
4415
4416{ oid => '1747',
4417  proname => 'time_pl_interval', prorettype => 'time',
4418  proargtypes => 'time interval', prosrc => 'time_pl_interval' },
4419{ oid => '1748',
4420  proname => 'time_mi_interval', prorettype => 'time',
4421  proargtypes => 'time interval', prosrc => 'time_mi_interval' },
4422{ oid => '1749',
4423  proname => 'timetz_pl_interval', prorettype => 'timetz',
4424  proargtypes => 'timetz interval', prosrc => 'timetz_pl_interval' },
4425{ oid => '1750',
4426  proname => 'timetz_mi_interval', prorettype => 'timetz',
4427  proargtypes => 'timetz interval', prosrc => 'timetz_mi_interval' },
4428
4429{ oid => '1764', descr => 'increment by one',
4430  proname => 'numeric_inc', prorettype => 'numeric', proargtypes => 'numeric',
4431  prosrc => 'numeric_inc' },
4432{ oid => '1766', descr => 'smaller of two',
4433  proname => 'numeric_smaller', prorettype => 'numeric',
4434  proargtypes => 'numeric numeric', prosrc => 'numeric_smaller' },
4435{ oid => '1767', descr => 'larger of two',
4436  proname => 'numeric_larger', prorettype => 'numeric',
4437  proargtypes => 'numeric numeric', prosrc => 'numeric_larger' },
4438{ oid => '1769', descr => 'less-equal-greater',
4439  proname => 'numeric_cmp', prorettype => 'int4',
4440  proargtypes => 'numeric numeric', prosrc => 'numeric_cmp' },
4441{ oid => '3283', descr => 'sort support',
4442  proname => 'numeric_sortsupport', prorettype => 'void',
4443  proargtypes => 'internal', prosrc => 'numeric_sortsupport' },
4444{ oid => '1771',
4445  proname => 'numeric_uminus', prorettype => 'numeric',
4446  proargtypes => 'numeric', prosrc => 'numeric_uminus' },
4447{ oid => '1779', descr => 'convert numeric to int8',
4448  proname => 'int8', prorettype => 'int8', proargtypes => 'numeric',
4449  prosrc => 'numeric_int8' },
4450{ oid => '1781', descr => 'convert int8 to numeric',
4451  proname => 'numeric', proleakproof => 't', prorettype => 'numeric',
4452  proargtypes => 'int8', prosrc => 'int8_numeric' },
4453{ oid => '1782', descr => 'convert int2 to numeric',
4454  proname => 'numeric', proleakproof => 't', prorettype => 'numeric',
4455  proargtypes => 'int2', prosrc => 'int2_numeric' },
4456{ oid => '1783', descr => 'convert numeric to int2',
4457  proname => 'int2', prorettype => 'int2', proargtypes => 'numeric',
4458  prosrc => 'numeric_int2' },
4459{ oid => '6103', descr => 'convert numeric to pg_lsn',
4460  proname => 'pg_lsn', prorettype => 'pg_lsn', proargtypes => 'numeric',
4461  prosrc => 'numeric_pg_lsn' },
4462
4463{ oid => '3556', descr => 'convert jsonb to boolean',
4464  proname => 'bool', prorettype => 'bool', proargtypes => 'jsonb',
4465  prosrc => 'jsonb_bool' },
4466{ oid => '3449', descr => 'convert jsonb to numeric',
4467  proname => 'numeric', prorettype => 'numeric', proargtypes => 'jsonb',
4468  prosrc => 'jsonb_numeric' },
4469{ oid => '3450', descr => 'convert jsonb to int2',
4470  proname => 'int2', prorettype => 'int2', proargtypes => 'jsonb',
4471  prosrc => 'jsonb_int2' },
4472{ oid => '3451', descr => 'convert jsonb to int4',
4473  proname => 'int4', prorettype => 'int4', proargtypes => 'jsonb',
4474  prosrc => 'jsonb_int4' },
4475{ oid => '3452', descr => 'convert jsonb to int8',
4476  proname => 'int8', prorettype => 'int8', proargtypes => 'jsonb',
4477  prosrc => 'jsonb_int8' },
4478{ oid => '3453', descr => 'convert jsonb to float4',
4479  proname => 'float4', prorettype => 'float4', proargtypes => 'jsonb',
4480  prosrc => 'jsonb_float4' },
4481{ oid => '2580', descr => 'convert jsonb to float8',
4482  proname => 'float8', prorettype => 'float8', proargtypes => 'jsonb',
4483  prosrc => 'jsonb_float8' },
4484
4485# formatting
4486{ oid => '1770', descr => 'format timestamp with time zone to text',
4487  proname => 'to_char', provolatile => 's', prorettype => 'text',
4488  proargtypes => 'timestamptz text', prosrc => 'timestamptz_to_char' },
4489{ oid => '1772', descr => 'format numeric to text',
4490  proname => 'to_char', provolatile => 's', prorettype => 'text',
4491  proargtypes => 'numeric text', prosrc => 'numeric_to_char' },
4492{ oid => '1773', descr => 'format int4 to text',
4493  proname => 'to_char', provolatile => 's', prorettype => 'text',
4494  proargtypes => 'int4 text', prosrc => 'int4_to_char' },
4495{ oid => '1774', descr => 'format int8 to text',
4496  proname => 'to_char', provolatile => 's', prorettype => 'text',
4497  proargtypes => 'int8 text', prosrc => 'int8_to_char' },
4498{ oid => '1775', descr => 'format float4 to text',
4499  proname => 'to_char', provolatile => 's', prorettype => 'text',
4500  proargtypes => 'float4 text', prosrc => 'float4_to_char' },
4501{ oid => '1776', descr => 'format float8 to text',
4502  proname => 'to_char', provolatile => 's', prorettype => 'text',
4503  proargtypes => 'float8 text', prosrc => 'float8_to_char' },
4504{ oid => '1777', descr => 'convert text to numeric',
4505  proname => 'to_number', provolatile => 's', prorettype => 'numeric',
4506  proargtypes => 'text text', prosrc => 'numeric_to_number' },
4507{ oid => '1778', descr => 'convert text to timestamp with time zone',
4508  proname => 'to_timestamp', provolatile => 's', prorettype => 'timestamptz',
4509  proargtypes => 'text text', prosrc => 'to_timestamp' },
4510{ oid => '1780', descr => 'convert text to date',
4511  proname => 'to_date', provolatile => 's', prorettype => 'date',
4512  proargtypes => 'text text', prosrc => 'to_date' },
4513{ oid => '1768', descr => 'format interval to text',
4514  proname => 'to_char', provolatile => 's', prorettype => 'text',
4515  proargtypes => 'interval text', prosrc => 'interval_to_char' },
4516
4517{ oid => '1282', descr => 'quote an identifier for usage in a querystring',
4518  proname => 'quote_ident', prorettype => 'text', proargtypes => 'text',
4519  prosrc => 'quote_ident' },
4520{ oid => '1283', descr => 'quote a literal for usage in a querystring',
4521  proname => 'quote_literal', prorettype => 'text', proargtypes => 'text',
4522  prosrc => 'quote_literal' },
4523{ oid => '1285', descr => 'quote a data value for usage in a querystring',
4524  proname => 'quote_literal', prolang => 'sql', provolatile => 's',
4525  prorettype => 'text', proargtypes => 'anyelement',
4526  prosrc => 'select pg_catalog.quote_literal($1::pg_catalog.text)' },
4527{ oid => '1289',
4528  descr => 'quote a possibly-null literal for usage in a querystring',
4529  proname => 'quote_nullable', proisstrict => 'f', prorettype => 'text',
4530  proargtypes => 'text', prosrc => 'quote_nullable' },
4531{ oid => '1290',
4532  descr => 'quote a possibly-null data value for usage in a querystring',
4533  proname => 'quote_nullable', prolang => 'sql', proisstrict => 'f',
4534  provolatile => 's', prorettype => 'text', proargtypes => 'anyelement',
4535  prosrc => 'select pg_catalog.quote_nullable($1::pg_catalog.text)' },
4536
4537{ oid => '1798', descr => 'I/O',
4538  proname => 'oidin', prorettype => 'oid', proargtypes => 'cstring',
4539  prosrc => 'oidin' },
4540{ oid => '1799', descr => 'I/O',
4541  proname => 'oidout', prorettype => 'cstring', proargtypes => 'oid',
4542  prosrc => 'oidout' },
4543
4544{ oid => '3058', descr => 'concatenate values',
4545  proname => 'concat', provariadic => 'any', proisstrict => 'f',
4546  provolatile => 's', prorettype => 'text', proargtypes => 'any',
4547  proallargtypes => '{any}', proargmodes => '{v}', prosrc => 'text_concat' },
4548{ oid => '3059', descr => 'concatenate values with separators',
4549  proname => 'concat_ws', provariadic => 'any', proisstrict => 'f',
4550  provolatile => 's', prorettype => 'text', proargtypes => 'text any',
4551  proallargtypes => '{text,any}', proargmodes => '{i,v}',
4552  prosrc => 'text_concat_ws' },
4553{ oid => '3060', descr => 'extract the first n characters',
4554  proname => 'left', prorettype => 'text', proargtypes => 'text int4',
4555  prosrc => 'text_left' },
4556{ oid => '3061', descr => 'extract the last n characters',
4557  proname => 'right', prorettype => 'text', proargtypes => 'text int4',
4558  prosrc => 'text_right' },
4559{ oid => '3062', descr => 'reverse text',
4560  proname => 'reverse', prorettype => 'text', proargtypes => 'text',
4561  prosrc => 'text_reverse' },
4562{ oid => '3539', descr => 'format text message',
4563  proname => 'format', provariadic => 'any', proisstrict => 'f',
4564  provolatile => 's', prorettype => 'text', proargtypes => 'text any',
4565  proallargtypes => '{text,any}', proargmodes => '{i,v}',
4566  prosrc => 'text_format' },
4567{ oid => '3540', descr => 'format text message',
4568  proname => 'format', proisstrict => 'f', provolatile => 's',
4569  prorettype => 'text', proargtypes => 'text', prosrc => 'text_format_nv' },
4570
4571{ oid => '1810', descr => 'length in bits',
4572  proname => 'bit_length', prolang => 'sql', prorettype => 'int4',
4573  proargtypes => 'bytea', prosrc => 'see system_functions.sql' },
4574{ oid => '1811', descr => 'length in bits',
4575  proname => 'bit_length', prolang => 'sql', prorettype => 'int4',
4576  proargtypes => 'text', prosrc => 'see system_functions.sql' },
4577{ oid => '1812', descr => 'length in bits',
4578  proname => 'bit_length', prolang => 'sql', prorettype => 'int4',
4579  proargtypes => 'bit', prosrc => 'see system_functions.sql' },
4580
4581# Selectivity estimators for LIKE and related operators
4582{ oid => '1814', descr => 'restriction selectivity of ILIKE',
4583  proname => 'iclikesel', provolatile => 's', prorettype => 'float8',
4584  proargtypes => 'internal oid internal int4', prosrc => 'iclikesel' },
4585{ oid => '1815', descr => 'restriction selectivity of NOT ILIKE',
4586  proname => 'icnlikesel', provolatile => 's', prorettype => 'float8',
4587  proargtypes => 'internal oid internal int4', prosrc => 'icnlikesel' },
4588{ oid => '1816', descr => 'join selectivity of ILIKE',
4589  proname => 'iclikejoinsel', provolatile => 's', prorettype => 'float8',
4590  proargtypes => 'internal oid internal int2 internal',
4591  prosrc => 'iclikejoinsel' },
4592{ oid => '1817', descr => 'join selectivity of NOT ILIKE',
4593  proname => 'icnlikejoinsel', provolatile => 's', prorettype => 'float8',
4594  proargtypes => 'internal oid internal int2 internal',
4595  prosrc => 'icnlikejoinsel' },
4596{ oid => '1818', descr => 'restriction selectivity of regex match',
4597  proname => 'regexeqsel', provolatile => 's', prorettype => 'float8',
4598  proargtypes => 'internal oid internal int4', prosrc => 'regexeqsel' },
4599{ oid => '1819', descr => 'restriction selectivity of LIKE',
4600  proname => 'likesel', provolatile => 's', prorettype => 'float8',
4601  proargtypes => 'internal oid internal int4', prosrc => 'likesel' },
4602{ oid => '1820',
4603  descr => 'restriction selectivity of case-insensitive regex match',
4604  proname => 'icregexeqsel', provolatile => 's', prorettype => 'float8',
4605  proargtypes => 'internal oid internal int4', prosrc => 'icregexeqsel' },
4606{ oid => '1821', descr => 'restriction selectivity of regex non-match',
4607  proname => 'regexnesel', provolatile => 's', prorettype => 'float8',
4608  proargtypes => 'internal oid internal int4', prosrc => 'regexnesel' },
4609{ oid => '1822', descr => 'restriction selectivity of NOT LIKE',
4610  proname => 'nlikesel', provolatile => 's', prorettype => 'float8',
4611  proargtypes => 'internal oid internal int4', prosrc => 'nlikesel' },
4612{ oid => '1823',
4613  descr => 'restriction selectivity of case-insensitive regex non-match',
4614  proname => 'icregexnesel', provolatile => 's', prorettype => 'float8',
4615  proargtypes => 'internal oid internal int4', prosrc => 'icregexnesel' },
4616{ oid => '1824', descr => 'join selectivity of regex match',
4617  proname => 'regexeqjoinsel', provolatile => 's', prorettype => 'float8',
4618  proargtypes => 'internal oid internal int2 internal',
4619  prosrc => 'regexeqjoinsel' },
4620{ oid => '1825', descr => 'join selectivity of LIKE',
4621  proname => 'likejoinsel', provolatile => 's', prorettype => 'float8',
4622  proargtypes => 'internal oid internal int2 internal',
4623  prosrc => 'likejoinsel' },
4624{ oid => '1826', descr => 'join selectivity of case-insensitive regex match',
4625  proname => 'icregexeqjoinsel', provolatile => 's', prorettype => 'float8',
4626  proargtypes => 'internal oid internal int2 internal',
4627  prosrc => 'icregexeqjoinsel' },
4628{ oid => '1827', descr => 'join selectivity of regex non-match',
4629  proname => 'regexnejoinsel', provolatile => 's', prorettype => 'float8',
4630  proargtypes => 'internal oid internal int2 internal',
4631  prosrc => 'regexnejoinsel' },
4632{ oid => '1828', descr => 'join selectivity of NOT LIKE',
4633  proname => 'nlikejoinsel', provolatile => 's', prorettype => 'float8',
4634  proargtypes => 'internal oid internal int2 internal',
4635  prosrc => 'nlikejoinsel' },
4636{ oid => '1829',
4637  descr => 'join selectivity of case-insensitive regex non-match',
4638  proname => 'icregexnejoinsel', provolatile => 's', prorettype => 'float8',
4639  proargtypes => 'internal oid internal int2 internal',
4640  prosrc => 'icregexnejoinsel' },
4641{ oid => '3437', descr => 'restriction selectivity of exact prefix',
4642  proname => 'prefixsel', provolatile => 's', prorettype => 'float8',
4643  proargtypes => 'internal oid internal int4', prosrc => 'prefixsel' },
4644{ oid => '3438', descr => 'join selectivity of exact prefix',
4645  proname => 'prefixjoinsel', provolatile => 's', prorettype => 'float8',
4646  proargtypes => 'internal oid internal int2 internal',
4647  prosrc => 'prefixjoinsel' },
4648
4649# Aggregate-related functions
4650{ oid => '1830', descr => 'aggregate final function',
4651  proname => 'float8_avg', prorettype => 'float8', proargtypes => '_float8',
4652  prosrc => 'float8_avg' },
4653{ oid => '2512', descr => 'aggregate final function',
4654  proname => 'float8_var_pop', prorettype => 'float8', proargtypes => '_float8',
4655  prosrc => 'float8_var_pop' },
4656{ oid => '1831', descr => 'aggregate final function',
4657  proname => 'float8_var_samp', prorettype => 'float8',
4658  proargtypes => '_float8', prosrc => 'float8_var_samp' },
4659{ oid => '2513', descr => 'aggregate final function',
4660  proname => 'float8_stddev_pop', prorettype => 'float8',
4661  proargtypes => '_float8', prosrc => 'float8_stddev_pop' },
4662{ oid => '1832', descr => 'aggregate final function',
4663  proname => 'float8_stddev_samp', prorettype => 'float8',
4664  proargtypes => '_float8', prosrc => 'float8_stddev_samp' },
4665{ oid => '1833', descr => 'aggregate transition function',
4666  proname => 'numeric_accum', proisstrict => 'f', prorettype => 'internal',
4667  proargtypes => 'internal numeric', prosrc => 'numeric_accum' },
4668{ oid => '3341', descr => 'aggregate combine function',
4669  proname => 'numeric_combine', proisstrict => 'f', prorettype => 'internal',
4670  proargtypes => 'internal internal', prosrc => 'numeric_combine' },
4671{ oid => '2858', descr => 'aggregate transition function',
4672  proname => 'numeric_avg_accum', proisstrict => 'f', prorettype => 'internal',
4673  proargtypes => 'internal numeric', prosrc => 'numeric_avg_accum' },
4674{ oid => '3337', descr => 'aggregate combine function',
4675  proname => 'numeric_avg_combine', proisstrict => 'f',
4676  prorettype => 'internal', proargtypes => 'internal internal',
4677  prosrc => 'numeric_avg_combine' },
4678{ oid => '2740', descr => 'aggregate serial function',
4679  proname => 'numeric_avg_serialize', prorettype => 'bytea',
4680  proargtypes => 'internal', prosrc => 'numeric_avg_serialize' },
4681{ oid => '2741', descr => 'aggregate deserial function',
4682  proname => 'numeric_avg_deserialize', prorettype => 'internal',
4683  proargtypes => 'bytea internal', prosrc => 'numeric_avg_deserialize' },
4684{ oid => '3335', descr => 'aggregate serial function',
4685  proname => 'numeric_serialize', prorettype => 'bytea',
4686  proargtypes => 'internal', prosrc => 'numeric_serialize' },
4687{ oid => '3336', descr => 'aggregate deserial function',
4688  proname => 'numeric_deserialize', prorettype => 'internal',
4689  proargtypes => 'bytea internal', prosrc => 'numeric_deserialize' },
4690{ oid => '3548', descr => 'aggregate transition function',
4691  proname => 'numeric_accum_inv', proisstrict => 'f', prorettype => 'internal',
4692  proargtypes => 'internal numeric', prosrc => 'numeric_accum_inv' },
4693{ oid => '1834', descr => 'aggregate transition function',
4694  proname => 'int2_accum', proisstrict => 'f', prorettype => 'internal',
4695  proargtypes => 'internal int2', prosrc => 'int2_accum' },
4696{ oid => '1835', descr => 'aggregate transition function',
4697  proname => 'int4_accum', proisstrict => 'f', prorettype => 'internal',
4698  proargtypes => 'internal int4', prosrc => 'int4_accum' },
4699{ oid => '1836', descr => 'aggregate transition function',
4700  proname => 'int8_accum', proisstrict => 'f', prorettype => 'internal',
4701  proargtypes => 'internal int8', prosrc => 'int8_accum' },
4702{ oid => '3338', descr => 'aggregate combine function',
4703  proname => 'numeric_poly_combine', proisstrict => 'f',
4704  prorettype => 'internal', proargtypes => 'internal internal',
4705  prosrc => 'numeric_poly_combine' },
4706{ oid => '3339', descr => 'aggregate serial function',
4707  proname => 'numeric_poly_serialize', prorettype => 'bytea',
4708  proargtypes => 'internal', prosrc => 'numeric_poly_serialize' },
4709{ oid => '3340', descr => 'aggregate deserial function',
4710  proname => 'numeric_poly_deserialize', prorettype => 'internal',
4711  proargtypes => 'bytea internal', prosrc => 'numeric_poly_deserialize' },
4712{ oid => '2746', descr => 'aggregate transition function',
4713  proname => 'int8_avg_accum', proisstrict => 'f', prorettype => 'internal',
4714  proargtypes => 'internal int8', prosrc => 'int8_avg_accum' },
4715{ oid => '3567', descr => 'aggregate transition function',
4716  proname => 'int2_accum_inv', proisstrict => 'f', prorettype => 'internal',
4717  proargtypes => 'internal int2', prosrc => 'int2_accum_inv' },
4718{ oid => '3568', descr => 'aggregate transition function',
4719  proname => 'int4_accum_inv', proisstrict => 'f', prorettype => 'internal',
4720  proargtypes => 'internal int4', prosrc => 'int4_accum_inv' },
4721{ oid => '3569', descr => 'aggregate transition function',
4722  proname => 'int8_accum_inv', proisstrict => 'f', prorettype => 'internal',
4723  proargtypes => 'internal int8', prosrc => 'int8_accum_inv' },
4724{ oid => '3387', descr => 'aggregate transition function',
4725  proname => 'int8_avg_accum_inv', proisstrict => 'f', prorettype => 'internal',
4726  proargtypes => 'internal int8', prosrc => 'int8_avg_accum_inv' },
4727{ oid => '2785', descr => 'aggregate combine function',
4728  proname => 'int8_avg_combine', proisstrict => 'f', prorettype => 'internal',
4729  proargtypes => 'internal internal', prosrc => 'int8_avg_combine' },
4730{ oid => '2786', descr => 'aggregate serial function',
4731  proname => 'int8_avg_serialize', prorettype => 'bytea',
4732  proargtypes => 'internal', prosrc => 'int8_avg_serialize' },
4733{ oid => '2787', descr => 'aggregate deserial function',
4734  proname => 'int8_avg_deserialize', prorettype => 'internal',
4735  proargtypes => 'bytea internal', prosrc => 'int8_avg_deserialize' },
4736{ oid => '3324', descr => 'aggregate combine function',
4737  proname => 'int4_avg_combine', prorettype => '_int8',
4738  proargtypes => '_int8 _int8', prosrc => 'int4_avg_combine' },
4739{ oid => '3178', descr => 'aggregate final function',
4740  proname => 'numeric_sum', proisstrict => 'f', prorettype => 'numeric',
4741  proargtypes => 'internal', prosrc => 'numeric_sum' },
4742{ oid => '1837', descr => 'aggregate final function',
4743  proname => 'numeric_avg', proisstrict => 'f', prorettype => 'numeric',
4744  proargtypes => 'internal', prosrc => 'numeric_avg' },
4745{ oid => '2514', descr => 'aggregate final function',
4746  proname => 'numeric_var_pop', proisstrict => 'f', prorettype => 'numeric',
4747  proargtypes => 'internal', prosrc => 'numeric_var_pop' },
4748{ oid => '1838', descr => 'aggregate final function',
4749  proname => 'numeric_var_samp', proisstrict => 'f', prorettype => 'numeric',
4750  proargtypes => 'internal', prosrc => 'numeric_var_samp' },
4751{ oid => '2596', descr => 'aggregate final function',
4752  proname => 'numeric_stddev_pop', proisstrict => 'f', prorettype => 'numeric',
4753  proargtypes => 'internal', prosrc => 'numeric_stddev_pop' },
4754{ oid => '1839', descr => 'aggregate final function',
4755  proname => 'numeric_stddev_samp', proisstrict => 'f', prorettype => 'numeric',
4756  proargtypes => 'internal', prosrc => 'numeric_stddev_samp' },
4757{ oid => '1840', descr => 'aggregate transition function',
4758  proname => 'int2_sum', proisstrict => 'f', prorettype => 'int8',
4759  proargtypes => 'int8 int2', prosrc => 'int2_sum' },
4760{ oid => '1841', descr => 'aggregate transition function',
4761  proname => 'int4_sum', proisstrict => 'f', prorettype => 'int8',
4762  proargtypes => 'int8 int4', prosrc => 'int4_sum' },
4763{ oid => '1842', descr => 'aggregate transition function',
4764  proname => 'int8_sum', proisstrict => 'f', prorettype => 'numeric',
4765  proargtypes => 'numeric int8', prosrc => 'int8_sum' },
4766{ oid => '3388', descr => 'aggregate final function',
4767  proname => 'numeric_poly_sum', proisstrict => 'f', prorettype => 'numeric',
4768  proargtypes => 'internal', prosrc => 'numeric_poly_sum' },
4769{ oid => '3389', descr => 'aggregate final function',
4770  proname => 'numeric_poly_avg', proisstrict => 'f', prorettype => 'numeric',
4771  proargtypes => 'internal', prosrc => 'numeric_poly_avg' },
4772{ oid => '3390', descr => 'aggregate final function',
4773  proname => 'numeric_poly_var_pop', proisstrict => 'f',
4774  prorettype => 'numeric', proargtypes => 'internal',
4775  prosrc => 'numeric_poly_var_pop' },
4776{ oid => '3391', descr => 'aggregate final function',
4777  proname => 'numeric_poly_var_samp', proisstrict => 'f',
4778  prorettype => 'numeric', proargtypes => 'internal',
4779  prosrc => 'numeric_poly_var_samp' },
4780{ oid => '3392', descr => 'aggregate final function',
4781  proname => 'numeric_poly_stddev_pop', proisstrict => 'f',
4782  prorettype => 'numeric', proargtypes => 'internal',
4783  prosrc => 'numeric_poly_stddev_pop' },
4784{ oid => '3393', descr => 'aggregate final function',
4785  proname => 'numeric_poly_stddev_samp', proisstrict => 'f',
4786  prorettype => 'numeric', proargtypes => 'internal',
4787  prosrc => 'numeric_poly_stddev_samp' },
4788
4789{ oid => '1843', descr => 'aggregate transition function',
4790  proname => 'interval_accum', prorettype => '_interval',
4791  proargtypes => '_interval interval', prosrc => 'interval_accum' },
4792{ oid => '3325', descr => 'aggregate combine function',
4793  proname => 'interval_combine', prorettype => '_interval',
4794  proargtypes => '_interval _interval', prosrc => 'interval_combine' },
4795{ oid => '3549', descr => 'aggregate transition function',
4796  proname => 'interval_accum_inv', prorettype => '_interval',
4797  proargtypes => '_interval interval', prosrc => 'interval_accum_inv' },
4798{ oid => '1844', descr => 'aggregate final function',
4799  proname => 'interval_avg', prorettype => 'interval',
4800  proargtypes => '_interval', prosrc => 'interval_avg' },
4801{ oid => '1962', descr => 'aggregate transition function',
4802  proname => 'int2_avg_accum', prorettype => '_int8',
4803  proargtypes => '_int8 int2', prosrc => 'int2_avg_accum' },
4804{ oid => '1963', descr => 'aggregate transition function',
4805  proname => 'int4_avg_accum', prorettype => '_int8',
4806  proargtypes => '_int8 int4', prosrc => 'int4_avg_accum' },
4807{ oid => '3570', descr => 'aggregate transition function',
4808  proname => 'int2_avg_accum_inv', prorettype => '_int8',
4809  proargtypes => '_int8 int2', prosrc => 'int2_avg_accum_inv' },
4810{ oid => '3571', descr => 'aggregate transition function',
4811  proname => 'int4_avg_accum_inv', prorettype => '_int8',
4812  proargtypes => '_int8 int4', prosrc => 'int4_avg_accum_inv' },
4813{ oid => '1964', descr => 'aggregate final function',
4814  proname => 'int8_avg', prorettype => 'numeric', proargtypes => '_int8',
4815  prosrc => 'int8_avg' },
4816{ oid => '3572', descr => 'aggregate final function',
4817  proname => 'int2int4_sum', prorettype => 'int8', proargtypes => '_int8',
4818  prosrc => 'int2int4_sum' },
4819{ oid => '2805', descr => 'aggregate transition function',
4820  proname => 'int8inc_float8_float8', prorettype => 'int8',
4821  proargtypes => 'int8 float8 float8', prosrc => 'int8inc_float8_float8' },
4822{ oid => '2806', descr => 'aggregate transition function',
4823  proname => 'float8_regr_accum', prorettype => '_float8',
4824  proargtypes => '_float8 float8 float8', prosrc => 'float8_regr_accum' },
4825{ oid => '3342', descr => 'aggregate combine function',
4826  proname => 'float8_regr_combine', prorettype => '_float8',
4827  proargtypes => '_float8 _float8', prosrc => 'float8_regr_combine' },
4828{ oid => '2807', descr => 'aggregate final function',
4829  proname => 'float8_regr_sxx', prorettype => 'float8',
4830  proargtypes => '_float8', prosrc => 'float8_regr_sxx' },
4831{ oid => '2808', descr => 'aggregate final function',
4832  proname => 'float8_regr_syy', prorettype => 'float8',
4833  proargtypes => '_float8', prosrc => 'float8_regr_syy' },
4834{ oid => '2809', descr => 'aggregate final function',
4835  proname => 'float8_regr_sxy', prorettype => 'float8',
4836  proargtypes => '_float8', prosrc => 'float8_regr_sxy' },
4837{ oid => '2810', descr => 'aggregate final function',
4838  proname => 'float8_regr_avgx', prorettype => 'float8',
4839  proargtypes => '_float8', prosrc => 'float8_regr_avgx' },
4840{ oid => '2811', descr => 'aggregate final function',
4841  proname => 'float8_regr_avgy', prorettype => 'float8',
4842  proargtypes => '_float8', prosrc => 'float8_regr_avgy' },
4843{ oid => '2812', descr => 'aggregate final function',
4844  proname => 'float8_regr_r2', prorettype => 'float8', proargtypes => '_float8',
4845  prosrc => 'float8_regr_r2' },
4846{ oid => '2813', descr => 'aggregate final function',
4847  proname => 'float8_regr_slope', prorettype => 'float8',
4848  proargtypes => '_float8', prosrc => 'float8_regr_slope' },
4849{ oid => '2814', descr => 'aggregate final function',
4850  proname => 'float8_regr_intercept', prorettype => 'float8',
4851  proargtypes => '_float8', prosrc => 'float8_regr_intercept' },
4852{ oid => '2815', descr => 'aggregate final function',
4853  proname => 'float8_covar_pop', prorettype => 'float8',
4854  proargtypes => '_float8', prosrc => 'float8_covar_pop' },
4855{ oid => '2816', descr => 'aggregate final function',
4856  proname => 'float8_covar_samp', prorettype => 'float8',
4857  proargtypes => '_float8', prosrc => 'float8_covar_samp' },
4858{ oid => '2817', descr => 'aggregate final function',
4859  proname => 'float8_corr', prorettype => 'float8', proargtypes => '_float8',
4860  prosrc => 'float8_corr' },
4861
4862{ oid => '3535', descr => 'aggregate transition function',
4863  proname => 'string_agg_transfn', proisstrict => 'f', prorettype => 'internal',
4864  proargtypes => 'internal text text', prosrc => 'string_agg_transfn' },
4865{ oid => '3536', descr => 'aggregate final function',
4866  proname => 'string_agg_finalfn', proisstrict => 'f', prorettype => 'text',
4867  proargtypes => 'internal', prosrc => 'string_agg_finalfn' },
4868{ oid => '3538', descr => 'concatenate aggregate input into a string',
4869  proname => 'string_agg', prokind => 'a', proisstrict => 'f',
4870  prorettype => 'text', proargtypes => 'text text',
4871  prosrc => 'aggregate_dummy' },
4872{ oid => '3543', descr => 'aggregate transition function',
4873  proname => 'bytea_string_agg_transfn', proisstrict => 'f',
4874  prorettype => 'internal', proargtypes => 'internal bytea bytea',
4875  prosrc => 'bytea_string_agg_transfn' },
4876{ oid => '3544', descr => 'aggregate final function',
4877  proname => 'bytea_string_agg_finalfn', proisstrict => 'f',
4878  prorettype => 'bytea', proargtypes => 'internal',
4879  prosrc => 'bytea_string_agg_finalfn' },
4880{ oid => '3545', descr => 'concatenate aggregate input into a bytea',
4881  proname => 'string_agg', prokind => 'a', proisstrict => 'f',
4882  prorettype => 'bytea', proargtypes => 'bytea bytea',
4883  prosrc => 'aggregate_dummy' },
4884
4885# To ASCII conversion
4886{ oid => '1845', descr => 'encode text from DB encoding to ASCII text',
4887  proname => 'to_ascii', prorettype => 'text', proargtypes => 'text',
4888  prosrc => 'to_ascii_default' },
4889{ oid => '1846', descr => 'encode text from encoding to ASCII text',
4890  proname => 'to_ascii', prorettype => 'text', proargtypes => 'text int4',
4891  prosrc => 'to_ascii_enc' },
4892{ oid => '1847', descr => 'encode text from encoding to ASCII text',
4893  proname => 'to_ascii', prorettype => 'text', proargtypes => 'text name',
4894  prosrc => 'to_ascii_encname' },
4895
4896{ oid => '1848',
4897  proname => 'interval_pl_time', prolang => 'sql', prorettype => 'time',
4898  proargtypes => 'interval time', prosrc => 'see system_functions.sql' },
4899
4900{ oid => '1850',
4901  proname => 'int28eq', proleakproof => 't', prorettype => 'bool',
4902  proargtypes => 'int2 int8', prosrc => 'int28eq' },
4903{ oid => '1851',
4904  proname => 'int28ne', proleakproof => 't', prorettype => 'bool',
4905  proargtypes => 'int2 int8', prosrc => 'int28ne' },
4906{ oid => '1852',
4907  proname => 'int28lt', proleakproof => 't', prorettype => 'bool',
4908  proargtypes => 'int2 int8', prosrc => 'int28lt' },
4909{ oid => '1853',
4910  proname => 'int28gt', proleakproof => 't', prorettype => 'bool',
4911  proargtypes => 'int2 int8', prosrc => 'int28gt' },
4912{ oid => '1854',
4913  proname => 'int28le', proleakproof => 't', prorettype => 'bool',
4914  proargtypes => 'int2 int8', prosrc => 'int28le' },
4915{ oid => '1855',
4916  proname => 'int28ge', proleakproof => 't', prorettype => 'bool',
4917  proargtypes => 'int2 int8', prosrc => 'int28ge' },
4918
4919{ oid => '1856',
4920  proname => 'int82eq', proleakproof => 't', prorettype => 'bool',
4921  proargtypes => 'int8 int2', prosrc => 'int82eq' },
4922{ oid => '1857',
4923  proname => 'int82ne', proleakproof => 't', prorettype => 'bool',
4924  proargtypes => 'int8 int2', prosrc => 'int82ne' },
4925{ oid => '1858',
4926  proname => 'int82lt', proleakproof => 't', prorettype => 'bool',
4927  proargtypes => 'int8 int2', prosrc => 'int82lt' },
4928{ oid => '1859',
4929  proname => 'int82gt', proleakproof => 't', prorettype => 'bool',
4930  proargtypes => 'int8 int2', prosrc => 'int82gt' },
4931{ oid => '1860',
4932  proname => 'int82le', proleakproof => 't', prorettype => 'bool',
4933  proargtypes => 'int8 int2', prosrc => 'int82le' },
4934{ oid => '1861',
4935  proname => 'int82ge', proleakproof => 't', prorettype => 'bool',
4936  proargtypes => 'int8 int2', prosrc => 'int82ge' },
4937
4938{ oid => '1892',
4939  proname => 'int2and', prorettype => 'int2', proargtypes => 'int2 int2',
4940  prosrc => 'int2and' },
4941{ oid => '1893',
4942  proname => 'int2or', prorettype => 'int2', proargtypes => 'int2 int2',
4943  prosrc => 'int2or' },
4944{ oid => '1894',
4945  proname => 'int2xor', prorettype => 'int2', proargtypes => 'int2 int2',
4946  prosrc => 'int2xor' },
4947{ oid => '1895',
4948  proname => 'int2not', prorettype => 'int2', proargtypes => 'int2',
4949  prosrc => 'int2not' },
4950{ oid => '1896',
4951  proname => 'int2shl', prorettype => 'int2', proargtypes => 'int2 int4',
4952  prosrc => 'int2shl' },
4953{ oid => '1897',
4954  proname => 'int2shr', prorettype => 'int2', proargtypes => 'int2 int4',
4955  prosrc => 'int2shr' },
4956
4957{ oid => '1898',
4958  proname => 'int4and', prorettype => 'int4', proargtypes => 'int4 int4',
4959  prosrc => 'int4and' },
4960{ oid => '1899',
4961  proname => 'int4or', prorettype => 'int4', proargtypes => 'int4 int4',
4962  prosrc => 'int4or' },
4963{ oid => '1900',
4964  proname => 'int4xor', prorettype => 'int4', proargtypes => 'int4 int4',
4965  prosrc => 'int4xor' },
4966{ oid => '1901',
4967  proname => 'int4not', prorettype => 'int4', proargtypes => 'int4',
4968  prosrc => 'int4not' },
4969{ oid => '1902',
4970  proname => 'int4shl', prorettype => 'int4', proargtypes => 'int4 int4',
4971  prosrc => 'int4shl' },
4972{ oid => '1903',
4973  proname => 'int4shr', prorettype => 'int4', proargtypes => 'int4 int4',
4974  prosrc => 'int4shr' },
4975
4976{ oid => '1904',
4977  proname => 'int8and', prorettype => 'int8', proargtypes => 'int8 int8',
4978  prosrc => 'int8and' },
4979{ oid => '1905',
4980  proname => 'int8or', prorettype => 'int8', proargtypes => 'int8 int8',
4981  prosrc => 'int8or' },
4982{ oid => '1906',
4983  proname => 'int8xor', prorettype => 'int8', proargtypes => 'int8 int8',
4984  prosrc => 'int8xor' },
4985{ oid => '1907',
4986  proname => 'int8not', prorettype => 'int8', proargtypes => 'int8',
4987  prosrc => 'int8not' },
4988{ oid => '1908',
4989  proname => 'int8shl', prorettype => 'int8', proargtypes => 'int8 int4',
4990  prosrc => 'int8shl' },
4991{ oid => '1909',
4992  proname => 'int8shr', prorettype => 'int8', proargtypes => 'int8 int4',
4993  prosrc => 'int8shr' },
4994
4995{ oid => '1910',
4996  proname => 'int8up', prorettype => 'int8', proargtypes => 'int8',
4997  prosrc => 'int8up' },
4998{ oid => '1911',
4999  proname => 'int2up', prorettype => 'int2', proargtypes => 'int2',
5000  prosrc => 'int2up' },
5001{ oid => '1912',
5002  proname => 'int4up', prorettype => 'int4', proargtypes => 'int4',
5003  prosrc => 'int4up' },
5004{ oid => '1913',
5005  proname => 'float4up', prorettype => 'float4', proargtypes => 'float4',
5006  prosrc => 'float4up' },
5007{ oid => '1914',
5008  proname => 'float8up', prorettype => 'float8', proargtypes => 'float8',
5009  prosrc => 'float8up' },
5010{ oid => '1915',
5011  proname => 'numeric_uplus', prorettype => 'numeric', proargtypes => 'numeric',
5012  prosrc => 'numeric_uplus' },
5013
5014{ oid => '1922', descr => 'user privilege on relation by username, rel name',
5015  proname => 'has_table_privilege', provolatile => 's', prorettype => 'bool',
5016  proargtypes => 'name text text', prosrc => 'has_table_privilege_name_name' },
5017{ oid => '1923', descr => 'user privilege on relation by username, rel oid',
5018  proname => 'has_table_privilege', provolatile => 's', prorettype => 'bool',
5019  proargtypes => 'name oid text', prosrc => 'has_table_privilege_name_id' },
5020{ oid => '1924', descr => 'user privilege on relation by user oid, rel name',
5021  proname => 'has_table_privilege', provolatile => 's', prorettype => 'bool',
5022  proargtypes => 'oid text text', prosrc => 'has_table_privilege_id_name' },
5023{ oid => '1925', descr => 'user privilege on relation by user oid, rel oid',
5024  proname => 'has_table_privilege', provolatile => 's', prorettype => 'bool',
5025  proargtypes => 'oid oid text', prosrc => 'has_table_privilege_id_id' },
5026{ oid => '1926', descr => 'current user privilege on relation by rel name',
5027  proname => 'has_table_privilege', provolatile => 's', prorettype => 'bool',
5028  proargtypes => 'text text', prosrc => 'has_table_privilege_name' },
5029{ oid => '1927', descr => 'current user privilege on relation by rel oid',
5030  proname => 'has_table_privilege', provolatile => 's', prorettype => 'bool',
5031  proargtypes => 'oid text', prosrc => 'has_table_privilege_id' },
5032
5033{ oid => '2181', descr => 'user privilege on sequence by username, seq name',
5034  proname => 'has_sequence_privilege', provolatile => 's', prorettype => 'bool',
5035  proargtypes => 'name text text',
5036  prosrc => 'has_sequence_privilege_name_name' },
5037{ oid => '2182', descr => 'user privilege on sequence by username, seq oid',
5038  proname => 'has_sequence_privilege', provolatile => 's', prorettype => 'bool',
5039  proargtypes => 'name oid text', prosrc => 'has_sequence_privilege_name_id' },
5040{ oid => '2183', descr => 'user privilege on sequence by user oid, seq name',
5041  proname => 'has_sequence_privilege', provolatile => 's', prorettype => 'bool',
5042  proargtypes => 'oid text text', prosrc => 'has_sequence_privilege_id_name' },
5043{ oid => '2184', descr => 'user privilege on sequence by user oid, seq oid',
5044  proname => 'has_sequence_privilege', provolatile => 's', prorettype => 'bool',
5045  proargtypes => 'oid oid text', prosrc => 'has_sequence_privilege_id_id' },
5046{ oid => '2185', descr => 'current user privilege on sequence by seq name',
5047  proname => 'has_sequence_privilege', provolatile => 's', prorettype => 'bool',
5048  proargtypes => 'text text', prosrc => 'has_sequence_privilege_name' },
5049{ oid => '2186', descr => 'current user privilege on sequence by seq oid',
5050  proname => 'has_sequence_privilege', provolatile => 's', prorettype => 'bool',
5051  proargtypes => 'oid text', prosrc => 'has_sequence_privilege_id' },
5052
5053{ oid => '3012',
5054  descr => 'user privilege on column by username, rel name, col name',
5055  proname => 'has_column_privilege', provolatile => 's', prorettype => 'bool',
5056  proargtypes => 'name text text text',
5057  prosrc => 'has_column_privilege_name_name_name' },
5058{ oid => '3013',
5059  descr => 'user privilege on column by username, rel name, col attnum',
5060  proname => 'has_column_privilege', provolatile => 's', prorettype => 'bool',
5061  proargtypes => 'name text int2 text',
5062  prosrc => 'has_column_privilege_name_name_attnum' },
5063{ oid => '3014',
5064  descr => 'user privilege on column by username, rel oid, col name',
5065  proname => 'has_column_privilege', provolatile => 's', prorettype => 'bool',
5066  proargtypes => 'name oid text text',
5067  prosrc => 'has_column_privilege_name_id_name' },
5068{ oid => '3015',
5069  descr => 'user privilege on column by username, rel oid, col attnum',
5070  proname => 'has_column_privilege', provolatile => 's', prorettype => 'bool',
5071  proargtypes => 'name oid int2 text',
5072  prosrc => 'has_column_privilege_name_id_attnum' },
5073{ oid => '3016',
5074  descr => 'user privilege on column by user oid, rel name, col name',
5075  proname => 'has_column_privilege', provolatile => 's', prorettype => 'bool',
5076  proargtypes => 'oid text text text',
5077  prosrc => 'has_column_privilege_id_name_name' },
5078{ oid => '3017',
5079  descr => 'user privilege on column by user oid, rel name, col attnum',
5080  proname => 'has_column_privilege', provolatile => 's', prorettype => 'bool',
5081  proargtypes => 'oid text int2 text',
5082  prosrc => 'has_column_privilege_id_name_attnum' },
5083{ oid => '3018',
5084  descr => 'user privilege on column by user oid, rel oid, col name',
5085  proname => 'has_column_privilege', provolatile => 's', prorettype => 'bool',
5086  proargtypes => 'oid oid text text',
5087  prosrc => 'has_column_privilege_id_id_name' },
5088{ oid => '3019',
5089  descr => 'user privilege on column by user oid, rel oid, col attnum',
5090  proname => 'has_column_privilege', provolatile => 's', prorettype => 'bool',
5091  proargtypes => 'oid oid int2 text',
5092  prosrc => 'has_column_privilege_id_id_attnum' },
5093{ oid => '3020',
5094  descr => 'current user privilege on column by rel name, col name',
5095  proname => 'has_column_privilege', provolatile => 's', prorettype => 'bool',
5096  proargtypes => 'text text text', prosrc => 'has_column_privilege_name_name' },
5097{ oid => '3021',
5098  descr => 'current user privilege on column by rel name, col attnum',
5099  proname => 'has_column_privilege', provolatile => 's', prorettype => 'bool',
5100  proargtypes => 'text int2 text',
5101  prosrc => 'has_column_privilege_name_attnum' },
5102{ oid => '3022',
5103  descr => 'current user privilege on column by rel oid, col name',
5104  proname => 'has_column_privilege', provolatile => 's', prorettype => 'bool',
5105  proargtypes => 'oid text text', prosrc => 'has_column_privilege_id_name' },
5106{ oid => '3023',
5107  descr => 'current user privilege on column by rel oid, col attnum',
5108  proname => 'has_column_privilege', provolatile => 's', prorettype => 'bool',
5109  proargtypes => 'oid int2 text', prosrc => 'has_column_privilege_id_attnum' },
5110
5111{ oid => '3024',
5112  descr => 'user privilege on any column by username, rel name',
5113  proname => 'has_any_column_privilege', procost => '10', provolatile => 's',
5114  prorettype => 'bool', proargtypes => 'name text text',
5115  prosrc => 'has_any_column_privilege_name_name' },
5116{ oid => '3025', descr => 'user privilege on any column by username, rel oid',
5117  proname => 'has_any_column_privilege', procost => '10', provolatile => 's',
5118  prorettype => 'bool', proargtypes => 'name oid text',
5119  prosrc => 'has_any_column_privilege_name_id' },
5120{ oid => '3026',
5121  descr => 'user privilege on any column by user oid, rel name',
5122  proname => 'has_any_column_privilege', procost => '10', provolatile => 's',
5123  prorettype => 'bool', proargtypes => 'oid text text',
5124  prosrc => 'has_any_column_privilege_id_name' },
5125{ oid => '3027', descr => 'user privilege on any column by user oid, rel oid',
5126  proname => 'has_any_column_privilege', procost => '10', provolatile => 's',
5127  prorettype => 'bool', proargtypes => 'oid oid text',
5128  prosrc => 'has_any_column_privilege_id_id' },
5129{ oid => '3028', descr => 'current user privilege on any column by rel name',
5130  proname => 'has_any_column_privilege', procost => '10', provolatile => 's',
5131  prorettype => 'bool', proargtypes => 'text text',
5132  prosrc => 'has_any_column_privilege_name' },
5133{ oid => '3029', descr => 'current user privilege on any column by rel oid',
5134  proname => 'has_any_column_privilege', procost => '10', provolatile => 's',
5135  prorettype => 'bool', proargtypes => 'oid text',
5136  prosrc => 'has_any_column_privilege_id' },
5137
5138{ oid => '3355', descr => 'I/O',
5139  proname => 'pg_ndistinct_in', prorettype => 'pg_ndistinct',
5140  proargtypes => 'cstring', prosrc => 'pg_ndistinct_in' },
5141{ oid => '3356', descr => 'I/O',
5142  proname => 'pg_ndistinct_out', prorettype => 'cstring',
5143  proargtypes => 'pg_ndistinct', prosrc => 'pg_ndistinct_out' },
5144{ oid => '3357', descr => 'I/O',
5145  proname => 'pg_ndistinct_recv', provolatile => 's',
5146  prorettype => 'pg_ndistinct', proargtypes => 'internal',
5147  prosrc => 'pg_ndistinct_recv' },
5148{ oid => '3358', descr => 'I/O',
5149  proname => 'pg_ndistinct_send', provolatile => 's', prorettype => 'bytea',
5150  proargtypes => 'pg_ndistinct', prosrc => 'pg_ndistinct_send' },
5151
5152{ oid => '3404', descr => 'I/O',
5153  proname => 'pg_dependencies_in', prorettype => 'pg_dependencies',
5154  proargtypes => 'cstring', prosrc => 'pg_dependencies_in' },
5155{ oid => '3405', descr => 'I/O',
5156  proname => 'pg_dependencies_out', prorettype => 'cstring',
5157  proargtypes => 'pg_dependencies', prosrc => 'pg_dependencies_out' },
5158{ oid => '3406', descr => 'I/O',
5159  proname => 'pg_dependencies_recv', provolatile => 's',
5160  prorettype => 'pg_dependencies', proargtypes => 'internal',
5161  prosrc => 'pg_dependencies_recv' },
5162{ oid => '3407', descr => 'I/O',
5163  proname => 'pg_dependencies_send', provolatile => 's', prorettype => 'bytea',
5164  proargtypes => 'pg_dependencies', prosrc => 'pg_dependencies_send' },
5165
5166{ oid => '5018', descr => 'I/O',
5167  proname => 'pg_mcv_list_in', prorettype => 'pg_mcv_list',
5168  proargtypes => 'cstring', prosrc => 'pg_mcv_list_in' },
5169{ oid => '5019', descr => 'I/O',
5170  proname => 'pg_mcv_list_out', prorettype => 'cstring',
5171  proargtypes => 'pg_mcv_list', prosrc => 'pg_mcv_list_out' },
5172{ oid => '5020', descr => 'I/O',
5173  proname => 'pg_mcv_list_recv', provolatile => 's',
5174  prorettype => 'pg_mcv_list', proargtypes => 'internal',
5175  prosrc => 'pg_mcv_list_recv' },
5176{ oid => '5021', descr => 'I/O',
5177  proname => 'pg_mcv_list_send', provolatile => 's', prorettype => 'bytea',
5178  proargtypes => 'pg_mcv_list', prosrc => 'pg_mcv_list_send' },
5179
5180{ oid => '3427', descr => 'details about MCV list items',
5181  proname => 'pg_mcv_list_items', prorows => '1000', proretset => 't',
5182  provolatile => 's', prorettype => 'record', proargtypes => 'pg_mcv_list',
5183  proallargtypes => '{pg_mcv_list,int4,_text,_bool,float8,float8}',
5184  proargmodes => '{i,o,o,o,o,o}',
5185  proargnames => '{mcv_list,index,values,nulls,frequency,base_frequency}',
5186  prosrc => 'pg_stats_ext_mcvlist_items' },
5187
5188{ oid => '1928', descr => 'statistics: number of scans done for table/index',
5189  proname => 'pg_stat_get_numscans', provolatile => 's', proparallel => 'r',
5190  prorettype => 'int8', proargtypes => 'oid',
5191  prosrc => 'pg_stat_get_numscans' },
5192{ oid => '1929', descr => 'statistics: number of tuples read by seqscan',
5193  proname => 'pg_stat_get_tuples_returned', provolatile => 's',
5194  proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
5195  prosrc => 'pg_stat_get_tuples_returned' },
5196{ oid => '1930', descr => 'statistics: number of tuples fetched by idxscan',
5197  proname => 'pg_stat_get_tuples_fetched', provolatile => 's',
5198  proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
5199  prosrc => 'pg_stat_get_tuples_fetched' },
5200{ oid => '1931', descr => 'statistics: number of tuples inserted',
5201  proname => 'pg_stat_get_tuples_inserted', provolatile => 's',
5202  proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
5203  prosrc => 'pg_stat_get_tuples_inserted' },
5204{ oid => '1932', descr => 'statistics: number of tuples updated',
5205  proname => 'pg_stat_get_tuples_updated', provolatile => 's',
5206  proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
5207  prosrc => 'pg_stat_get_tuples_updated' },
5208{ oid => '1933', descr => 'statistics: number of tuples deleted',
5209  proname => 'pg_stat_get_tuples_deleted', provolatile => 's',
5210  proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
5211  prosrc => 'pg_stat_get_tuples_deleted' },
5212{ oid => '1972', descr => 'statistics: number of tuples hot updated',
5213  proname => 'pg_stat_get_tuples_hot_updated', provolatile => 's',
5214  proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
5215  prosrc => 'pg_stat_get_tuples_hot_updated' },
5216{ oid => '2878', descr => 'statistics: number of live tuples',
5217  proname => 'pg_stat_get_live_tuples', provolatile => 's', proparallel => 'r',
5218  prorettype => 'int8', proargtypes => 'oid',
5219  prosrc => 'pg_stat_get_live_tuples' },
5220{ oid => '2879', descr => 'statistics: number of dead tuples',
5221  proname => 'pg_stat_get_dead_tuples', provolatile => 's', proparallel => 'r',
5222  prorettype => 'int8', proargtypes => 'oid',
5223  prosrc => 'pg_stat_get_dead_tuples' },
5224{ oid => '3177',
5225  descr => 'statistics: number of tuples changed since last analyze',
5226  proname => 'pg_stat_get_mod_since_analyze', provolatile => 's',
5227  proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
5228  prosrc => 'pg_stat_get_mod_since_analyze' },
5229{ oid => '5053',
5230  descr => 'statistics: number of tuples inserted since last vacuum',
5231  proname => 'pg_stat_get_ins_since_vacuum', provolatile => 's',
5232  proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
5233  prosrc => 'pg_stat_get_ins_since_vacuum' },
5234{ oid => '1934', descr => 'statistics: number of blocks fetched',
5235  proname => 'pg_stat_get_blocks_fetched', provolatile => 's',
5236  proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
5237  prosrc => 'pg_stat_get_blocks_fetched' },
5238{ oid => '1935', descr => 'statistics: number of blocks found in cache',
5239  proname => 'pg_stat_get_blocks_hit', provolatile => 's', proparallel => 'r',
5240  prorettype => 'int8', proargtypes => 'oid',
5241  prosrc => 'pg_stat_get_blocks_hit' },
5242{ oid => '2781', descr => 'statistics: last manual vacuum time for a table',
5243  proname => 'pg_stat_get_last_vacuum_time', provolatile => 's',
5244  proparallel => 'r', prorettype => 'timestamptz', proargtypes => 'oid',
5245  prosrc => 'pg_stat_get_last_vacuum_time' },
5246{ oid => '2782', descr => 'statistics: last auto vacuum time for a table',
5247  proname => 'pg_stat_get_last_autovacuum_time', provolatile => 's',
5248  proparallel => 'r', prorettype => 'timestamptz', proargtypes => 'oid',
5249  prosrc => 'pg_stat_get_last_autovacuum_time' },
5250{ oid => '2783', descr => 'statistics: last manual analyze time for a table',
5251  proname => 'pg_stat_get_last_analyze_time', provolatile => 's',
5252  proparallel => 'r', prorettype => 'timestamptz', proargtypes => 'oid',
5253  prosrc => 'pg_stat_get_last_analyze_time' },
5254{ oid => '2784', descr => 'statistics: last auto analyze time for a table',
5255  proname => 'pg_stat_get_last_autoanalyze_time', provolatile => 's',
5256  proparallel => 'r', prorettype => 'timestamptz', proargtypes => 'oid',
5257  prosrc => 'pg_stat_get_last_autoanalyze_time' },
5258{ oid => '3054', descr => 'statistics: number of manual vacuums for a table',
5259  proname => 'pg_stat_get_vacuum_count', provolatile => 's', proparallel => 'r',
5260  prorettype => 'int8', proargtypes => 'oid',
5261  prosrc => 'pg_stat_get_vacuum_count' },
5262{ oid => '3055', descr => 'statistics: number of auto vacuums for a table',
5263  proname => 'pg_stat_get_autovacuum_count', provolatile => 's',
5264  proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
5265  prosrc => 'pg_stat_get_autovacuum_count' },
5266{ oid => '3056', descr => 'statistics: number of manual analyzes for a table',
5267  proname => 'pg_stat_get_analyze_count', provolatile => 's',
5268  proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
5269  prosrc => 'pg_stat_get_analyze_count' },
5270{ oid => '3057', descr => 'statistics: number of auto analyzes for a table',
5271  proname => 'pg_stat_get_autoanalyze_count', provolatile => 's',
5272  proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
5273  prosrc => 'pg_stat_get_autoanalyze_count' },
5274{ oid => '1936', descr => 'statistics: currently active backend IDs',
5275  proname => 'pg_stat_get_backend_idset', prorows => '100', proretset => 't',
5276  provolatile => 's', proparallel => 'r', prorettype => 'int4',
5277  proargtypes => '', prosrc => 'pg_stat_get_backend_idset' },
5278{ oid => '2022',
5279  descr => 'statistics: information about currently active backends',
5280  proname => 'pg_stat_get_activity', prorows => '100', proisstrict => 'f',
5281  proretset => 't', provolatile => 's', proparallel => 'r',
5282  prorettype => 'record', proargtypes => 'int4',
5283  proallargtypes => '{int4,oid,int4,oid,text,text,text,text,text,timestamptz,timestamptz,timestamptz,timestamptz,inet,text,int4,xid,xid,text,bool,text,text,int4,text,numeric,text,bool,text,bool,int4,int8}',
5284  proargmodes => '{i,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o}',
5285  proargnames => '{pid,datid,pid,usesysid,application_name,state,query,wait_event_type,wait_event,xact_start,query_start,backend_start,state_change,client_addr,client_hostname,client_port,backend_xid,backend_xmin,backend_type,ssl,sslversion,sslcipher,sslbits,ssl_client_dn,ssl_client_serial,ssl_issuer_dn,gss_auth,gss_princ,gss_enc,leader_pid,query_id}',
5286  prosrc => 'pg_stat_get_activity' },
5287{ oid => '3318',
5288  descr => 'statistics: information about progress of backends running maintenance command',
5289  proname => 'pg_stat_get_progress_info', prorows => '100', proretset => 't',
5290  provolatile => 's', proparallel => 'r', prorettype => 'record',
5291  proargtypes => 'text',
5292  proallargtypes => '{text,int4,oid,oid,int8,int8,int8,int8,int8,int8,int8,int8,int8,int8,int8,int8,int8,int8,int8,int8,int8,int8,int8,int8}',
5293  proargmodes => '{i,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o}',
5294  proargnames => '{cmdtype,pid,datid,relid,param1,param2,param3,param4,param5,param6,param7,param8,param9,param10,param11,param12,param13,param14,param15,param16,param17,param18,param19,param20}',
5295  prosrc => 'pg_stat_get_progress_info' },
5296{ oid => '3099',
5297  descr => 'statistics: information about currently active replication',
5298  proname => 'pg_stat_get_wal_senders', prorows => '10', proisstrict => 'f',
5299  proretset => 't', provolatile => 's', proparallel => 'r',
5300  prorettype => 'record', proargtypes => '',
5301  proallargtypes => '{int4,text,pg_lsn,pg_lsn,pg_lsn,pg_lsn,interval,interval,interval,int4,text,timestamptz}',
5302  proargmodes => '{o,o,o,o,o,o,o,o,o,o,o,o}',
5303  proargnames => '{pid,state,sent_lsn,write_lsn,flush_lsn,replay_lsn,write_lag,flush_lag,replay_lag,sync_priority,sync_state,reply_time}',
5304  prosrc => 'pg_stat_get_wal_senders' },
5305{ oid => '3317', descr => 'statistics: information about WAL receiver',
5306  proname => 'pg_stat_get_wal_receiver', proisstrict => 'f', provolatile => 's',
5307  proparallel => 'r', prorettype => 'record', proargtypes => '',
5308  proallargtypes => '{int4,text,pg_lsn,int4,pg_lsn,pg_lsn,int4,timestamptz,timestamptz,pg_lsn,timestamptz,text,text,int4,text}',
5309  proargmodes => '{o,o,o,o,o,o,o,o,o,o,o,o,o,o,o}',
5310  proargnames => '{pid,status,receive_start_lsn,receive_start_tli,written_lsn,flushed_lsn,received_tli,last_msg_send_time,last_msg_receipt_time,latest_end_lsn,latest_end_time,slot_name,sender_host,sender_port,conninfo}',
5311  prosrc => 'pg_stat_get_wal_receiver' },
5312{ oid => '6169', descr => 'statistics: information about replication slot',
5313  proname => 'pg_stat_get_replication_slot', prorows => '1', proisstrict => 'f',
5314  proretset => 't', provolatile => 's', proparallel => 'r',
5315  prorettype => 'record', proargtypes => 'text',
5316  proallargtypes => '{text,text,int8,int8,int8,int8,int8,int8,int8,int8,timestamptz}',
5317  proargmodes => '{i,o,o,o,o,o,o,o,o,o,o}',
5318  proargnames => '{slot_name,slot_name,spill_txns,spill_count,spill_bytes,stream_txns,stream_count,stream_bytes,total_txns,total_bytes,stats_reset}',
5319  prosrc => 'pg_stat_get_replication_slot' },
5320{ oid => '6118', descr => 'statistics: information about subscription',
5321  proname => 'pg_stat_get_subscription', prorows => '10', proisstrict => 'f',
5322  proretset => 't', provolatile => 's', proparallel => 'r',
5323  prorettype => 'record', proargtypes => 'oid',
5324  proallargtypes => '{oid,oid,oid,int4,pg_lsn,timestamptz,timestamptz,pg_lsn,timestamptz}',
5325  proargmodes => '{i,o,o,o,o,o,o,o,o}',
5326  proargnames => '{subid,subid,relid,pid,received_lsn,last_msg_send_time,last_msg_receipt_time,latest_end_lsn,latest_end_time}',
5327  prosrc => 'pg_stat_get_subscription' },
5328{ oid => '2026', descr => 'statistics: current backend PID',
5329  proname => 'pg_backend_pid', provolatile => 's', proparallel => 'r',
5330  prorettype => 'int4', proargtypes => '', prosrc => 'pg_backend_pid' },
5331{ oid => '1937', descr => 'statistics: PID of backend',
5332  proname => 'pg_stat_get_backend_pid', provolatile => 's', proparallel => 'r',
5333  prorettype => 'int4', proargtypes => 'int4',
5334  prosrc => 'pg_stat_get_backend_pid' },
5335{ oid => '1938', descr => 'statistics: database ID of backend',
5336  proname => 'pg_stat_get_backend_dbid', provolatile => 's', proparallel => 'r',
5337  prorettype => 'oid', proargtypes => 'int4',
5338  prosrc => 'pg_stat_get_backend_dbid' },
5339{ oid => '1939', descr => 'statistics: user ID of backend',
5340  proname => 'pg_stat_get_backend_userid', provolatile => 's',
5341  proparallel => 'r', prorettype => 'oid', proargtypes => 'int4',
5342  prosrc => 'pg_stat_get_backend_userid' },
5343{ oid => '1940', descr => 'statistics: current query of backend',
5344  proname => 'pg_stat_get_backend_activity', provolatile => 's',
5345  proparallel => 'r', prorettype => 'text', proargtypes => 'int4',
5346  prosrc => 'pg_stat_get_backend_activity' },
5347{ oid => '2788',
5348  descr => 'statistics: wait event type on which backend is currently waiting',
5349  proname => 'pg_stat_get_backend_wait_event_type', provolatile => 's',
5350  proparallel => 'r', prorettype => 'text', proargtypes => 'int4',
5351  prosrc => 'pg_stat_get_backend_wait_event_type' },
5352{ oid => '2853',
5353  descr => 'statistics: wait event on which backend is currently waiting',
5354  proname => 'pg_stat_get_backend_wait_event', provolatile => 's',
5355  proparallel => 'r', prorettype => 'text', proargtypes => 'int4',
5356  prosrc => 'pg_stat_get_backend_wait_event' },
5357{ oid => '2094',
5358  descr => 'statistics: start time for current query of backend',
5359  proname => 'pg_stat_get_backend_activity_start', provolatile => 's',
5360  proparallel => 'r', prorettype => 'timestamptz', proargtypes => 'int4',
5361  prosrc => 'pg_stat_get_backend_activity_start' },
5362{ oid => '2857',
5363  descr => 'statistics: start time for backend\'s current transaction',
5364  proname => 'pg_stat_get_backend_xact_start', provolatile => 's',
5365  proparallel => 'r', prorettype => 'timestamptz', proargtypes => 'int4',
5366  prosrc => 'pg_stat_get_backend_xact_start' },
5367{ oid => '1391',
5368  descr => 'statistics: start time for current backend session',
5369  proname => 'pg_stat_get_backend_start', provolatile => 's',
5370  proparallel => 'r', prorettype => 'timestamptz', proargtypes => 'int4',
5371  prosrc => 'pg_stat_get_backend_start' },
5372{ oid => '1392',
5373  descr => 'statistics: address of client connected to backend',
5374  proname => 'pg_stat_get_backend_client_addr', provolatile => 's',
5375  proparallel => 'r', prorettype => 'inet', proargtypes => 'int4',
5376  prosrc => 'pg_stat_get_backend_client_addr' },
5377{ oid => '1393',
5378  descr => 'statistics: port number of client connected to backend',
5379  proname => 'pg_stat_get_backend_client_port', provolatile => 's',
5380  proparallel => 'r', prorettype => 'int4', proargtypes => 'int4',
5381  prosrc => 'pg_stat_get_backend_client_port' },
5382{ oid => '1941', descr => 'statistics: number of backends in database',
5383  proname => 'pg_stat_get_db_numbackends', provolatile => 's',
5384  proparallel => 'r', prorettype => 'int4', proargtypes => 'oid',
5385  prosrc => 'pg_stat_get_db_numbackends' },
5386{ oid => '1942', descr => 'statistics: transactions committed',
5387  proname => 'pg_stat_get_db_xact_commit', provolatile => 's',
5388  proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
5389  prosrc => 'pg_stat_get_db_xact_commit' },
5390{ oid => '1943', descr => 'statistics: transactions rolled back',
5391  proname => 'pg_stat_get_db_xact_rollback', provolatile => 's',
5392  proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
5393  prosrc => 'pg_stat_get_db_xact_rollback' },
5394{ oid => '1944', descr => 'statistics: blocks fetched for database',
5395  proname => 'pg_stat_get_db_blocks_fetched', provolatile => 's',
5396  proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
5397  prosrc => 'pg_stat_get_db_blocks_fetched' },
5398{ oid => '1945', descr => 'statistics: blocks found in cache for database',
5399  proname => 'pg_stat_get_db_blocks_hit', provolatile => 's',
5400  proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
5401  prosrc => 'pg_stat_get_db_blocks_hit' },
5402{ oid => '2758', descr => 'statistics: tuples returned for database',
5403  proname => 'pg_stat_get_db_tuples_returned', provolatile => 's',
5404  proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
5405  prosrc => 'pg_stat_get_db_tuples_returned' },
5406{ oid => '2759', descr => 'statistics: tuples fetched for database',
5407  proname => 'pg_stat_get_db_tuples_fetched', provolatile => 's',
5408  proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
5409  prosrc => 'pg_stat_get_db_tuples_fetched' },
5410{ oid => '2760', descr => 'statistics: tuples inserted in database',
5411  proname => 'pg_stat_get_db_tuples_inserted', provolatile => 's',
5412  proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
5413  prosrc => 'pg_stat_get_db_tuples_inserted' },
5414{ oid => '2761', descr => 'statistics: tuples updated in database',
5415  proname => 'pg_stat_get_db_tuples_updated', provolatile => 's',
5416  proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
5417  prosrc => 'pg_stat_get_db_tuples_updated' },
5418{ oid => '2762', descr => 'statistics: tuples deleted in database',
5419  proname => 'pg_stat_get_db_tuples_deleted', provolatile => 's',
5420  proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
5421  prosrc => 'pg_stat_get_db_tuples_deleted' },
5422{ oid => '3065',
5423  descr => 'statistics: recovery conflicts in database caused by drop tablespace',
5424  proname => 'pg_stat_get_db_conflict_tablespace', provolatile => 's',
5425  proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
5426  prosrc => 'pg_stat_get_db_conflict_tablespace' },
5427{ oid => '3066',
5428  descr => 'statistics: recovery conflicts in database caused by relation lock',
5429  proname => 'pg_stat_get_db_conflict_lock', provolatile => 's',
5430  proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
5431  prosrc => 'pg_stat_get_db_conflict_lock' },
5432{ oid => '3067',
5433  descr => 'statistics: recovery conflicts in database caused by snapshot expiry',
5434  proname => 'pg_stat_get_db_conflict_snapshot', provolatile => 's',
5435  proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
5436  prosrc => 'pg_stat_get_db_conflict_snapshot' },
5437{ oid => '3068',
5438  descr => 'statistics: recovery conflicts in database caused by shared buffer pin',
5439  proname => 'pg_stat_get_db_conflict_bufferpin', provolatile => 's',
5440  proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
5441  prosrc => 'pg_stat_get_db_conflict_bufferpin' },
5442{ oid => '3069',
5443  descr => 'statistics: recovery conflicts in database caused by buffer deadlock',
5444  proname => 'pg_stat_get_db_conflict_startup_deadlock', provolatile => 's',
5445  proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
5446  prosrc => 'pg_stat_get_db_conflict_startup_deadlock' },
5447{ oid => '3070', descr => 'statistics: recovery conflicts in database',
5448  proname => 'pg_stat_get_db_conflict_all', provolatile => 's',
5449  proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
5450  prosrc => 'pg_stat_get_db_conflict_all' },
5451{ oid => '3152', descr => 'statistics: deadlocks detected in database',
5452  proname => 'pg_stat_get_db_deadlocks', provolatile => 's', proparallel => 'r',
5453  prorettype => 'int8', proargtypes => 'oid',
5454  prosrc => 'pg_stat_get_db_deadlocks' },
5455{ oid => '3426',
5456  descr => 'statistics: checksum failures detected in database',
5457  proname => 'pg_stat_get_db_checksum_failures', provolatile => 's',
5458  proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
5459  prosrc => 'pg_stat_get_db_checksum_failures' },
5460{ oid => '3428',
5461  descr => 'statistics: when last checksum failure was detected in database',
5462  proname => 'pg_stat_get_db_checksum_last_failure', provolatile => 's',
5463  proparallel => 'r', prorettype => 'timestamptz', proargtypes => 'oid',
5464  prosrc => 'pg_stat_get_db_checksum_last_failure' },
5465{ oid => '3074', descr => 'statistics: last reset for a database',
5466  proname => 'pg_stat_get_db_stat_reset_time', provolatile => 's',
5467  proparallel => 'r', prorettype => 'timestamptz', proargtypes => 'oid',
5468  prosrc => 'pg_stat_get_db_stat_reset_time' },
5469{ oid => '3150', descr => 'statistics: number of temporary files written',
5470  proname => 'pg_stat_get_db_temp_files', provolatile => 's',
5471  proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
5472  prosrc => 'pg_stat_get_db_temp_files' },
5473{ oid => '3151',
5474  descr => 'statistics: number of bytes in temporary files written',
5475  proname => 'pg_stat_get_db_temp_bytes', provolatile => 's',
5476  proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
5477  prosrc => 'pg_stat_get_db_temp_bytes' },
5478{ oid => '2844', descr => 'statistics: block read time, in milliseconds',
5479  proname => 'pg_stat_get_db_blk_read_time', provolatile => 's',
5480  proparallel => 'r', prorettype => 'float8', proargtypes => 'oid',
5481  prosrc => 'pg_stat_get_db_blk_read_time' },
5482{ oid => '2845', descr => 'statistics: block write time, in milliseconds',
5483  proname => 'pg_stat_get_db_blk_write_time', provolatile => 's',
5484  proparallel => 'r', prorettype => 'float8', proargtypes => 'oid',
5485  prosrc => 'pg_stat_get_db_blk_write_time' },
5486{ oid => '6185', descr => 'statistics: session time, in milliseconds',
5487  proname => 'pg_stat_get_db_session_time', provolatile => 's',
5488  proparallel => 'r', prorettype => 'float8', proargtypes => 'oid',
5489  prosrc => 'pg_stat_get_db_session_time' },
5490{ oid => '6186', descr => 'statistics: session active time, in milliseconds',
5491  proname => 'pg_stat_get_db_active_time', provolatile => 's',
5492  proparallel => 'r', prorettype => 'float8', proargtypes => 'oid',
5493  prosrc => 'pg_stat_get_db_active_time' },
5494{ oid => '6187',
5495  descr => 'statistics: session idle in transaction time, in milliseconds',
5496  proname => 'pg_stat_get_db_idle_in_transaction_time', provolatile => 's',
5497  proparallel => 'r', prorettype => 'float8', proargtypes => 'oid',
5498  prosrc => 'pg_stat_get_db_idle_in_transaction_time' },
5499{ oid => '6188', descr => 'statistics: total number of sessions',
5500  proname => 'pg_stat_get_db_sessions', provolatile => 's', proparallel => 'r',
5501  prorettype => 'int8', proargtypes => 'oid',
5502  prosrc => 'pg_stat_get_db_sessions' },
5503{ oid => '6189',
5504  descr => 'statistics: number of sessions disconnected by the client closing the network connection',
5505  proname => 'pg_stat_get_db_sessions_abandoned', provolatile => 's',
5506  proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
5507  prosrc => 'pg_stat_get_db_sessions_abandoned' },
5508{ oid => '6190',
5509  descr => 'statistics: number of sessions disconnected by fatal errors',
5510  proname => 'pg_stat_get_db_sessions_fatal', provolatile => 's',
5511  proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
5512  prosrc => 'pg_stat_get_db_sessions_fatal' },
5513{ oid => '6191',
5514  descr => 'statistics: number of sessions killed by administrative action',
5515  proname => 'pg_stat_get_db_sessions_killed', provolatile => 's',
5516  proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
5517  prosrc => 'pg_stat_get_db_sessions_killed' },
5518{ oid => '3195', descr => 'statistics: information about WAL archiver',
5519  proname => 'pg_stat_get_archiver', proisstrict => 'f', provolatile => 's',
5520  proparallel => 'r', prorettype => 'record', proargtypes => '',
5521  proallargtypes => '{int8,text,timestamptz,int8,text,timestamptz,timestamptz}',
5522  proargmodes => '{o,o,o,o,o,o,o}',
5523  proargnames => '{archived_count,last_archived_wal,last_archived_time,failed_count,last_failed_wal,last_failed_time,stats_reset}',
5524  prosrc => 'pg_stat_get_archiver' },
5525{ oid => '2769',
5526  descr => 'statistics: number of timed checkpoints started by the bgwriter',
5527  proname => 'pg_stat_get_bgwriter_timed_checkpoints', provolatile => 's',
5528  proparallel => 'r', prorettype => 'int8', proargtypes => '',
5529  prosrc => 'pg_stat_get_bgwriter_timed_checkpoints' },
5530{ oid => '2770',
5531  descr => 'statistics: number of backend requested checkpoints started by the bgwriter',
5532  proname => 'pg_stat_get_bgwriter_requested_checkpoints', provolatile => 's',
5533  proparallel => 'r', prorettype => 'int8', proargtypes => '',
5534  prosrc => 'pg_stat_get_bgwriter_requested_checkpoints' },
5535{ oid => '2771',
5536  descr => 'statistics: number of buffers written by the bgwriter during checkpoints',
5537  proname => 'pg_stat_get_bgwriter_buf_written_checkpoints', provolatile => 's',
5538  proparallel => 'r', prorettype => 'int8', proargtypes => '',
5539  prosrc => 'pg_stat_get_bgwriter_buf_written_checkpoints' },
5540{ oid => '2772',
5541  descr => 'statistics: number of buffers written by the bgwriter for cleaning dirty buffers',
5542  proname => 'pg_stat_get_bgwriter_buf_written_clean', provolatile => 's',
5543  proparallel => 'r', prorettype => 'int8', proargtypes => '',
5544  prosrc => 'pg_stat_get_bgwriter_buf_written_clean' },
5545{ oid => '2773',
5546  descr => 'statistics: number of times the bgwriter stopped processing when it had written too many buffers while cleaning',
5547  proname => 'pg_stat_get_bgwriter_maxwritten_clean', provolatile => 's',
5548  proparallel => 'r', prorettype => 'int8', proargtypes => '',
5549  prosrc => 'pg_stat_get_bgwriter_maxwritten_clean' },
5550{ oid => '3075', descr => 'statistics: last reset for the bgwriter',
5551  proname => 'pg_stat_get_bgwriter_stat_reset_time', provolatile => 's',
5552  proparallel => 'r', prorettype => 'timestamptz', proargtypes => '',
5553  prosrc => 'pg_stat_get_bgwriter_stat_reset_time' },
5554{ oid => '3160',
5555  descr => 'statistics: checkpoint time spent writing buffers to disk, in milliseconds',
5556  proname => 'pg_stat_get_checkpoint_write_time', provolatile => 's',
5557  proparallel => 'r', prorettype => 'float8', proargtypes => '',
5558  prosrc => 'pg_stat_get_checkpoint_write_time' },
5559{ oid => '3161',
5560  descr => 'statistics: checkpoint time spent synchronizing buffers to disk, in milliseconds',
5561  proname => 'pg_stat_get_checkpoint_sync_time', provolatile => 's',
5562  proparallel => 'r', prorettype => 'float8', proargtypes => '',
5563  prosrc => 'pg_stat_get_checkpoint_sync_time' },
5564{ oid => '2775', descr => 'statistics: number of buffers written by backends',
5565  proname => 'pg_stat_get_buf_written_backend', provolatile => 's',
5566  proparallel => 'r', prorettype => 'int8', proargtypes => '',
5567  prosrc => 'pg_stat_get_buf_written_backend' },
5568{ oid => '3063',
5569  descr => 'statistics: number of backend buffer writes that did their own fsync',
5570  proname => 'pg_stat_get_buf_fsync_backend', provolatile => 's',
5571  proparallel => 'r', prorettype => 'int8', proargtypes => '',
5572  prosrc => 'pg_stat_get_buf_fsync_backend' },
5573{ oid => '2859', descr => 'statistics: number of buffer allocations',
5574  proname => 'pg_stat_get_buf_alloc', provolatile => 's', proparallel => 'r',
5575  prorettype => 'int8', proargtypes => '', prosrc => 'pg_stat_get_buf_alloc' },
5576
5577{ oid => '1136', descr => 'statistics: information about WAL activity',
5578  proname => 'pg_stat_get_wal', proisstrict => 'f', provolatile => 's',
5579  proparallel => 'r', prorettype => 'record', proargtypes => '',
5580  proallargtypes => '{int8,int8,numeric,int8,int8,int8,float8,float8,timestamptz}',
5581  proargmodes => '{o,o,o,o,o,o,o,o,o}',
5582  proargnames => '{wal_records,wal_fpi,wal_bytes,wal_buffers_full,wal_write,wal_sync,wal_write_time,wal_sync_time,stats_reset}',
5583  prosrc => 'pg_stat_get_wal' },
5584
5585{ oid => '2306', descr => 'statistics: information about SLRU caches',
5586  proname => 'pg_stat_get_slru', prorows => '100', proisstrict => 'f',
5587  proretset => 't', provolatile => 's', proparallel => 'r',
5588  prorettype => 'record', proargtypes => '',
5589  proallargtypes => '{text,int8,int8,int8,int8,int8,int8,int8,timestamptz}',
5590  proargmodes => '{o,o,o,o,o,o,o,o,o}',
5591  proargnames => '{name,blks_zeroed,blks_hit,blks_read,blks_written,blks_exists,flushes,truncates,stats_reset}',
5592  prosrc => 'pg_stat_get_slru' },
5593
5594{ oid => '2978', descr => 'statistics: number of function calls',
5595  proname => 'pg_stat_get_function_calls', provolatile => 's',
5596  proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
5597  prosrc => 'pg_stat_get_function_calls' },
5598{ oid => '2979',
5599  descr => 'statistics: total execution time of function, in milliseconds',
5600  proname => 'pg_stat_get_function_total_time', provolatile => 's',
5601  proparallel => 'r', prorettype => 'float8', proargtypes => 'oid',
5602  prosrc => 'pg_stat_get_function_total_time' },
5603{ oid => '2980',
5604  descr => 'statistics: self execution time of function, in milliseconds',
5605  proname => 'pg_stat_get_function_self_time', provolatile => 's',
5606  proparallel => 'r', prorettype => 'float8', proargtypes => 'oid',
5607  prosrc => 'pg_stat_get_function_self_time' },
5608
5609{ oid => '3037',
5610  descr => 'statistics: number of scans done for table/index in current transaction',
5611  proname => 'pg_stat_get_xact_numscans', provolatile => 'v',
5612  proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
5613  prosrc => 'pg_stat_get_xact_numscans' },
5614{ oid => '3038',
5615  descr => 'statistics: number of tuples read by seqscan in current transaction',
5616  proname => 'pg_stat_get_xact_tuples_returned', provolatile => 'v',
5617  proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
5618  prosrc => 'pg_stat_get_xact_tuples_returned' },
5619{ oid => '3039',
5620  descr => 'statistics: number of tuples fetched by idxscan in current transaction',
5621  proname => 'pg_stat_get_xact_tuples_fetched', provolatile => 'v',
5622  proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
5623  prosrc => 'pg_stat_get_xact_tuples_fetched' },
5624{ oid => '3040',
5625  descr => 'statistics: number of tuples inserted in current transaction',
5626  proname => 'pg_stat_get_xact_tuples_inserted', provolatile => 'v',
5627  proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
5628  prosrc => 'pg_stat_get_xact_tuples_inserted' },
5629{ oid => '3041',
5630  descr => 'statistics: number of tuples updated in current transaction',
5631  proname => 'pg_stat_get_xact_tuples_updated', provolatile => 'v',
5632  proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
5633  prosrc => 'pg_stat_get_xact_tuples_updated' },
5634{ oid => '3042',
5635  descr => 'statistics: number of tuples deleted in current transaction',
5636  proname => 'pg_stat_get_xact_tuples_deleted', provolatile => 'v',
5637  proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
5638  prosrc => 'pg_stat_get_xact_tuples_deleted' },
5639{ oid => '3043',
5640  descr => 'statistics: number of tuples hot updated in current transaction',
5641  proname => 'pg_stat_get_xact_tuples_hot_updated', provolatile => 'v',
5642  proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
5643  prosrc => 'pg_stat_get_xact_tuples_hot_updated' },
5644{ oid => '3044',
5645  descr => 'statistics: number of blocks fetched in current transaction',
5646  proname => 'pg_stat_get_xact_blocks_fetched', provolatile => 'v',
5647  proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
5648  prosrc => 'pg_stat_get_xact_blocks_fetched' },
5649{ oid => '3045',
5650  descr => 'statistics: number of blocks found in cache in current transaction',
5651  proname => 'pg_stat_get_xact_blocks_hit', provolatile => 'v',
5652  proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
5653  prosrc => 'pg_stat_get_xact_blocks_hit' },
5654{ oid => '3046',
5655  descr => 'statistics: number of function calls in current transaction',
5656  proname => 'pg_stat_get_xact_function_calls', provolatile => 'v',
5657  proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
5658  prosrc => 'pg_stat_get_xact_function_calls' },
5659{ oid => '3047',
5660  descr => 'statistics: total execution time of function in current transaction, in milliseconds',
5661  proname => 'pg_stat_get_xact_function_total_time', provolatile => 'v',
5662  proparallel => 'r', prorettype => 'float8', proargtypes => 'oid',
5663  prosrc => 'pg_stat_get_xact_function_total_time' },
5664{ oid => '3048',
5665  descr => 'statistics: self execution time of function in current transaction, in milliseconds',
5666  proname => 'pg_stat_get_xact_function_self_time', provolatile => 'v',
5667  proparallel => 'r', prorettype => 'float8', proargtypes => 'oid',
5668  prosrc => 'pg_stat_get_xact_function_self_time' },
5669
5670{ oid => '3788',
5671  descr => 'statistics: timestamp of the current statistics snapshot',
5672  proname => 'pg_stat_get_snapshot_timestamp', provolatile => 's',
5673  proparallel => 'r', prorettype => 'timestamptz', proargtypes => '',
5674  prosrc => 'pg_stat_get_snapshot_timestamp' },
5675{ oid => '2230',
5676  descr => 'statistics: discard current transaction\'s statistics snapshot',
5677  proname => 'pg_stat_clear_snapshot', proisstrict => 'f', provolatile => 'v',
5678  proparallel => 'r', prorettype => 'void', proargtypes => '',
5679  prosrc => 'pg_stat_clear_snapshot' },
5680{ oid => '2274',
5681  descr => 'statistics: reset collected statistics for current database',
5682  proname => 'pg_stat_reset', proisstrict => 'f', provolatile => 'v',
5683  prorettype => 'void', proargtypes => '', prosrc => 'pg_stat_reset' },
5684{ oid => '3775',
5685  descr => 'statistics: reset collected statistics shared across the cluster',
5686  proname => 'pg_stat_reset_shared', provolatile => 'v', prorettype => 'void',
5687  proargtypes => 'text', prosrc => 'pg_stat_reset_shared' },
5688{ oid => '3776',
5689  descr => 'statistics: reset collected statistics for a single table or index in the current database',
5690  proname => 'pg_stat_reset_single_table_counters', provolatile => 'v',
5691  prorettype => 'void', proargtypes => 'oid',
5692  prosrc => 'pg_stat_reset_single_table_counters' },
5693{ oid => '3777',
5694  descr => 'statistics: reset collected statistics for a single function in the current database',
5695  proname => 'pg_stat_reset_single_function_counters', provolatile => 'v',
5696  prorettype => 'void', proargtypes => 'oid',
5697  prosrc => 'pg_stat_reset_single_function_counters' },
5698{ oid => '2307',
5699  descr => 'statistics: reset collected statistics for a single SLRU',
5700  proname => 'pg_stat_reset_slru', proisstrict => 'f', provolatile => 'v',
5701  prorettype => 'void', proargtypes => 'text', prosrc => 'pg_stat_reset_slru' },
5702{ oid => '6170',
5703  descr => 'statistics: reset collected statistics for a single replication slot',
5704  proname => 'pg_stat_reset_replication_slot', proisstrict => 'f',
5705  provolatile => 'v', prorettype => 'void', proargtypes => 'text',
5706  prosrc => 'pg_stat_reset_replication_slot' },
5707
5708{ oid => '3163', descr => 'current trigger depth',
5709  proname => 'pg_trigger_depth', provolatile => 's', proparallel => 'r',
5710  prorettype => 'int4', proargtypes => '', prosrc => 'pg_trigger_depth' },
5711
5712{ oid => '3778', descr => 'tablespace location',
5713  proname => 'pg_tablespace_location', provolatile => 's', prorettype => 'text',
5714  proargtypes => 'oid', prosrc => 'pg_tablespace_location' },
5715
5716{ oid => '1946',
5717  descr => 'convert bytea value into some ascii-only text string',
5718  proname => 'encode', prorettype => 'text', proargtypes => 'bytea text',
5719  prosrc => 'binary_encode' },
5720{ oid => '1947',
5721  descr => 'convert ascii-encoded text string into bytea value',
5722  proname => 'decode', prorettype => 'bytea', proargtypes => 'text text',
5723  prosrc => 'binary_decode' },
5724
5725{ oid => '1948',
5726  proname => 'byteaeq', proleakproof => 't', prorettype => 'bool',
5727  proargtypes => 'bytea bytea', prosrc => 'byteaeq' },
5728{ oid => '1949',
5729  proname => 'bytealt', proleakproof => 't', prorettype => 'bool',
5730  proargtypes => 'bytea bytea', prosrc => 'bytealt' },
5731{ oid => '1950',
5732  proname => 'byteale', proleakproof => 't', prorettype => 'bool',
5733  proargtypes => 'bytea bytea', prosrc => 'byteale' },
5734{ oid => '1951',
5735  proname => 'byteagt', proleakproof => 't', prorettype => 'bool',
5736  proargtypes => 'bytea bytea', prosrc => 'byteagt' },
5737{ oid => '1952',
5738  proname => 'byteage', proleakproof => 't', prorettype => 'bool',
5739  proargtypes => 'bytea bytea', prosrc => 'byteage' },
5740{ oid => '1953',
5741  proname => 'byteane', proleakproof => 't', prorettype => 'bool',
5742  proargtypes => 'bytea bytea', prosrc => 'byteane' },
5743{ oid => '1954', descr => 'less-equal-greater',
5744  proname => 'byteacmp', proleakproof => 't', prorettype => 'int4',
5745  proargtypes => 'bytea bytea', prosrc => 'byteacmp' },
5746{ oid => '3331', descr => 'sort support',
5747  proname => 'bytea_sortsupport', prorettype => 'void',
5748  proargtypes => 'internal', prosrc => 'bytea_sortsupport' },
5749
5750{ oid => '3917', descr => 'planner support for timestamp length coercion',
5751  proname => 'timestamp_support', prorettype => 'internal',
5752  proargtypes => 'internal', prosrc => 'timestamp_support' },
5753{ oid => '3944', descr => 'planner support for time length coercion',
5754  proname => 'time_support', prorettype => 'internal',
5755  proargtypes => 'internal', prosrc => 'time_support' },
5756
5757{ oid => '1961', descr => 'adjust timestamp precision',
5758  proname => 'timestamp', prosupport => 'timestamp_support',
5759  prorettype => 'timestamp', proargtypes => 'timestamp int4',
5760  prosrc => 'timestamp_scale' },
5761
5762{ oid => '1965', descr => 'larger of two',
5763  proname => 'oidlarger', prorettype => 'oid', proargtypes => 'oid oid',
5764  prosrc => 'oidlarger' },
5765{ oid => '1966', descr => 'smaller of two',
5766  proname => 'oidsmaller', prorettype => 'oid', proargtypes => 'oid oid',
5767  prosrc => 'oidsmaller' },
5768
5769{ oid => '1967', descr => 'adjust timestamptz precision',
5770  proname => 'timestamptz', prosupport => 'timestamp_support',
5771  prorettype => 'timestamptz', proargtypes => 'timestamptz int4',
5772  prosrc => 'timestamptz_scale' },
5773{ oid => '1968', descr => 'adjust time precision',
5774  proname => 'time', prosupport => 'time_support', prorettype => 'time',
5775  proargtypes => 'time int4', prosrc => 'time_scale' },
5776{ oid => '1969', descr => 'adjust time with time zone precision',
5777  proname => 'timetz', prosupport => 'time_support', prorettype => 'timetz',
5778  proargtypes => 'timetz int4', prosrc => 'timetz_scale' },
5779
5780{ oid => '2003',
5781  proname => 'textanycat', prolang => 'sql', provolatile => 's',
5782  prorettype => 'text', proargtypes => 'text anynonarray',
5783  prosrc => 'select $1 operator(pg_catalog.||) $2::pg_catalog.text' },
5784{ oid => '2004',
5785  proname => 'anytextcat', prolang => 'sql', provolatile => 's',
5786  prorettype => 'text', proargtypes => 'anynonarray text',
5787  prosrc => 'select $1::pg_catalog.text operator(pg_catalog.||) $2' },
5788
5789{ oid => '2005',
5790  proname => 'bytealike', prosupport => 'textlike_support',
5791  prorettype => 'bool', proargtypes => 'bytea bytea', prosrc => 'bytealike' },
5792{ oid => '2006',
5793  proname => 'byteanlike', prorettype => 'bool', proargtypes => 'bytea bytea',
5794  prosrc => 'byteanlike' },
5795{ oid => '2007', descr => 'matches LIKE expression',
5796  proname => 'like', prosupport => 'textlike_support', prorettype => 'bool',
5797  proargtypes => 'bytea bytea', prosrc => 'bytealike' },
5798{ oid => '2008', descr => 'does not match LIKE expression',
5799  proname => 'notlike', prorettype => 'bool', proargtypes => 'bytea bytea',
5800  prosrc => 'byteanlike' },
5801{ oid => '2009', descr => 'convert LIKE pattern to use backslash escapes',
5802  proname => 'like_escape', prorettype => 'bytea', proargtypes => 'bytea bytea',
5803  prosrc => 'like_escape_bytea' },
5804{ oid => '2010', descr => 'octet length',
5805  proname => 'length', prorettype => 'int4', proargtypes => 'bytea',
5806  prosrc => 'byteaoctetlen' },
5807{ oid => '2011',
5808  proname => 'byteacat', prorettype => 'bytea', proargtypes => 'bytea bytea',
5809  prosrc => 'byteacat' },
5810{ oid => '2012', descr => 'extract portion of string',
5811  proname => 'substring', prorettype => 'bytea',
5812  proargtypes => 'bytea int4 int4', prosrc => 'bytea_substr' },
5813{ oid => '2013', descr => 'extract portion of string',
5814  proname => 'substring', prorettype => 'bytea', proargtypes => 'bytea int4',
5815  prosrc => 'bytea_substr_no_len' },
5816{ oid => '2085', descr => 'extract portion of string',
5817  proname => 'substr', prorettype => 'bytea', proargtypes => 'bytea int4 int4',
5818  prosrc => 'bytea_substr' },
5819{ oid => '2086', descr => 'extract portion of string',
5820  proname => 'substr', prorettype => 'bytea', proargtypes => 'bytea int4',
5821  prosrc => 'bytea_substr_no_len' },
5822{ oid => '2014', descr => 'position of substring',
5823  proname => 'position', prorettype => 'int4', proargtypes => 'bytea bytea',
5824  prosrc => 'byteapos' },
5825{ oid => '2015', descr => 'trim selected bytes from both ends of string',
5826  proname => 'btrim', prorettype => 'bytea', proargtypes => 'bytea bytea',
5827  prosrc => 'byteatrim' },
5828{ oid => '6195', descr => 'trim selected bytes from left end of string',
5829  proname => 'ltrim', prorettype => 'bytea', proargtypes => 'bytea bytea',
5830  prosrc => 'bytealtrim' },
5831{ oid => '6196', descr => 'trim selected bytes from right end of string',
5832  proname => 'rtrim', prorettype => 'bytea', proargtypes => 'bytea bytea',
5833  prosrc => 'byteartrim' },
5834
5835{ oid => '2019', descr => 'convert timestamp with time zone to time',
5836  proname => 'time', provolatile => 's', prorettype => 'time',
5837  proargtypes => 'timestamptz', prosrc => 'timestamptz_time' },
5838{ oid => '2020', descr => 'truncate timestamp to specified units',
5839  proname => 'date_trunc', prorettype => 'timestamp',
5840  proargtypes => 'text timestamp', prosrc => 'timestamp_trunc' },
5841
5842{ oid => '6177', descr => 'bin timestamp into specified interval',
5843  proname => 'date_bin', prorettype => 'timestamp',
5844  proargtypes => 'interval timestamp timestamp', prosrc => 'timestamp_bin' },
5845{ oid => '6178',
5846  descr => 'bin timestamp with time zone into specified interval',
5847  proname => 'date_bin', prorettype => 'timestamptz',
5848  proargtypes => 'interval timestamptz timestamptz',
5849  prosrc => 'timestamptz_bin' },
5850
5851{ oid => '2021', descr => 'extract field from timestamp',
5852  proname => 'date_part', prorettype => 'float8',
5853  proargtypes => 'text timestamp', prosrc => 'timestamp_part' },
5854{ oid => '6202', descr => 'extract field from timestamp',
5855  proname => 'extract', prorettype => 'numeric',
5856  proargtypes => 'text timestamp', prosrc => 'extract_timestamp' },
5857{ oid => '2024', descr => 'convert date to timestamp',
5858  proname => 'timestamp', prorettype => 'timestamp', proargtypes => 'date',
5859  prosrc => 'date_timestamp' },
5860{ oid => '2025', descr => 'convert date and time to timestamp',
5861  proname => 'timestamp', prorettype => 'timestamp', proargtypes => 'date time',
5862  prosrc => 'datetime_timestamp' },
5863{ oid => '2027', descr => 'convert timestamp with time zone to timestamp',
5864  proname => 'timestamp', provolatile => 's', prorettype => 'timestamp',
5865  proargtypes => 'timestamptz', prosrc => 'timestamptz_timestamp' },
5866{ oid => '2028', descr => 'convert timestamp to timestamp with time zone',
5867  proname => 'timestamptz', provolatile => 's', prorettype => 'timestamptz',
5868  proargtypes => 'timestamp', prosrc => 'timestamp_timestamptz' },
5869{ oid => '2029', descr => 'convert timestamp to date',
5870  proname => 'date', prorettype => 'date', proargtypes => 'timestamp',
5871  prosrc => 'timestamp_date' },
5872{ oid => '2031',
5873  proname => 'timestamp_mi', prorettype => 'interval',
5874  proargtypes => 'timestamp timestamp', prosrc => 'timestamp_mi' },
5875{ oid => '2032',
5876  proname => 'timestamp_pl_interval', prorettype => 'timestamp',
5877  proargtypes => 'timestamp interval', prosrc => 'timestamp_pl_interval' },
5878{ oid => '2033',
5879  proname => 'timestamp_mi_interval', prorettype => 'timestamp',
5880  proargtypes => 'timestamp interval', prosrc => 'timestamp_mi_interval' },
5881{ oid => '2035', descr => 'smaller of two',
5882  proname => 'timestamp_smaller', prorettype => 'timestamp',
5883  proargtypes => 'timestamp timestamp', prosrc => 'timestamp_smaller' },
5884{ oid => '2036', descr => 'larger of two',
5885  proname => 'timestamp_larger', prorettype => 'timestamp',
5886  proargtypes => 'timestamp timestamp', prosrc => 'timestamp_larger' },
5887{ oid => '2037', descr => 'adjust time with time zone to new zone',
5888  proname => 'timezone', provolatile => 'v', prorettype => 'timetz',
5889  proargtypes => 'text timetz', prosrc => 'timetz_zone' },
5890{ oid => '2038', descr => 'adjust time with time zone to new zone',
5891  proname => 'timezone', prorettype => 'timetz',
5892  proargtypes => 'interval timetz', prosrc => 'timetz_izone' },
5893{ oid => '2039', descr => 'hash',
5894  proname => 'timestamp_hash', prorettype => 'int4', proargtypes => 'timestamp',
5895  prosrc => 'timestamp_hash' },
5896{ oid => '3411', descr => 'hash',
5897  proname => 'timestamp_hash_extended', prorettype => 'int8',
5898  proargtypes => 'timestamp int8', prosrc => 'timestamp_hash_extended' },
5899{ oid => '2041', descr => 'intervals overlap?',
5900  proname => 'overlaps', proisstrict => 'f', prorettype => 'bool',
5901  proargtypes => 'timestamp timestamp timestamp timestamp',
5902  prosrc => 'overlaps_timestamp' },
5903{ oid => '2042', descr => 'intervals overlap?',
5904  proname => 'overlaps', prolang => 'sql', proisstrict => 'f',
5905  prorettype => 'bool', proargtypes => 'timestamp interval timestamp interval',
5906  prosrc => 'see system_functions.sql' },
5907{ oid => '2043', descr => 'intervals overlap?',
5908  proname => 'overlaps', prolang => 'sql', proisstrict => 'f',
5909  prorettype => 'bool', proargtypes => 'timestamp timestamp timestamp interval',
5910  prosrc => 'see system_functions.sql' },
5911{ oid => '2044', descr => 'intervals overlap?',
5912  proname => 'overlaps', prolang => 'sql', proisstrict => 'f',
5913  prorettype => 'bool', proargtypes => 'timestamp interval timestamp timestamp',
5914  prosrc => 'see system_functions.sql' },
5915{ oid => '2045', descr => 'less-equal-greater',
5916  proname => 'timestamp_cmp', proleakproof => 't', prorettype => 'int4',
5917  proargtypes => 'timestamp timestamp', prosrc => 'timestamp_cmp' },
5918{ oid => '3137', descr => 'sort support',
5919  proname => 'timestamp_sortsupport', prorettype => 'void',
5920  proargtypes => 'internal', prosrc => 'timestamp_sortsupport' },
5921
5922{ oid => '4134', descr => 'window RANGE support',
5923  proname => 'in_range', prorettype => 'bool',
5924  proargtypes => 'timestamp timestamp interval bool bool',
5925  prosrc => 'in_range_timestamp_interval' },
5926{ oid => '4135', descr => 'window RANGE support',
5927  proname => 'in_range', provolatile => 's', prorettype => 'bool',
5928  proargtypes => 'timestamptz timestamptz interval bool bool',
5929  prosrc => 'in_range_timestamptz_interval' },
5930{ oid => '4136', descr => 'window RANGE support',
5931  proname => 'in_range', prorettype => 'bool',
5932  proargtypes => 'interval interval interval bool bool',
5933  prosrc => 'in_range_interval_interval' },
5934{ oid => '4137', descr => 'window RANGE support',
5935  proname => 'in_range', prorettype => 'bool',
5936  proargtypes => 'time time interval bool bool',
5937  prosrc => 'in_range_time_interval' },
5938{ oid => '4138', descr => 'window RANGE support',
5939  proname => 'in_range', prorettype => 'bool',
5940  proargtypes => 'timetz timetz interval bool bool',
5941  prosrc => 'in_range_timetz_interval' },
5942
5943{ oid => '2046', descr => 'convert time with time zone to time',
5944  proname => 'time', prorettype => 'time', proargtypes => 'timetz',
5945  prosrc => 'timetz_time' },
5946{ oid => '2047', descr => 'convert time to time with time zone',
5947  proname => 'timetz', provolatile => 's', prorettype => 'timetz',
5948  proargtypes => 'time', prosrc => 'time_timetz' },
5949{ oid => '2048', descr => 'finite timestamp?',
5950  proname => 'isfinite', prorettype => 'bool', proargtypes => 'timestamp',
5951  prosrc => 'timestamp_finite' },
5952{ oid => '2049', descr => 'format timestamp to text',
5953  proname => 'to_char', provolatile => 's', prorettype => 'text',
5954  proargtypes => 'timestamp text', prosrc => 'timestamp_to_char' },
5955{ oid => '2052',
5956  proname => 'timestamp_eq', proleakproof => 't', prorettype => 'bool',
5957  proargtypes => 'timestamp timestamp', prosrc => 'timestamp_eq' },
5958{ oid => '2053',
5959  proname => 'timestamp_ne', proleakproof => 't', prorettype => 'bool',
5960  proargtypes => 'timestamp timestamp', prosrc => 'timestamp_ne' },
5961{ oid => '2054',
5962  proname => 'timestamp_lt', proleakproof => 't', prorettype => 'bool',
5963  proargtypes => 'timestamp timestamp', prosrc => 'timestamp_lt' },
5964{ oid => '2055',
5965  proname => 'timestamp_le', proleakproof => 't', prorettype => 'bool',
5966  proargtypes => 'timestamp timestamp', prosrc => 'timestamp_le' },
5967{ oid => '2056',
5968  proname => 'timestamp_ge', proleakproof => 't', prorettype => 'bool',
5969  proargtypes => 'timestamp timestamp', prosrc => 'timestamp_ge' },
5970{ oid => '2057',
5971  proname => 'timestamp_gt', proleakproof => 't', prorettype => 'bool',
5972  proargtypes => 'timestamp timestamp', prosrc => 'timestamp_gt' },
5973{ oid => '2058', descr => 'date difference preserving months and years',
5974  proname => 'age', prorettype => 'interval',
5975  proargtypes => 'timestamp timestamp', prosrc => 'timestamp_age' },
5976{ oid => '2059',
5977  descr => 'date difference from today preserving months and years',
5978  proname => 'age', prolang => 'sql', provolatile => 's',
5979  prorettype => 'interval', proargtypes => 'timestamp',
5980  prosrc => 'see system_functions.sql' },
5981
5982{ oid => '2069', descr => 'adjust timestamp to new time zone',
5983  proname => 'timezone', prorettype => 'timestamptz',
5984  proargtypes => 'text timestamp', prosrc => 'timestamp_zone' },
5985{ oid => '2070', descr => 'adjust timestamp to new time zone',
5986  proname => 'timezone', prorettype => 'timestamptz',
5987  proargtypes => 'interval timestamp', prosrc => 'timestamp_izone' },
5988{ oid => '2071',
5989  proname => 'date_pl_interval', prorettype => 'timestamp',
5990  proargtypes => 'date interval', prosrc => 'date_pl_interval' },
5991{ oid => '2072',
5992  proname => 'date_mi_interval', prorettype => 'timestamp',
5993  proargtypes => 'date interval', prosrc => 'date_mi_interval' },
5994
5995{ oid => '2073', descr => 'extract text matching regular expression',
5996  proname => 'substring', prorettype => 'text', proargtypes => 'text text',
5997  prosrc => 'textregexsubstr' },
5998{ oid => '2074', descr => 'extract text matching SQL regular expression',
5999  proname => 'substring', prolang => 'sql', prorettype => 'text',
6000  proargtypes => 'text text text', prosrc => 'see system_functions.sql' },
6001
6002{ oid => '2075', descr => 'convert int8 to bitstring',
6003  proname => 'bit', prorettype => 'bit', proargtypes => 'int8 int4',
6004  prosrc => 'bitfromint8' },
6005{ oid => '2076', descr => 'convert bitstring to int8',
6006  proname => 'int8', prorettype => 'int8', proargtypes => 'bit',
6007  prosrc => 'bittoint8' },
6008
6009{ oid => '2077', descr => 'SHOW X as a function',
6010  proname => 'current_setting', provolatile => 's', prorettype => 'text',
6011  proargtypes => 'text', prosrc => 'show_config_by_name' },
6012{ oid => '3294',
6013  descr => 'SHOW X as a function, optionally no error for missing variable',
6014  proname => 'current_setting', provolatile => 's', prorettype => 'text',
6015  proargtypes => 'text bool', prosrc => 'show_config_by_name_missing_ok' },
6016{ oid => '2078', descr => 'SET X as a function',
6017  proname => 'set_config', proisstrict => 'f', provolatile => 'v',
6018  proparallel => 'u', prorettype => 'text', proargtypes => 'text text bool',
6019  prosrc => 'set_config_by_name' },
6020{ oid => '2084', descr => 'SHOW ALL as a function',
6021  proname => 'pg_show_all_settings', prorows => '1000', proretset => 't',
6022  provolatile => 's', prorettype => 'record', proargtypes => '',
6023  proallargtypes => '{text,text,text,text,text,text,text,text,text,text,text,_text,text,text,text,int4,bool}',
6024  proargmodes => '{o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o}',
6025  proargnames => '{name,setting,unit,category,short_desc,extra_desc,context,vartype,source,min_val,max_val,enumvals,boot_val,reset_val,sourcefile,sourceline,pending_restart}',
6026  prosrc => 'show_all_settings' },
6027{ oid => '3329', descr => 'show config file settings',
6028  proname => 'pg_show_all_file_settings', prorows => '1000', proretset => 't',
6029  provolatile => 'v', prorettype => 'record', proargtypes => '',
6030  proallargtypes => '{text,int4,int4,text,text,bool,text}',
6031  proargmodes => '{o,o,o,o,o,o,o}',
6032  proargnames => '{sourcefile,sourceline,seqno,name,setting,applied,error}',
6033  prosrc => 'show_all_file_settings' },
6034{ oid => '3401', descr => 'show pg_hba.conf rules',
6035  proname => 'pg_hba_file_rules', prorows => '1000', proretset => 't',
6036  provolatile => 'v', prorettype => 'record', proargtypes => '',
6037  proallargtypes => '{int4,text,_text,_text,text,text,text,_text,text}',
6038  proargmodes => '{o,o,o,o,o,o,o,o,o}',
6039  proargnames => '{line_number,type,database,user_name,address,netmask,auth_method,options,error}',
6040  prosrc => 'pg_hba_file_rules' },
6041{ oid => '1371', descr => 'view system lock information',
6042  proname => 'pg_lock_status', prorows => '1000', proretset => 't',
6043  provolatile => 'v', prorettype => 'record', proargtypes => '',
6044  proallargtypes => '{text,oid,oid,int4,int2,text,xid,oid,oid,int2,text,int4,text,bool,bool,timestamptz}',
6045  proargmodes => '{o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o}',
6046  proargnames => '{locktype,database,relation,page,tuple,virtualxid,transactionid,classid,objid,objsubid,virtualtransaction,pid,mode,granted,fastpath,waitstart}',
6047  prosrc => 'pg_lock_status' },
6048{ oid => '2561',
6049  descr => 'get array of PIDs of sessions blocking specified backend PID from acquiring a heavyweight lock',
6050  proname => 'pg_blocking_pids', provolatile => 'v', prorettype => '_int4',
6051  proargtypes => 'int4', prosrc => 'pg_blocking_pids' },
6052{ oid => '3376',
6053  descr => 'get array of PIDs of sessions blocking specified backend PID from acquiring a safe snapshot',
6054  proname => 'pg_safe_snapshot_blocking_pids', provolatile => 'v',
6055  prorettype => '_int4', proargtypes => 'int4',
6056  prosrc => 'pg_safe_snapshot_blocking_pids' },
6057{ oid => '3378', descr => 'isolationtester support function',
6058  proname => 'pg_isolation_test_session_is_blocked', provolatile => 'v',
6059  prorettype => 'bool', proargtypes => 'int4 _int4',
6060  prosrc => 'pg_isolation_test_session_is_blocked' },
6061{ oid => '1065', descr => 'view two-phase transactions',
6062  proname => 'pg_prepared_xact', prorows => '1000', proretset => 't',
6063  provolatile => 'v', prorettype => 'record', proargtypes => '',
6064  proallargtypes => '{xid,text,timestamptz,oid,oid}',
6065  proargmodes => '{o,o,o,o,o}',
6066  proargnames => '{transaction,gid,prepared,ownerid,dbid}',
6067  prosrc => 'pg_prepared_xact' },
6068{ oid => '3819', descr => 'view members of a multixactid',
6069  proname => 'pg_get_multixact_members', prorows => '1000', proretset => 't',
6070  provolatile => 'v', prorettype => 'record', proargtypes => 'xid',
6071  proallargtypes => '{xid,xid,text}', proargmodes => '{i,o,o}',
6072  proargnames => '{multixid,xid,mode}', prosrc => 'pg_get_multixact_members' },
6073
6074{ oid => '3581', descr => 'get commit timestamp of a transaction',
6075  proname => 'pg_xact_commit_timestamp', provolatile => 'v',
6076  prorettype => 'timestamptz', proargtypes => 'xid',
6077  prosrc => 'pg_xact_commit_timestamp' },
6078
6079{ oid => '6168',
6080  descr => 'get commit timestamp and replication origin of a transaction',
6081  proname => 'pg_xact_commit_timestamp_origin', provolatile => 'v',
6082  prorettype => 'record', proargtypes => 'xid',
6083  proallargtypes => '{xid,timestamptz,oid}', proargmodes => '{i,o,o}',
6084  proargnames => '{xid,timestamp,roident}',
6085  prosrc => 'pg_xact_commit_timestamp_origin' },
6086
6087{ oid => '3583',
6088  descr => 'get transaction Id, commit timestamp and replication origin of latest transaction commit',
6089  proname => 'pg_last_committed_xact', provolatile => 'v',
6090  prorettype => 'record', proargtypes => '',
6091  proallargtypes => '{xid,timestamptz,oid}', proargmodes => '{o,o,o}',
6092  proargnames => '{xid,timestamp,roident}',
6093  prosrc => 'pg_last_committed_xact' },
6094
6095{ oid => '3537', descr => 'get identification of SQL object',
6096  proname => 'pg_describe_object', provolatile => 's', prorettype => 'text',
6097  proargtypes => 'oid oid int4', prosrc => 'pg_describe_object' },
6098
6099{ oid => '3839',
6100  descr => 'get machine-parseable identification of SQL object',
6101  proname => 'pg_identify_object', provolatile => 's', prorettype => 'record',
6102  proargtypes => 'oid oid int4',
6103  proallargtypes => '{oid,oid,int4,text,text,text,text}',
6104  proargmodes => '{i,i,i,o,o,o,o}',
6105  proargnames => '{classid,objid,objsubid,type,schema,name,identity}',
6106  prosrc => 'pg_identify_object' },
6107
6108{ oid => '3382',
6109  descr => 'get identification of SQL object for pg_get_object_address()',
6110  proname => 'pg_identify_object_as_address', provolatile => 's',
6111  prorettype => 'record', proargtypes => 'oid oid int4',
6112  proallargtypes => '{oid,oid,int4,text,_text,_text}',
6113  proargmodes => '{i,i,i,o,o,o}',
6114  proargnames => '{classid,objid,objsubid,type,object_names,object_args}',
6115  prosrc => 'pg_identify_object_as_address' },
6116
6117{ oid => '3954',
6118  descr => 'get OID-based object address from name/args arrays',
6119  proname => 'pg_get_object_address', provolatile => 's',
6120  prorettype => 'record', proargtypes => 'text _text _text',
6121  proallargtypes => '{text,_text,_text,oid,oid,int4}',
6122  proargmodes => '{i,i,i,o,o,o}',
6123  proargnames => '{type,object_names,object_args,classid,objid,objsubid}',
6124  prosrc => 'pg_get_object_address' },
6125
6126{ oid => '2079', descr => 'is table visible in search path?',
6127  proname => 'pg_table_is_visible', procost => '10', provolatile => 's',
6128  prorettype => 'bool', proargtypes => 'oid', prosrc => 'pg_table_is_visible' },
6129{ oid => '2080', descr => 'is type visible in search path?',
6130  proname => 'pg_type_is_visible', procost => '10', provolatile => 's',
6131  prorettype => 'bool', proargtypes => 'oid', prosrc => 'pg_type_is_visible' },
6132{ oid => '2081', descr => 'is function visible in search path?',
6133  proname => 'pg_function_is_visible', procost => '10', provolatile => 's',
6134  prorettype => 'bool', proargtypes => 'oid',
6135  prosrc => 'pg_function_is_visible' },
6136{ oid => '2082', descr => 'is operator visible in search path?',
6137  proname => 'pg_operator_is_visible', procost => '10', provolatile => 's',
6138  prorettype => 'bool', proargtypes => 'oid',
6139  prosrc => 'pg_operator_is_visible' },
6140{ oid => '2083', descr => 'is opclass visible in search path?',
6141  proname => 'pg_opclass_is_visible', procost => '10', provolatile => 's',
6142  prorettype => 'bool', proargtypes => 'oid',
6143  prosrc => 'pg_opclass_is_visible' },
6144{ oid => '3829', descr => 'is opfamily visible in search path?',
6145  proname => 'pg_opfamily_is_visible', procost => '10', provolatile => 's',
6146  prorettype => 'bool', proargtypes => 'oid',
6147  prosrc => 'pg_opfamily_is_visible' },
6148{ oid => '2093', descr => 'is conversion visible in search path?',
6149  proname => 'pg_conversion_is_visible', procost => '10', provolatile => 's',
6150  prorettype => 'bool', proargtypes => 'oid',
6151  prosrc => 'pg_conversion_is_visible' },
6152{ oid => '3403', descr => 'is statistics object visible in search path?',
6153  proname => 'pg_statistics_obj_is_visible', procost => '10',
6154  provolatile => 's', prorettype => 'bool', proargtypes => 'oid',
6155  prosrc => 'pg_statistics_obj_is_visible' },
6156{ oid => '3756', descr => 'is text search parser visible in search path?',
6157  proname => 'pg_ts_parser_is_visible', procost => '10', provolatile => 's',
6158  prorettype => 'bool', proargtypes => 'oid',
6159  prosrc => 'pg_ts_parser_is_visible' },
6160{ oid => '3757', descr => 'is text search dictionary visible in search path?',
6161  proname => 'pg_ts_dict_is_visible', procost => '10', provolatile => 's',
6162  prorettype => 'bool', proargtypes => 'oid',
6163  prosrc => 'pg_ts_dict_is_visible' },
6164{ oid => '3768', descr => 'is text search template visible in search path?',
6165  proname => 'pg_ts_template_is_visible', procost => '10', provolatile => 's',
6166  prorettype => 'bool', proargtypes => 'oid',
6167  prosrc => 'pg_ts_template_is_visible' },
6168{ oid => '3758',
6169  descr => 'is text search configuration visible in search path?',
6170  proname => 'pg_ts_config_is_visible', procost => '10', provolatile => 's',
6171  prorettype => 'bool', proargtypes => 'oid',
6172  prosrc => 'pg_ts_config_is_visible' },
6173{ oid => '3815', descr => 'is collation visible in search path?',
6174  proname => 'pg_collation_is_visible', procost => '10', provolatile => 's',
6175  prorettype => 'bool', proargtypes => 'oid',
6176  prosrc => 'pg_collation_is_visible' },
6177
6178{ oid => '2854', descr => 'get OID of current session\'s temp schema, if any',
6179  proname => 'pg_my_temp_schema', provolatile => 's', proparallel => 'r',
6180  prorettype => 'oid', proargtypes => '', prosrc => 'pg_my_temp_schema' },
6181{ oid => '2855', descr => 'is schema another session\'s temp schema?',
6182  proname => 'pg_is_other_temp_schema', provolatile => 's',
6183  prorettype => 'bool', proargtypes => 'oid',
6184  prosrc => 'pg_is_other_temp_schema' },
6185
6186{ oid => '2171', descr => 'cancel a server process\' current query',
6187  proname => 'pg_cancel_backend', provolatile => 'v', prorettype => 'bool',
6188  proargtypes => 'int4', prosrc => 'pg_cancel_backend' },
6189{ oid => '2096', descr => 'terminate a server process',
6190  proname => 'pg_terminate_backend', provolatile => 'v', prorettype => 'bool',
6191  proargtypes => 'int4 int8', proargnames => '{pid,timeout}',
6192  prosrc => 'pg_terminate_backend' },
6193{ oid => '2172', descr => 'prepare for taking an online backup',
6194  proname => 'pg_start_backup', provolatile => 'v', proparallel => 'r',
6195  prorettype => 'pg_lsn', proargtypes => 'text bool bool',
6196  prosrc => 'pg_start_backup' },
6197{ oid => '2173', descr => 'finish taking an online backup',
6198  proname => 'pg_stop_backup', provolatile => 'v', proparallel => 'r',
6199  prorettype => 'pg_lsn', proargtypes => '', prosrc => 'pg_stop_backup' },
6200{ oid => '2739', descr => 'finish taking an online backup',
6201  proname => 'pg_stop_backup', prorows => '1', proretset => 't',
6202  provolatile => 'v', proparallel => 'r', prorettype => 'record',
6203  proargtypes => 'bool bool', proallargtypes => '{bool,bool,pg_lsn,text,text}',
6204  proargmodes => '{i,i,o,o,o}',
6205  proargnames => '{exclusive,wait_for_archive,lsn,labelfile,spcmapfile}',
6206  prosrc => 'pg_stop_backup_v2' },
6207{ oid => '3813', descr => 'true if server is in online backup',
6208  proname => 'pg_is_in_backup', provolatile => 'v', prorettype => 'bool',
6209  proargtypes => '', prosrc => 'pg_is_in_backup' },
6210{ oid => '3814', descr => 'start time of an online backup',
6211  proname => 'pg_backup_start_time', provolatile => 's',
6212  prorettype => 'timestamptz', proargtypes => '',
6213  prosrc => 'pg_backup_start_time' },
6214{ oid => '3436', descr => 'promote standby server',
6215  proname => 'pg_promote', provolatile => 'v', prorettype => 'bool',
6216  proargtypes => 'bool int4', proargnames => '{wait,wait_seconds}',
6217  prosrc => 'pg_promote' },
6218{ oid => '2848', descr => 'switch to new wal file',
6219  proname => 'pg_switch_wal', provolatile => 'v', prorettype => 'pg_lsn',
6220  proargtypes => '', prosrc => 'pg_switch_wal' },
6221{ oid => '3098', descr => 'create a named restore point',
6222  proname => 'pg_create_restore_point', provolatile => 'v',
6223  prorettype => 'pg_lsn', proargtypes => 'text',
6224  prosrc => 'pg_create_restore_point' },
6225{ oid => '2849', descr => 'current wal write location',
6226  proname => 'pg_current_wal_lsn', provolatile => 'v', prorettype => 'pg_lsn',
6227  proargtypes => '', prosrc => 'pg_current_wal_lsn' },
6228{ oid => '2852', descr => 'current wal insert location',
6229  proname => 'pg_current_wal_insert_lsn', provolatile => 'v',
6230  prorettype => 'pg_lsn', proargtypes => '',
6231  prosrc => 'pg_current_wal_insert_lsn' },
6232{ oid => '3330', descr => 'current wal flush location',
6233  proname => 'pg_current_wal_flush_lsn', provolatile => 'v',
6234  prorettype => 'pg_lsn', proargtypes => '',
6235  prosrc => 'pg_current_wal_flush_lsn' },
6236{ oid => '2850',
6237  descr => 'wal filename and byte offset, given a wal location',
6238  proname => 'pg_walfile_name_offset', prorettype => 'record',
6239  proargtypes => 'pg_lsn', proallargtypes => '{pg_lsn,text,int4}',
6240  proargmodes => '{i,o,o}', proargnames => '{lsn,file_name,file_offset}',
6241  prosrc => 'pg_walfile_name_offset' },
6242{ oid => '2851', descr => 'wal filename, given a wal location',
6243  proname => 'pg_walfile_name', prorettype => 'text', proargtypes => 'pg_lsn',
6244  prosrc => 'pg_walfile_name' },
6245
6246{ oid => '3165', descr => 'difference in bytes, given two wal locations',
6247  proname => 'pg_wal_lsn_diff', prorettype => 'numeric',
6248  proargtypes => 'pg_lsn pg_lsn', prosrc => 'pg_wal_lsn_diff' },
6249
6250{ oid => '3809', descr => 'export a snapshot',
6251  proname => 'pg_export_snapshot', provolatile => 'v', proparallel => 'u',
6252  prorettype => 'text', proargtypes => '', prosrc => 'pg_export_snapshot' },
6253
6254{ oid => '3810', descr => 'true if server is in recovery',
6255  proname => 'pg_is_in_recovery', provolatile => 'v', prorettype => 'bool',
6256  proargtypes => '', prosrc => 'pg_is_in_recovery' },
6257
6258{ oid => '3820', descr => 'current wal flush location',
6259  proname => 'pg_last_wal_receive_lsn', provolatile => 'v',
6260  prorettype => 'pg_lsn', proargtypes => '',
6261  prosrc => 'pg_last_wal_receive_lsn' },
6262{ oid => '3821', descr => 'last wal replay location',
6263  proname => 'pg_last_wal_replay_lsn', provolatile => 'v',
6264  prorettype => 'pg_lsn', proargtypes => '',
6265  prosrc => 'pg_last_wal_replay_lsn' },
6266{ oid => '3830', descr => 'timestamp of last replay xact',
6267  proname => 'pg_last_xact_replay_timestamp', provolatile => 'v',
6268  prorettype => 'timestamptz', proargtypes => '',
6269  prosrc => 'pg_last_xact_replay_timestamp' },
6270
6271{ oid => '3071', descr => 'pause wal replay',
6272  proname => 'pg_wal_replay_pause', provolatile => 'v', prorettype => 'void',
6273  proargtypes => '', prosrc => 'pg_wal_replay_pause' },
6274{ oid => '3072', descr => 'resume wal replay, if it was paused',
6275  proname => 'pg_wal_replay_resume', provolatile => 'v', prorettype => 'void',
6276  proargtypes => '', prosrc => 'pg_wal_replay_resume' },
6277{ oid => '3073', descr => 'true if wal replay is paused',
6278  proname => 'pg_is_wal_replay_paused', provolatile => 'v',
6279  prorettype => 'bool', proargtypes => '',
6280  prosrc => 'pg_is_wal_replay_paused' },
6281{ oid => '1137', descr => 'get wal replay pause state',
6282  proname => 'pg_get_wal_replay_pause_state', provolatile => 'v',
6283  prorettype => 'text', proargtypes => '',
6284  prosrc => 'pg_get_wal_replay_pause_state' },
6285
6286{ oid => '2621', descr => 'reload configuration files',
6287  proname => 'pg_reload_conf', provolatile => 'v', prorettype => 'bool',
6288  proargtypes => '', prosrc => 'pg_reload_conf' },
6289{ oid => '2622', descr => 'rotate log file',
6290  proname => 'pg_rotate_logfile', provolatile => 'v', prorettype => 'bool',
6291  proargtypes => '', prosrc => 'pg_rotate_logfile_v2' },
6292{ oid => '4099', descr => 'rotate log file - old version for adminpack 1.0',
6293  proname => 'pg_rotate_logfile_old', provolatile => 'v', prorettype => 'bool',
6294  proargtypes => '', prosrc => 'pg_rotate_logfile' },
6295{ oid => '3800', descr => 'current logging collector file location',
6296  proname => 'pg_current_logfile', proisstrict => 'f', provolatile => 'v',
6297  prorettype => 'text', proargtypes => '', prosrc => 'pg_current_logfile' },
6298{ oid => '3801', descr => 'current logging collector file location',
6299  proname => 'pg_current_logfile', proisstrict => 'f', provolatile => 'v',
6300  prorettype => 'text', proargtypes => 'text',
6301  prosrc => 'pg_current_logfile_1arg' },
6302
6303{ oid => '2623', descr => 'get information about file',
6304  proname => 'pg_stat_file', provolatile => 'v', prorettype => 'record',
6305  proargtypes => 'text',
6306  proallargtypes => '{text,int8,timestamptz,timestamptz,timestamptz,timestamptz,bool}',
6307  proargmodes => '{i,o,o,o,o,o,o}',
6308  proargnames => '{filename,size,access,modification,change,creation,isdir}',
6309  prosrc => 'pg_stat_file_1arg' },
6310{ oid => '3307', descr => 'get information about file',
6311  proname => 'pg_stat_file', provolatile => 'v', prorettype => 'record',
6312  proargtypes => 'text bool',
6313  proallargtypes => '{text,bool,int8,timestamptz,timestamptz,timestamptz,timestamptz,bool}',
6314  proargmodes => '{i,i,o,o,o,o,o,o}',
6315  proargnames => '{filename,missing_ok,size,access,modification,change,creation,isdir}',
6316  prosrc => 'pg_stat_file' },
6317{ oid => '2624', descr => 'read text from a file',
6318  proname => 'pg_read_file', provolatile => 'v', prorettype => 'text',
6319  proargtypes => 'text int8 int8', prosrc => 'pg_read_file_off_len' },
6320{ oid => '3293', descr => 'read text from a file',
6321  proname => 'pg_read_file', provolatile => 'v', prorettype => 'text',
6322  proargtypes => 'text int8 int8 bool', prosrc => 'pg_read_file_v2' },
6323{ oid => '4100',
6324  descr => 'read text from a file - old version for adminpack 1.0',
6325  proname => 'pg_read_file_old', provolatile => 'v', prorettype => 'text',
6326  proargtypes => 'text int8 int8', prosrc => 'pg_read_file' },
6327{ oid => '3826', descr => 'read text from a file',
6328  proname => 'pg_read_file', provolatile => 'v', prorettype => 'text',
6329  proargtypes => 'text', prosrc => 'pg_read_file_all' },
6330{ oid => '3827', descr => 'read bytea from a file',
6331  proname => 'pg_read_binary_file', provolatile => 'v', prorettype => 'bytea',
6332  proargtypes => 'text int8 int8', prosrc => 'pg_read_binary_file_off_len' },
6333{ oid => '3295', descr => 'read bytea from a file',
6334  proname => 'pg_read_binary_file', provolatile => 'v', prorettype => 'bytea',
6335  proargtypes => 'text int8 int8 bool', prosrc => 'pg_read_binary_file' },
6336{ oid => '3828', descr => 'read bytea from a file',
6337  proname => 'pg_read_binary_file', provolatile => 'v', prorettype => 'bytea',
6338  proargtypes => 'text', prosrc => 'pg_read_binary_file_all' },
6339{ oid => '2625', descr => 'list all files in a directory',
6340  proname => 'pg_ls_dir', prorows => '1000', proretset => 't',
6341  provolatile => 'v', prorettype => 'text', proargtypes => 'text',
6342  prosrc => 'pg_ls_dir_1arg' },
6343{ oid => '3297', descr => 'list all files in a directory',
6344  proname => 'pg_ls_dir', prorows => '1000', proretset => 't',
6345  provolatile => 'v', prorettype => 'text', proargtypes => 'text bool bool',
6346  prosrc => 'pg_ls_dir' },
6347{ oid => '2626', descr => 'sleep for the specified time in seconds',
6348  proname => 'pg_sleep', provolatile => 'v', prorettype => 'void',
6349  proargtypes => 'float8', prosrc => 'pg_sleep' },
6350{ oid => '3935', descr => 'sleep for the specified interval',
6351  proname => 'pg_sleep_for', prolang => 'sql', provolatile => 'v',
6352  prorettype => 'void', proargtypes => 'interval',
6353  prosrc => 'see system_functions.sql' },
6354{ oid => '3936', descr => 'sleep until the specified time',
6355  proname => 'pg_sleep_until', prolang => 'sql', provolatile => 'v',
6356  prorettype => 'void', proargtypes => 'timestamptz',
6357  prosrc => 'see system_functions.sql' },
6358{ oid => '315', descr => 'Is JIT compilation available in this session?',
6359  proname => 'pg_jit_available', provolatile => 'v', prorettype => 'bool',
6360  proargtypes => '', prosrc => 'pg_jit_available' },
6361
6362{ oid => '2971', descr => 'convert boolean to text',
6363  proname => 'text', prorettype => 'text', proargtypes => 'bool',
6364  prosrc => 'booltext' },
6365
6366# Aggregates (moved here from pg_aggregate for 7.3)
6367
6368{ oid => '2100',
6369  descr => 'the average (arithmetic mean) as numeric of all bigint values',
6370  proname => 'avg', prokind => 'a', proisstrict => 'f', prorettype => 'numeric',
6371  proargtypes => 'int8', prosrc => 'aggregate_dummy' },
6372{ oid => '2101',
6373  descr => 'the average (arithmetic mean) as numeric of all integer values',
6374  proname => 'avg', prokind => 'a', proisstrict => 'f', prorettype => 'numeric',
6375  proargtypes => 'int4', prosrc => 'aggregate_dummy' },
6376{ oid => '2102',
6377  descr => 'the average (arithmetic mean) as numeric of all smallint values',
6378  proname => 'avg', prokind => 'a', proisstrict => 'f', prorettype => 'numeric',
6379  proargtypes => 'int2', prosrc => 'aggregate_dummy' },
6380{ oid => '2103',
6381  descr => 'the average (arithmetic mean) as numeric of all numeric values',
6382  proname => 'avg', prokind => 'a', proisstrict => 'f', prorettype => 'numeric',
6383  proargtypes => 'numeric', prosrc => 'aggregate_dummy' },
6384{ oid => '2104',
6385  descr => 'the average (arithmetic mean) as float8 of all float4 values',
6386  proname => 'avg', prokind => 'a', proisstrict => 'f', prorettype => 'float8',
6387  proargtypes => 'float4', prosrc => 'aggregate_dummy' },
6388{ oid => '2105',
6389  descr => 'the average (arithmetic mean) as float8 of all float8 values',
6390  proname => 'avg', prokind => 'a', proisstrict => 'f', prorettype => 'float8',
6391  proargtypes => 'float8', prosrc => 'aggregate_dummy' },
6392{ oid => '2106',
6393  descr => 'the average (arithmetic mean) as interval of all interval values',
6394  proname => 'avg', prokind => 'a', proisstrict => 'f',
6395  prorettype => 'interval', proargtypes => 'interval',
6396  prosrc => 'aggregate_dummy' },
6397
6398{ oid => '2107', descr => 'sum as numeric across all bigint input values',
6399  proname => 'sum', prokind => 'a', proisstrict => 'f', prorettype => 'numeric',
6400  proargtypes => 'int8', prosrc => 'aggregate_dummy' },
6401{ oid => '2108', descr => 'sum as bigint across all integer input values',
6402  proname => 'sum', prokind => 'a', proisstrict => 'f', prorettype => 'int8',
6403  proargtypes => 'int4', prosrc => 'aggregate_dummy' },
6404{ oid => '2109', descr => 'sum as bigint across all smallint input values',
6405  proname => 'sum', prokind => 'a', proisstrict => 'f', prorettype => 'int8',
6406  proargtypes => 'int2', prosrc => 'aggregate_dummy' },
6407{ oid => '2110', descr => 'sum as float4 across all float4 input values',
6408  proname => 'sum', prokind => 'a', proisstrict => 'f', prorettype => 'float4',
6409  proargtypes => 'float4', prosrc => 'aggregate_dummy' },
6410{ oid => '2111', descr => 'sum as float8 across all float8 input values',
6411  proname => 'sum', prokind => 'a', proisstrict => 'f', prorettype => 'float8',
6412  proargtypes => 'float8', prosrc => 'aggregate_dummy' },
6413{ oid => '2112', descr => 'sum as money across all money input values',
6414  proname => 'sum', prokind => 'a', proisstrict => 'f', prorettype => 'money',
6415  proargtypes => 'money', prosrc => 'aggregate_dummy' },
6416{ oid => '2113', descr => 'sum as interval across all interval input values',
6417  proname => 'sum', prokind => 'a', proisstrict => 'f',
6418  prorettype => 'interval', proargtypes => 'interval',
6419  prosrc => 'aggregate_dummy' },
6420{ oid => '2114', descr => 'sum as numeric across all numeric input values',
6421  proname => 'sum', prokind => 'a', proisstrict => 'f', prorettype => 'numeric',
6422  proargtypes => 'numeric', prosrc => 'aggregate_dummy' },
6423
6424{ oid => '2115', descr => 'maximum value of all bigint input values',
6425  proname => 'max', prokind => 'a', proisstrict => 'f', prorettype => 'int8',
6426  proargtypes => 'int8', prosrc => 'aggregate_dummy' },
6427{ oid => '2116', descr => 'maximum value of all integer input values',
6428  proname => 'max', prokind => 'a', proisstrict => 'f', prorettype => 'int4',
6429  proargtypes => 'int4', prosrc => 'aggregate_dummy' },
6430{ oid => '2117', descr => 'maximum value of all smallint input values',
6431  proname => 'max', prokind => 'a', proisstrict => 'f', prorettype => 'int2',
6432  proargtypes => 'int2', prosrc => 'aggregate_dummy' },
6433{ oid => '2118', descr => 'maximum value of all oid input values',
6434  proname => 'max', prokind => 'a', proisstrict => 'f', prorettype => 'oid',
6435  proargtypes => 'oid', prosrc => 'aggregate_dummy' },
6436{ oid => '2119', descr => 'maximum value of all float4 input values',
6437  proname => 'max', prokind => 'a', proisstrict => 'f', prorettype => 'float4',
6438  proargtypes => 'float4', prosrc => 'aggregate_dummy' },
6439{ oid => '2120', descr => 'maximum value of all float8 input values',
6440  proname => 'max', prokind => 'a', proisstrict => 'f', prorettype => 'float8',
6441  proargtypes => 'float8', prosrc => 'aggregate_dummy' },
6442{ oid => '2122', descr => 'maximum value of all date input values',
6443  proname => 'max', prokind => 'a', proisstrict => 'f', prorettype => 'date',
6444  proargtypes => 'date', prosrc => 'aggregate_dummy' },
6445{ oid => '2123', descr => 'maximum value of all time input values',
6446  proname => 'max', prokind => 'a', proisstrict => 'f', prorettype => 'time',
6447  proargtypes => 'time', prosrc => 'aggregate_dummy' },
6448{ oid => '2124',
6449  descr => 'maximum value of all time with time zone input values',
6450  proname => 'max', prokind => 'a', proisstrict => 'f', prorettype => 'timetz',
6451  proargtypes => 'timetz', prosrc => 'aggregate_dummy' },
6452{ oid => '2125', descr => 'maximum value of all money input values',
6453  proname => 'max', prokind => 'a', proisstrict => 'f', prorettype => 'money',
6454  proargtypes => 'money', prosrc => 'aggregate_dummy' },
6455{ oid => '2126', descr => 'maximum value of all timestamp input values',
6456  proname => 'max', prokind => 'a', proisstrict => 'f',
6457  prorettype => 'timestamp', proargtypes => 'timestamp',
6458  prosrc => 'aggregate_dummy' },
6459{ oid => '2127',
6460  descr => 'maximum value of all timestamp with time zone input values',
6461  proname => 'max', prokind => 'a', proisstrict => 'f',
6462  prorettype => 'timestamptz', proargtypes => 'timestamptz',
6463  prosrc => 'aggregate_dummy' },
6464{ oid => '2128', descr => 'maximum value of all interval input values',
6465  proname => 'max', prokind => 'a', proisstrict => 'f',
6466  prorettype => 'interval', proargtypes => 'interval',
6467  prosrc => 'aggregate_dummy' },
6468{ oid => '2129', descr => 'maximum value of all text input values',
6469  proname => 'max', prokind => 'a', proisstrict => 'f', prorettype => 'text',
6470  proargtypes => 'text', prosrc => 'aggregate_dummy' },
6471{ oid => '2130', descr => 'maximum value of all numeric input values',
6472  proname => 'max', prokind => 'a', proisstrict => 'f', prorettype => 'numeric',
6473  proargtypes => 'numeric', prosrc => 'aggregate_dummy' },
6474{ oid => '2050', descr => 'maximum value of all anyarray input values',
6475  proname => 'max', prokind => 'a', proisstrict => 'f',
6476  prorettype => 'anyarray', proargtypes => 'anyarray',
6477  prosrc => 'aggregate_dummy' },
6478{ oid => '2244', descr => 'maximum value of all bpchar input values',
6479  proname => 'max', prokind => 'a', proisstrict => 'f', prorettype => 'bpchar',
6480  proargtypes => 'bpchar', prosrc => 'aggregate_dummy' },
6481{ oid => '2797', descr => 'maximum value of all tid input values',
6482  proname => 'max', prokind => 'a', proisstrict => 'f', prorettype => 'tid',
6483  proargtypes => 'tid', prosrc => 'aggregate_dummy' },
6484{ oid => '3564', descr => 'maximum value of all inet input values',
6485  proname => 'max', prokind => 'a', proisstrict => 'f', prorettype => 'inet',
6486  proargtypes => 'inet', prosrc => 'aggregate_dummy' },
6487{ oid => '4189', descr => 'maximum value of all pg_lsn input values',
6488  proname => 'max', prokind => 'a', proisstrict => 'f', prorettype => 'pg_lsn',
6489  proargtypes => 'pg_lsn', prosrc => 'aggregate_dummy' },
6490
6491{ oid => '2131', descr => 'minimum value of all bigint input values',
6492  proname => 'min', prokind => 'a', proisstrict => 'f', prorettype => 'int8',
6493  proargtypes => 'int8', prosrc => 'aggregate_dummy' },
6494{ oid => '2132', descr => 'minimum value of all integer input values',
6495  proname => 'min', prokind => 'a', proisstrict => 'f', prorettype => 'int4',
6496  proargtypes => 'int4', prosrc => 'aggregate_dummy' },
6497{ oid => '2133', descr => 'minimum value of all smallint input values',
6498  proname => 'min', prokind => 'a', proisstrict => 'f', prorettype => 'int2',
6499  proargtypes => 'int2', prosrc => 'aggregate_dummy' },
6500{ oid => '2134', descr => 'minimum value of all oid input values',
6501  proname => 'min', prokind => 'a', proisstrict => 'f', prorettype => 'oid',
6502  proargtypes => 'oid', prosrc => 'aggregate_dummy' },
6503{ oid => '2135', descr => 'minimum value of all float4 input values',
6504  proname => 'min', prokind => 'a', proisstrict => 'f', prorettype => 'float4',
6505  proargtypes => 'float4', prosrc => 'aggregate_dummy' },
6506{ oid => '2136', descr => 'minimum value of all float8 input values',
6507  proname => 'min', prokind => 'a', proisstrict => 'f', prorettype => 'float8',
6508  proargtypes => 'float8', prosrc => 'aggregate_dummy' },
6509{ oid => '2138', descr => 'minimum value of all date input values',
6510  proname => 'min', prokind => 'a', proisstrict => 'f', prorettype => 'date',
6511  proargtypes => 'date', prosrc => 'aggregate_dummy' },
6512{ oid => '2139', descr => 'minimum value of all time input values',
6513  proname => 'min', prokind => 'a', proisstrict => 'f', prorettype => 'time',
6514  proargtypes => 'time', prosrc => 'aggregate_dummy' },
6515{ oid => '2140',
6516  descr => 'minimum value of all time with time zone input values',
6517  proname => 'min', prokind => 'a', proisstrict => 'f', prorettype => 'timetz',
6518  proargtypes => 'timetz', prosrc => 'aggregate_dummy' },
6519{ oid => '2141', descr => 'minimum value of all money input values',
6520  proname => 'min', prokind => 'a', proisstrict => 'f', prorettype => 'money',
6521  proargtypes => 'money', prosrc => 'aggregate_dummy' },
6522{ oid => '2142', descr => 'minimum value of all timestamp input values',
6523  proname => 'min', prokind => 'a', proisstrict => 'f',
6524  prorettype => 'timestamp', proargtypes => 'timestamp',
6525  prosrc => 'aggregate_dummy' },
6526{ oid => '2143',
6527  descr => 'minimum value of all timestamp with time zone input values',
6528  proname => 'min', prokind => 'a', proisstrict => 'f',
6529  prorettype => 'timestamptz', proargtypes => 'timestamptz',
6530  prosrc => 'aggregate_dummy' },
6531{ oid => '2144', descr => 'minimum value of all interval input values',
6532  proname => 'min', prokind => 'a', proisstrict => 'f',
6533  prorettype => 'interval', proargtypes => 'interval',
6534  prosrc => 'aggregate_dummy' },
6535{ oid => '2145', descr => 'minimum value of all text values',
6536  proname => 'min', prokind => 'a', proisstrict => 'f', prorettype => 'text',
6537  proargtypes => 'text', prosrc => 'aggregate_dummy' },
6538{ oid => '2146', descr => 'minimum value of all numeric input values',
6539  proname => 'min', prokind => 'a', proisstrict => 'f', prorettype => 'numeric',
6540  proargtypes => 'numeric', prosrc => 'aggregate_dummy' },
6541{ oid => '2051', descr => 'minimum value of all anyarray input values',
6542  proname => 'min', prokind => 'a', proisstrict => 'f',
6543  prorettype => 'anyarray', proargtypes => 'anyarray',
6544  prosrc => 'aggregate_dummy' },
6545{ oid => '2245', descr => 'minimum value of all bpchar input values',
6546  proname => 'min', prokind => 'a', proisstrict => 'f', prorettype => 'bpchar',
6547  proargtypes => 'bpchar', prosrc => 'aggregate_dummy' },
6548{ oid => '2798', descr => 'minimum value of all tid input values',
6549  proname => 'min', prokind => 'a', proisstrict => 'f', prorettype => 'tid',
6550  proargtypes => 'tid', prosrc => 'aggregate_dummy' },
6551{ oid => '3565', descr => 'minimum value of all inet input values',
6552  proname => 'min', prokind => 'a', proisstrict => 'f', prorettype => 'inet',
6553  proargtypes => 'inet', prosrc => 'aggregate_dummy' },
6554{ oid => '4190', descr => 'minimum value of all pg_lsn input values',
6555  proname => 'min', prokind => 'a', proisstrict => 'f', prorettype => 'pg_lsn',
6556  proargtypes => 'pg_lsn', prosrc => 'aggregate_dummy' },
6557
6558# count has two forms: count(any) and count(*)
6559{ oid => '2147',
6560  descr => 'number of input rows for which the input expression is not null',
6561  proname => 'count', prokind => 'a', proisstrict => 'f', prorettype => 'int8',
6562  proargtypes => 'any', prosrc => 'aggregate_dummy' },
6563{ oid => '2803', descr => 'number of input rows',
6564  proname => 'count', prokind => 'a', proisstrict => 'f', prorettype => 'int8',
6565  proargtypes => '', prosrc => 'aggregate_dummy' },
6566
6567{ oid => '2718',
6568  descr => 'population variance of bigint input values (square of the population standard deviation)',
6569  proname => 'var_pop', prokind => 'a', proisstrict => 'f',
6570  prorettype => 'numeric', proargtypes => 'int8', prosrc => 'aggregate_dummy' },
6571{ oid => '2719',
6572  descr => 'population variance of integer input values (square of the population standard deviation)',
6573  proname => 'var_pop', prokind => 'a', proisstrict => 'f',
6574  prorettype => 'numeric', proargtypes => 'int4', prosrc => 'aggregate_dummy' },
6575{ oid => '2720',
6576  descr => 'population variance of smallint input values (square of the population standard deviation)',
6577  proname => 'var_pop', prokind => 'a', proisstrict => 'f',
6578  prorettype => 'numeric', proargtypes => 'int2', prosrc => 'aggregate_dummy' },
6579{ oid => '2721',
6580  descr => 'population variance of float4 input values (square of the population standard deviation)',
6581  proname => 'var_pop', prokind => 'a', proisstrict => 'f',
6582  prorettype => 'float8', proargtypes => 'float4',
6583  prosrc => 'aggregate_dummy' },
6584{ oid => '2722',
6585  descr => 'population variance of float8 input values (square of the population standard deviation)',
6586  proname => 'var_pop', prokind => 'a', proisstrict => 'f',
6587  prorettype => 'float8', proargtypes => 'float8',
6588  prosrc => 'aggregate_dummy' },
6589{ oid => '2723',
6590  descr => 'population variance of numeric input values (square of the population standard deviation)',
6591  proname => 'var_pop', prokind => 'a', proisstrict => 'f',
6592  prorettype => 'numeric', proargtypes => 'numeric',
6593  prosrc => 'aggregate_dummy' },
6594
6595{ oid => '2641',
6596  descr => 'sample variance of bigint input values (square of the sample standard deviation)',
6597  proname => 'var_samp', prokind => 'a', proisstrict => 'f',
6598  prorettype => 'numeric', proargtypes => 'int8', prosrc => 'aggregate_dummy' },
6599{ oid => '2642',
6600  descr => 'sample variance of integer input values (square of the sample standard deviation)',
6601  proname => 'var_samp', prokind => 'a', proisstrict => 'f',
6602  prorettype => 'numeric', proargtypes => 'int4', prosrc => 'aggregate_dummy' },
6603{ oid => '2643',
6604  descr => 'sample variance of smallint input values (square of the sample standard deviation)',
6605  proname => 'var_samp', prokind => 'a', proisstrict => 'f',
6606  prorettype => 'numeric', proargtypes => 'int2', prosrc => 'aggregate_dummy' },
6607{ oid => '2644',
6608  descr => 'sample variance of float4 input values (square of the sample standard deviation)',
6609  proname => 'var_samp', prokind => 'a', proisstrict => 'f',
6610  prorettype => 'float8', proargtypes => 'float4',
6611  prosrc => 'aggregate_dummy' },
6612
6613{ oid => '2645',
6614  descr => 'sample variance of float8 input values (square of the sample standard deviation)',
6615  proname => 'var_samp', prokind => 'a', proisstrict => 'f',
6616  prorettype => 'float8', proargtypes => 'float8',
6617  prosrc => 'aggregate_dummy' },
6618{ oid => '2646',
6619  descr => 'sample variance of numeric input values (square of the sample standard deviation)',
6620  proname => 'var_samp', prokind => 'a', proisstrict => 'f',
6621  prorettype => 'numeric', proargtypes => 'numeric',
6622  prosrc => 'aggregate_dummy' },
6623
6624{ oid => '2148', descr => 'historical alias for var_samp',
6625  proname => 'variance', prokind => 'a', proisstrict => 'f',
6626  prorettype => 'numeric', proargtypes => 'int8', prosrc => 'aggregate_dummy' },
6627{ oid => '2149', descr => 'historical alias for var_samp',
6628  proname => 'variance', prokind => 'a', proisstrict => 'f',
6629  prorettype => 'numeric', proargtypes => 'int4', prosrc => 'aggregate_dummy' },
6630{ oid => '2150', descr => 'historical alias for var_samp',
6631  proname => 'variance', prokind => 'a', proisstrict => 'f',
6632  prorettype => 'numeric', proargtypes => 'int2', prosrc => 'aggregate_dummy' },
6633{ oid => '2151', descr => 'historical alias for var_samp',
6634  proname => 'variance', prokind => 'a', proisstrict => 'f',
6635  prorettype => 'float8', proargtypes => 'float4',
6636  prosrc => 'aggregate_dummy' },
6637{ oid => '2152', descr => 'historical alias for var_samp',
6638  proname => 'variance', prokind => 'a', proisstrict => 'f',
6639  prorettype => 'float8', proargtypes => 'float8',
6640  prosrc => 'aggregate_dummy' },
6641{ oid => '2153', descr => 'historical alias for var_samp',
6642  proname => 'variance', prokind => 'a', proisstrict => 'f',
6643  prorettype => 'numeric', proargtypes => 'numeric',
6644  prosrc => 'aggregate_dummy' },
6645
6646{ oid => '2724',
6647  descr => 'population standard deviation of bigint input values',
6648  proname => 'stddev_pop', prokind => 'a', proisstrict => 'f',
6649  prorettype => 'numeric', proargtypes => 'int8', prosrc => 'aggregate_dummy' },
6650{ oid => '2725',
6651  descr => 'population standard deviation of integer input values',
6652  proname => 'stddev_pop', prokind => 'a', proisstrict => 'f',
6653  prorettype => 'numeric', proargtypes => 'int4', prosrc => 'aggregate_dummy' },
6654{ oid => '2726',
6655  descr => 'population standard deviation of smallint input values',
6656  proname => 'stddev_pop', prokind => 'a', proisstrict => 'f',
6657  prorettype => 'numeric', proargtypes => 'int2', prosrc => 'aggregate_dummy' },
6658{ oid => '2727',
6659  descr => 'population standard deviation of float4 input values',
6660  proname => 'stddev_pop', prokind => 'a', proisstrict => 'f',
6661  prorettype => 'float8', proargtypes => 'float4',
6662  prosrc => 'aggregate_dummy' },
6663{ oid => '2728',
6664  descr => 'population standard deviation of float8 input values',
6665  proname => 'stddev_pop', prokind => 'a', proisstrict => 'f',
6666  prorettype => 'float8', proargtypes => 'float8',
6667  prosrc => 'aggregate_dummy' },
6668{ oid => '2729',
6669  descr => 'population standard deviation of numeric input values',
6670  proname => 'stddev_pop', prokind => 'a', proisstrict => 'f',
6671  prorettype => 'numeric', proargtypes => 'numeric',
6672  prosrc => 'aggregate_dummy' },
6673
6674{ oid => '2712', descr => 'sample standard deviation of bigint input values',
6675  proname => 'stddev_samp', prokind => 'a', proisstrict => 'f',
6676  prorettype => 'numeric', proargtypes => 'int8', prosrc => 'aggregate_dummy' },
6677{ oid => '2713', descr => 'sample standard deviation of integer input values',
6678  proname => 'stddev_samp', prokind => 'a', proisstrict => 'f',
6679  prorettype => 'numeric', proargtypes => 'int4', prosrc => 'aggregate_dummy' },
6680{ oid => '2714',
6681  descr => 'sample standard deviation of smallint input values',
6682  proname => 'stddev_samp', prokind => 'a', proisstrict => 'f',
6683  prorettype => 'numeric', proargtypes => 'int2', prosrc => 'aggregate_dummy' },
6684{ oid => '2715', descr => 'sample standard deviation of float4 input values',
6685  proname => 'stddev_samp', prokind => 'a', proisstrict => 'f',
6686  prorettype => 'float8', proargtypes => 'float4',
6687  prosrc => 'aggregate_dummy' },
6688{ oid => '2716', descr => 'sample standard deviation of float8 input values',
6689  proname => 'stddev_samp', prokind => 'a', proisstrict => 'f',
6690  prorettype => 'float8', proargtypes => 'float8',
6691  prosrc => 'aggregate_dummy' },
6692{ oid => '2717', descr => 'sample standard deviation of numeric input values',
6693  proname => 'stddev_samp', prokind => 'a', proisstrict => 'f',
6694  prorettype => 'numeric', proargtypes => 'numeric',
6695  prosrc => 'aggregate_dummy' },
6696
6697{ oid => '2154', descr => 'historical alias for stddev_samp',
6698  proname => 'stddev', prokind => 'a', proisstrict => 'f',
6699  prorettype => 'numeric', proargtypes => 'int8', prosrc => 'aggregate_dummy' },
6700{ oid => '2155', descr => 'historical alias for stddev_samp',
6701  proname => 'stddev', prokind => 'a', proisstrict => 'f',
6702  prorettype => 'numeric', proargtypes => 'int4', prosrc => 'aggregate_dummy' },
6703{ oid => '2156', descr => 'historical alias for stddev_samp',
6704  proname => 'stddev', prokind => 'a', proisstrict => 'f',
6705  prorettype => 'numeric', proargtypes => 'int2', prosrc => 'aggregate_dummy' },
6706{ oid => '2157', descr => 'historical alias for stddev_samp',
6707  proname => 'stddev', prokind => 'a', proisstrict => 'f',
6708  prorettype => 'float8', proargtypes => 'float4',
6709  prosrc => 'aggregate_dummy' },
6710{ oid => '2158', descr => 'historical alias for stddev_samp',
6711  proname => 'stddev', prokind => 'a', proisstrict => 'f',
6712  prorettype => 'float8', proargtypes => 'float8',
6713  prosrc => 'aggregate_dummy' },
6714{ oid => '2159', descr => 'historical alias for stddev_samp',
6715  proname => 'stddev', prokind => 'a', proisstrict => 'f',
6716  prorettype => 'numeric', proargtypes => 'numeric',
6717  prosrc => 'aggregate_dummy' },
6718
6719{ oid => '2818',
6720  descr => 'number of input rows in which both expressions are not null',
6721  proname => 'regr_count', prokind => 'a', proisstrict => 'f',
6722  prorettype => 'int8', proargtypes => 'float8 float8',
6723  prosrc => 'aggregate_dummy' },
6724{ oid => '2819',
6725  descr => 'sum of squares of the independent variable (sum(X^2) - sum(X)^2/N)',
6726  proname => 'regr_sxx', prokind => 'a', proisstrict => 'f',
6727  prorettype => 'float8', proargtypes => 'float8 float8',
6728  prosrc => 'aggregate_dummy' },
6729{ oid => '2820',
6730  descr => 'sum of squares of the dependent variable (sum(Y^2) - sum(Y)^2/N)',
6731  proname => 'regr_syy', prokind => 'a', proisstrict => 'f',
6732  prorettype => 'float8', proargtypes => 'float8 float8',
6733  prosrc => 'aggregate_dummy' },
6734{ oid => '2821',
6735  descr => 'sum of products of independent times dependent variable (sum(X*Y) - sum(X) * sum(Y)/N)',
6736  proname => 'regr_sxy', prokind => 'a', proisstrict => 'f',
6737  prorettype => 'float8', proargtypes => 'float8 float8',
6738  prosrc => 'aggregate_dummy' },
6739{ oid => '2822', descr => 'average of the independent variable (sum(X)/N)',
6740  proname => 'regr_avgx', prokind => 'a', proisstrict => 'f',
6741  prorettype => 'float8', proargtypes => 'float8 float8',
6742  prosrc => 'aggregate_dummy' },
6743{ oid => '2823', descr => 'average of the dependent variable (sum(Y)/N)',
6744  proname => 'regr_avgy', prokind => 'a', proisstrict => 'f',
6745  prorettype => 'float8', proargtypes => 'float8 float8',
6746  prosrc => 'aggregate_dummy' },
6747{ oid => '2824', descr => 'square of the correlation coefficient',
6748  proname => 'regr_r2', prokind => 'a', proisstrict => 'f',
6749  prorettype => 'float8', proargtypes => 'float8 float8',
6750  prosrc => 'aggregate_dummy' },
6751{ oid => '2825',
6752  descr => 'slope of the least-squares-fit linear equation determined by the (X, Y) pairs',
6753  proname => 'regr_slope', prokind => 'a', proisstrict => 'f',
6754  prorettype => 'float8', proargtypes => 'float8 float8',
6755  prosrc => 'aggregate_dummy' },
6756{ oid => '2826',
6757  descr => 'y-intercept of the least-squares-fit linear equation determined by the (X, Y) pairs',
6758  proname => 'regr_intercept', prokind => 'a', proisstrict => 'f',
6759  prorettype => 'float8', proargtypes => 'float8 float8',
6760  prosrc => 'aggregate_dummy' },
6761
6762{ oid => '2827', descr => 'population covariance',
6763  proname => 'covar_pop', prokind => 'a', proisstrict => 'f',
6764  prorettype => 'float8', proargtypes => 'float8 float8',
6765  prosrc => 'aggregate_dummy' },
6766{ oid => '2828', descr => 'sample covariance',
6767  proname => 'covar_samp', prokind => 'a', proisstrict => 'f',
6768  prorettype => 'float8', proargtypes => 'float8 float8',
6769  prosrc => 'aggregate_dummy' },
6770{ oid => '2829', descr => 'correlation coefficient',
6771  proname => 'corr', prokind => 'a', proisstrict => 'f', prorettype => 'float8',
6772  proargtypes => 'float8 float8', prosrc => 'aggregate_dummy' },
6773
6774{ oid => '2160',
6775  proname => 'text_pattern_lt', proleakproof => 't', prorettype => 'bool',
6776  proargtypes => 'text text', prosrc => 'text_pattern_lt' },
6777{ oid => '2161',
6778  proname => 'text_pattern_le', proleakproof => 't', prorettype => 'bool',
6779  proargtypes => 'text text', prosrc => 'text_pattern_le' },
6780{ oid => '2163',
6781  proname => 'text_pattern_ge', proleakproof => 't', prorettype => 'bool',
6782  proargtypes => 'text text', prosrc => 'text_pattern_ge' },
6783{ oid => '2164',
6784  proname => 'text_pattern_gt', proleakproof => 't', prorettype => 'bool',
6785  proargtypes => 'text text', prosrc => 'text_pattern_gt' },
6786{ oid => '2166', descr => 'less-equal-greater',
6787  proname => 'bttext_pattern_cmp', proleakproof => 't', prorettype => 'int4',
6788  proargtypes => 'text text', prosrc => 'bttext_pattern_cmp' },
6789{ oid => '3332', descr => 'sort support',
6790  proname => 'bttext_pattern_sortsupport', prorettype => 'void',
6791  proargtypes => 'internal', prosrc => 'bttext_pattern_sortsupport' },
6792
6793{ oid => '2174',
6794  proname => 'bpchar_pattern_lt', proleakproof => 't', prorettype => 'bool',
6795  proargtypes => 'bpchar bpchar', prosrc => 'bpchar_pattern_lt' },
6796{ oid => '2175',
6797  proname => 'bpchar_pattern_le', proleakproof => 't', prorettype => 'bool',
6798  proargtypes => 'bpchar bpchar', prosrc => 'bpchar_pattern_le' },
6799{ oid => '2177',
6800  proname => 'bpchar_pattern_ge', proleakproof => 't', prorettype => 'bool',
6801  proargtypes => 'bpchar bpchar', prosrc => 'bpchar_pattern_ge' },
6802{ oid => '2178',
6803  proname => 'bpchar_pattern_gt', proleakproof => 't', prorettype => 'bool',
6804  proargtypes => 'bpchar bpchar', prosrc => 'bpchar_pattern_gt' },
6805{ oid => '2180', descr => 'less-equal-greater',
6806  proname => 'btbpchar_pattern_cmp', proleakproof => 't', prorettype => 'int4',
6807  proargtypes => 'bpchar bpchar', prosrc => 'btbpchar_pattern_cmp' },
6808{ oid => '3333', descr => 'sort support',
6809  proname => 'btbpchar_pattern_sortsupport', prorettype => 'void',
6810  proargtypes => 'internal', prosrc => 'btbpchar_pattern_sortsupport' },
6811
6812{ oid => '2188', descr => 'less-equal-greater',
6813  proname => 'btint48cmp', proleakproof => 't', prorettype => 'int4',
6814  proargtypes => 'int4 int8', prosrc => 'btint48cmp' },
6815{ oid => '2189', descr => 'less-equal-greater',
6816  proname => 'btint84cmp', proleakproof => 't', prorettype => 'int4',
6817  proargtypes => 'int8 int4', prosrc => 'btint84cmp' },
6818{ oid => '2190', descr => 'less-equal-greater',
6819  proname => 'btint24cmp', proleakproof => 't', prorettype => 'int4',
6820  proargtypes => 'int2 int4', prosrc => 'btint24cmp' },
6821{ oid => '2191', descr => 'less-equal-greater',
6822  proname => 'btint42cmp', proleakproof => 't', prorettype => 'int4',
6823  proargtypes => 'int4 int2', prosrc => 'btint42cmp' },
6824{ oid => '2192', descr => 'less-equal-greater',
6825  proname => 'btint28cmp', proleakproof => 't', prorettype => 'int4',
6826  proargtypes => 'int2 int8', prosrc => 'btint28cmp' },
6827{ oid => '2193', descr => 'less-equal-greater',
6828  proname => 'btint82cmp', proleakproof => 't', prorettype => 'int4',
6829  proargtypes => 'int8 int2', prosrc => 'btint82cmp' },
6830{ oid => '2194', descr => 'less-equal-greater',
6831  proname => 'btfloat48cmp', proleakproof => 't', prorettype => 'int4',
6832  proargtypes => 'float4 float8', prosrc => 'btfloat48cmp' },
6833{ oid => '2195', descr => 'less-equal-greater',
6834  proname => 'btfloat84cmp', proleakproof => 't', prorettype => 'int4',
6835  proargtypes => 'float8 float4', prosrc => 'btfloat84cmp' },
6836
6837{ oid => '2212', descr => 'I/O',
6838  proname => 'regprocedurein', provolatile => 's', prorettype => 'regprocedure',
6839  proargtypes => 'cstring', prosrc => 'regprocedurein' },
6840{ oid => '2213', descr => 'I/O',
6841  proname => 'regprocedureout', provolatile => 's', prorettype => 'cstring',
6842  proargtypes => 'regprocedure', prosrc => 'regprocedureout' },
6843{ oid => '2214', descr => 'I/O',
6844  proname => 'regoperin', provolatile => 's', prorettype => 'regoper',
6845  proargtypes => 'cstring', prosrc => 'regoperin' },
6846{ oid => '2215', descr => 'I/O',
6847  proname => 'regoperout', provolatile => 's', prorettype => 'cstring',
6848  proargtypes => 'regoper', prosrc => 'regoperout' },
6849{ oid => '3492', descr => 'convert operator name to regoper',
6850  proname => 'to_regoper', provolatile => 's', prorettype => 'regoper',
6851  proargtypes => 'text', prosrc => 'to_regoper' },
6852{ oid => '3476', descr => 'convert operator name to regoperator',
6853  proname => 'to_regoperator', provolatile => 's', prorettype => 'regoperator',
6854  proargtypes => 'text', prosrc => 'to_regoperator' },
6855{ oid => '2216', descr => 'I/O',
6856  proname => 'regoperatorin', provolatile => 's', prorettype => 'regoperator',
6857  proargtypes => 'cstring', prosrc => 'regoperatorin' },
6858{ oid => '2217', descr => 'I/O',
6859  proname => 'regoperatorout', provolatile => 's', prorettype => 'cstring',
6860  proargtypes => 'regoperator', prosrc => 'regoperatorout' },
6861{ oid => '2218', descr => 'I/O',
6862  proname => 'regclassin', provolatile => 's', prorettype => 'regclass',
6863  proargtypes => 'cstring', prosrc => 'regclassin' },
6864{ oid => '2219', descr => 'I/O',
6865  proname => 'regclassout', provolatile => 's', prorettype => 'cstring',
6866  proargtypes => 'regclass', prosrc => 'regclassout' },
6867{ oid => '3495', descr => 'convert classname to regclass',
6868  proname => 'to_regclass', provolatile => 's', prorettype => 'regclass',
6869  proargtypes => 'text', prosrc => 'to_regclass' },
6870{ oid => '4193', descr => 'I/O',
6871  proname => 'regcollationin', provolatile => 's', prorettype => 'regcollation',
6872  proargtypes => 'cstring', prosrc => 'regcollationin' },
6873{ oid => '4194', descr => 'I/O',
6874  proname => 'regcollationout', provolatile => 's', prorettype => 'cstring',
6875  proargtypes => 'regcollation', prosrc => 'regcollationout' },
6876{ oid => '4195', descr => 'convert classname to regcollation',
6877  proname => 'to_regcollation', provolatile => 's',
6878  prorettype => 'regcollation', proargtypes => 'text',
6879  prosrc => 'to_regcollation' },
6880{ oid => '2220', descr => 'I/O',
6881  proname => 'regtypein', provolatile => 's', prorettype => 'regtype',
6882  proargtypes => 'cstring', prosrc => 'regtypein' },
6883{ oid => '2221', descr => 'I/O',
6884  proname => 'regtypeout', provolatile => 's', prorettype => 'cstring',
6885  proargtypes => 'regtype', prosrc => 'regtypeout' },
6886{ oid => '3493', descr => 'convert type name to regtype',
6887  proname => 'to_regtype', provolatile => 's', prorettype => 'regtype',
6888  proargtypes => 'text', prosrc => 'to_regtype' },
6889{ oid => '1079', descr => 'convert text to regclass',
6890  proname => 'regclass', provolatile => 's', prorettype => 'regclass',
6891  proargtypes => 'text', prosrc => 'text_regclass' },
6892
6893{ oid => '4098', descr => 'I/O',
6894  proname => 'regrolein', provolatile => 's', prorettype => 'regrole',
6895  proargtypes => 'cstring', prosrc => 'regrolein' },
6896{ oid => '4092', descr => 'I/O',
6897  proname => 'regroleout', provolatile => 's', prorettype => 'cstring',
6898  proargtypes => 'regrole', prosrc => 'regroleout' },
6899{ oid => '4093', descr => 'convert role name to regrole',
6900  proname => 'to_regrole', provolatile => 's', prorettype => 'regrole',
6901  proargtypes => 'text', prosrc => 'to_regrole' },
6902
6903{ oid => '4084', descr => 'I/O',
6904  proname => 'regnamespacein', provolatile => 's', prorettype => 'regnamespace',
6905  proargtypes => 'cstring', prosrc => 'regnamespacein' },
6906{ oid => '4085', descr => 'I/O',
6907  proname => 'regnamespaceout', provolatile => 's', prorettype => 'cstring',
6908  proargtypes => 'regnamespace', prosrc => 'regnamespaceout' },
6909{ oid => '4086', descr => 'convert namespace name to regnamespace',
6910  proname => 'to_regnamespace', provolatile => 's',
6911  prorettype => 'regnamespace', proargtypes => 'text',
6912  prosrc => 'to_regnamespace' },
6913
6914{ oid => '1268',
6915  descr => 'parse qualified identifier to array of identifiers',
6916  proname => 'parse_ident', prorettype => '_text', proargtypes => 'text bool',
6917  proargnames => '{str,strict}', prosrc => 'parse_ident' },
6918
6919{ oid => '2246', descr => '(internal)',
6920  proname => 'fmgr_internal_validator', provolatile => 's',
6921  prorettype => 'void', proargtypes => 'oid',
6922  prosrc => 'fmgr_internal_validator' },
6923{ oid => '2247', descr => '(internal)',
6924  proname => 'fmgr_c_validator', provolatile => 's', prorettype => 'void',
6925  proargtypes => 'oid', prosrc => 'fmgr_c_validator' },
6926{ oid => '2248', descr => '(internal)',
6927  proname => 'fmgr_sql_validator', provolatile => 's', prorettype => 'void',
6928  proargtypes => 'oid', prosrc => 'fmgr_sql_validator' },
6929
6930{ oid => '2250',
6931  descr => 'user privilege on database by username, database name',
6932  proname => 'has_database_privilege', provolatile => 's', prorettype => 'bool',
6933  proargtypes => 'name text text',
6934  prosrc => 'has_database_privilege_name_name' },
6935{ oid => '2251',
6936  descr => 'user privilege on database by username, database oid',
6937  proname => 'has_database_privilege', provolatile => 's', prorettype => 'bool',
6938  proargtypes => 'name oid text', prosrc => 'has_database_privilege_name_id' },
6939{ oid => '2252',
6940  descr => 'user privilege on database by user oid, database name',
6941  proname => 'has_database_privilege', provolatile => 's', prorettype => 'bool',
6942  proargtypes => 'oid text text', prosrc => 'has_database_privilege_id_name' },
6943{ oid => '2253',
6944  descr => 'user privilege on database by user oid, database oid',
6945  proname => 'has_database_privilege', provolatile => 's', prorettype => 'bool',
6946  proargtypes => 'oid oid text', prosrc => 'has_database_privilege_id_id' },
6947{ oid => '2254',
6948  descr => 'current user privilege on database by database name',
6949  proname => 'has_database_privilege', provolatile => 's', prorettype => 'bool',
6950  proargtypes => 'text text', prosrc => 'has_database_privilege_name' },
6951{ oid => '2255',
6952  descr => 'current user privilege on database by database oid',
6953  proname => 'has_database_privilege', provolatile => 's', prorettype => 'bool',
6954  proargtypes => 'oid text', prosrc => 'has_database_privilege_id' },
6955
6956{ oid => '2256',
6957  descr => 'user privilege on function by username, function name',
6958  proname => 'has_function_privilege', provolatile => 's', prorettype => 'bool',
6959  proargtypes => 'name text text',
6960  prosrc => 'has_function_privilege_name_name' },
6961{ oid => '2257',
6962  descr => 'user privilege on function by username, function oid',
6963  proname => 'has_function_privilege', provolatile => 's', prorettype => 'bool',
6964  proargtypes => 'name oid text', prosrc => 'has_function_privilege_name_id' },
6965{ oid => '2258',
6966  descr => 'user privilege on function by user oid, function name',
6967  proname => 'has_function_privilege', provolatile => 's', prorettype => 'bool',
6968  proargtypes => 'oid text text', prosrc => 'has_function_privilege_id_name' },
6969{ oid => '2259',
6970  descr => 'user privilege on function by user oid, function oid',
6971  proname => 'has_function_privilege', provolatile => 's', prorettype => 'bool',
6972  proargtypes => 'oid oid text', prosrc => 'has_function_privilege_id_id' },
6973{ oid => '2260',
6974  descr => 'current user privilege on function by function name',
6975  proname => 'has_function_privilege', provolatile => 's', prorettype => 'bool',
6976  proargtypes => 'text text', prosrc => 'has_function_privilege_name' },
6977{ oid => '2261',
6978  descr => 'current user privilege on function by function oid',
6979  proname => 'has_function_privilege', provolatile => 's', prorettype => 'bool',
6980  proargtypes => 'oid text', prosrc => 'has_function_privilege_id' },
6981
6982{ oid => '2262',
6983  descr => 'user privilege on language by username, language name',
6984  proname => 'has_language_privilege', provolatile => 's', prorettype => 'bool',
6985  proargtypes => 'name text text',
6986  prosrc => 'has_language_privilege_name_name' },
6987{ oid => '2263',
6988  descr => 'user privilege on language by username, language oid',
6989  proname => 'has_language_privilege', provolatile => 's', prorettype => 'bool',
6990  proargtypes => 'name oid text', prosrc => 'has_language_privilege_name_id' },
6991{ oid => '2264',
6992  descr => 'user privilege on language by user oid, language name',
6993  proname => 'has_language_privilege', provolatile => 's', prorettype => 'bool',
6994  proargtypes => 'oid text text', prosrc => 'has_language_privilege_id_name' },
6995{ oid => '2265',
6996  descr => 'user privilege on language by user oid, language oid',
6997  proname => 'has_language_privilege', provolatile => 's', prorettype => 'bool',
6998  proargtypes => 'oid oid text', prosrc => 'has_language_privilege_id_id' },
6999{ oid => '2266',
7000  descr => 'current user privilege on language by language name',
7001  proname => 'has_language_privilege', provolatile => 's', prorettype => 'bool',
7002  proargtypes => 'text text', prosrc => 'has_language_privilege_name' },
7003{ oid => '2267',
7004  descr => 'current user privilege on language by language oid',
7005  proname => 'has_language_privilege', provolatile => 's', prorettype => 'bool',
7006  proargtypes => 'oid text', prosrc => 'has_language_privilege_id' },
7007
7008{ oid => '2268', descr => 'user privilege on schema by username, schema name',
7009  proname => 'has_schema_privilege', provolatile => 's', prorettype => 'bool',
7010  proargtypes => 'name text text', prosrc => 'has_schema_privilege_name_name' },
7011{ oid => '2269', descr => 'user privilege on schema by username, schema oid',
7012  proname => 'has_schema_privilege', provolatile => 's', prorettype => 'bool',
7013  proargtypes => 'name oid text', prosrc => 'has_schema_privilege_name_id' },
7014{ oid => '2270', descr => 'user privilege on schema by user oid, schema name',
7015  proname => 'has_schema_privilege', provolatile => 's', prorettype => 'bool',
7016  proargtypes => 'oid text text', prosrc => 'has_schema_privilege_id_name' },
7017{ oid => '2271', descr => 'user privilege on schema by user oid, schema oid',
7018  proname => 'has_schema_privilege', provolatile => 's', prorettype => 'bool',
7019  proargtypes => 'oid oid text', prosrc => 'has_schema_privilege_id_id' },
7020{ oid => '2272', descr => 'current user privilege on schema by schema name',
7021  proname => 'has_schema_privilege', provolatile => 's', prorettype => 'bool',
7022  proargtypes => 'text text', prosrc => 'has_schema_privilege_name' },
7023{ oid => '2273', descr => 'current user privilege on schema by schema oid',
7024  proname => 'has_schema_privilege', provolatile => 's', prorettype => 'bool',
7025  proargtypes => 'oid text', prosrc => 'has_schema_privilege_id' },
7026
7027{ oid => '2390',
7028  descr => 'user privilege on tablespace by username, tablespace name',
7029  proname => 'has_tablespace_privilege', provolatile => 's',
7030  prorettype => 'bool', proargtypes => 'name text text',
7031  prosrc => 'has_tablespace_privilege_name_name' },
7032{ oid => '2391',
7033  descr => 'user privilege on tablespace by username, tablespace oid',
7034  proname => 'has_tablespace_privilege', provolatile => 's',
7035  prorettype => 'bool', proargtypes => 'name oid text',
7036  prosrc => 'has_tablespace_privilege_name_id' },
7037{ oid => '2392',
7038  descr => 'user privilege on tablespace by user oid, tablespace name',
7039  proname => 'has_tablespace_privilege', provolatile => 's',
7040  prorettype => 'bool', proargtypes => 'oid text text',
7041  prosrc => 'has_tablespace_privilege_id_name' },
7042{ oid => '2393',
7043  descr => 'user privilege on tablespace by user oid, tablespace oid',
7044  proname => 'has_tablespace_privilege', provolatile => 's',
7045  prorettype => 'bool', proargtypes => 'oid oid text',
7046  prosrc => 'has_tablespace_privilege_id_id' },
7047{ oid => '2394',
7048  descr => 'current user privilege on tablespace by tablespace name',
7049  proname => 'has_tablespace_privilege', provolatile => 's',
7050  prorettype => 'bool', proargtypes => 'text text',
7051  prosrc => 'has_tablespace_privilege_name' },
7052{ oid => '2395',
7053  descr => 'current user privilege on tablespace by tablespace oid',
7054  proname => 'has_tablespace_privilege', provolatile => 's',
7055  prorettype => 'bool', proargtypes => 'oid text',
7056  prosrc => 'has_tablespace_privilege_id' },
7057
7058{ oid => '3000',
7059  descr => 'user privilege on foreign data wrapper by username, foreign data wrapper name',
7060  proname => 'has_foreign_data_wrapper_privilege', provolatile => 's',
7061  prorettype => 'bool', proargtypes => 'name text text',
7062  prosrc => 'has_foreign_data_wrapper_privilege_name_name' },
7063{ oid => '3001',
7064  descr => 'user privilege on foreign data wrapper by username, foreign data wrapper oid',
7065  proname => 'has_foreign_data_wrapper_privilege', provolatile => 's',
7066  prorettype => 'bool', proargtypes => 'name oid text',
7067  prosrc => 'has_foreign_data_wrapper_privilege_name_id' },
7068{ oid => '3002',
7069  descr => 'user privilege on foreign data wrapper by user oid, foreign data wrapper name',
7070  proname => 'has_foreign_data_wrapper_privilege', provolatile => 's',
7071  prorettype => 'bool', proargtypes => 'oid text text',
7072  prosrc => 'has_foreign_data_wrapper_privilege_id_name' },
7073{ oid => '3003',
7074  descr => 'user privilege on foreign data wrapper by user oid, foreign data wrapper oid',
7075  proname => 'has_foreign_data_wrapper_privilege', provolatile => 's',
7076  prorettype => 'bool', proargtypes => 'oid oid text',
7077  prosrc => 'has_foreign_data_wrapper_privilege_id_id' },
7078{ oid => '3004',
7079  descr => 'current user privilege on foreign data wrapper by foreign data wrapper name',
7080  proname => 'has_foreign_data_wrapper_privilege', provolatile => 's',
7081  prorettype => 'bool', proargtypes => 'text text',
7082  prosrc => 'has_foreign_data_wrapper_privilege_name' },
7083{ oid => '3005',
7084  descr => 'current user privilege on foreign data wrapper by foreign data wrapper oid',
7085  proname => 'has_foreign_data_wrapper_privilege', provolatile => 's',
7086  prorettype => 'bool', proargtypes => 'oid text',
7087  prosrc => 'has_foreign_data_wrapper_privilege_id' },
7088
7089{ oid => '3006', descr => 'user privilege on server by username, server name',
7090  proname => 'has_server_privilege', provolatile => 's', prorettype => 'bool',
7091  proargtypes => 'name text text', prosrc => 'has_server_privilege_name_name' },
7092{ oid => '3007', descr => 'user privilege on server by username, server oid',
7093  proname => 'has_server_privilege', provolatile => 's', prorettype => 'bool',
7094  proargtypes => 'name oid text', prosrc => 'has_server_privilege_name_id' },
7095{ oid => '3008', descr => 'user privilege on server by user oid, server name',
7096  proname => 'has_server_privilege', provolatile => 's', prorettype => 'bool',
7097  proargtypes => 'oid text text', prosrc => 'has_server_privilege_id_name' },
7098{ oid => '3009', descr => 'user privilege on server by user oid, server oid',
7099  proname => 'has_server_privilege', provolatile => 's', prorettype => 'bool',
7100  proargtypes => 'oid oid text', prosrc => 'has_server_privilege_id_id' },
7101{ oid => '3010', descr => 'current user privilege on server by server name',
7102  proname => 'has_server_privilege', provolatile => 's', prorettype => 'bool',
7103  proargtypes => 'text text', prosrc => 'has_server_privilege_name' },
7104{ oid => '3011', descr => 'current user privilege on server by server oid',
7105  proname => 'has_server_privilege', provolatile => 's', prorettype => 'bool',
7106  proargtypes => 'oid text', prosrc => 'has_server_privilege_id' },
7107
7108{ oid => '3138', descr => 'user privilege on type by username, type name',
7109  proname => 'has_type_privilege', provolatile => 's', prorettype => 'bool',
7110  proargtypes => 'name text text', prosrc => 'has_type_privilege_name_name' },
7111{ oid => '3139', descr => 'user privilege on type by username, type oid',
7112  proname => 'has_type_privilege', provolatile => 's', prorettype => 'bool',
7113  proargtypes => 'name oid text', prosrc => 'has_type_privilege_name_id' },
7114{ oid => '3140', descr => 'user privilege on type by user oid, type name',
7115  proname => 'has_type_privilege', provolatile => 's', prorettype => 'bool',
7116  proargtypes => 'oid text text', prosrc => 'has_type_privilege_id_name' },
7117{ oid => '3141', descr => 'user privilege on type by user oid, type oid',
7118  proname => 'has_type_privilege', provolatile => 's', prorettype => 'bool',
7119  proargtypes => 'oid oid text', prosrc => 'has_type_privilege_id_id' },
7120{ oid => '3142', descr => 'current user privilege on type by type name',
7121  proname => 'has_type_privilege', provolatile => 's', prorettype => 'bool',
7122  proargtypes => 'text text', prosrc => 'has_type_privilege_name' },
7123{ oid => '3143', descr => 'current user privilege on type by type oid',
7124  proname => 'has_type_privilege', provolatile => 's', prorettype => 'bool',
7125  proargtypes => 'oid text', prosrc => 'has_type_privilege_id' },
7126
7127{ oid => '2705', descr => 'user privilege on role by username, role name',
7128  proname => 'pg_has_role', provolatile => 's', prorettype => 'bool',
7129  proargtypes => 'name name text', prosrc => 'pg_has_role_name_name' },
7130{ oid => '2706', descr => 'user privilege on role by username, role oid',
7131  proname => 'pg_has_role', provolatile => 's', prorettype => 'bool',
7132  proargtypes => 'name oid text', prosrc => 'pg_has_role_name_id' },
7133{ oid => '2707', descr => 'user privilege on role by user oid, role name',
7134  proname => 'pg_has_role', provolatile => 's', prorettype => 'bool',
7135  proargtypes => 'oid name text', prosrc => 'pg_has_role_id_name' },
7136{ oid => '2708', descr => 'user privilege on role by user oid, role oid',
7137  proname => 'pg_has_role', provolatile => 's', prorettype => 'bool',
7138  proargtypes => 'oid oid text', prosrc => 'pg_has_role_id_id' },
7139{ oid => '2709', descr => 'current user privilege on role by role name',
7140  proname => 'pg_has_role', provolatile => 's', prorettype => 'bool',
7141  proargtypes => 'name text', prosrc => 'pg_has_role_name' },
7142{ oid => '2710', descr => 'current user privilege on role by role oid',
7143  proname => 'pg_has_role', provolatile => 's', prorettype => 'bool',
7144  proargtypes => 'oid text', prosrc => 'pg_has_role_id' },
7145
7146{ oid => '1269',
7147  descr => 'bytes required to store the value, perhaps with compression',
7148  proname => 'pg_column_size', provolatile => 's', prorettype => 'int4',
7149  proargtypes => 'any', prosrc => 'pg_column_size' },
7150{ oid => '2121', descr => 'compression method for the compressed datum',
7151  proname => 'pg_column_compression', provolatile => 's', prorettype => 'text',
7152  proargtypes => 'any', prosrc => 'pg_column_compression' },
7153{ oid => '2322',
7154  descr => 'total disk space usage for the specified tablespace',
7155  proname => 'pg_tablespace_size', provolatile => 'v', prorettype => 'int8',
7156  proargtypes => 'oid', prosrc => 'pg_tablespace_size_oid' },
7157{ oid => '2323',
7158  descr => 'total disk space usage for the specified tablespace',
7159  proname => 'pg_tablespace_size', provolatile => 'v', prorettype => 'int8',
7160  proargtypes => 'name', prosrc => 'pg_tablespace_size_name' },
7161{ oid => '2324', descr => 'total disk space usage for the specified database',
7162  proname => 'pg_database_size', provolatile => 'v', prorettype => 'int8',
7163  proargtypes => 'oid', prosrc => 'pg_database_size_oid' },
7164{ oid => '2168', descr => 'total disk space usage for the specified database',
7165  proname => 'pg_database_size', provolatile => 'v', prorettype => 'int8',
7166  proargtypes => 'name', prosrc => 'pg_database_size_name' },
7167{ oid => '2325',
7168  descr => 'disk space usage for the main fork of the specified table or index',
7169  proname => 'pg_relation_size', prolang => 'sql', provolatile => 'v',
7170  prorettype => 'int8', proargtypes => 'regclass',
7171  prosrc => 'see system_functions.sql' },
7172{ oid => '2332',
7173  descr => 'disk space usage for the specified fork of a table or index',
7174  proname => 'pg_relation_size', provolatile => 'v', prorettype => 'int8',
7175  proargtypes => 'regclass text', prosrc => 'pg_relation_size' },
7176{ oid => '2286',
7177  descr => 'total disk space usage for the specified table and associated indexes',
7178  proname => 'pg_total_relation_size', provolatile => 'v', prorettype => 'int8',
7179  proargtypes => 'regclass', prosrc => 'pg_total_relation_size' },
7180{ oid => '2288',
7181  descr => 'convert a long int to a human readable text using size units',
7182  proname => 'pg_size_pretty', prorettype => 'text', proargtypes => 'int8',
7183  prosrc => 'pg_size_pretty' },
7184{ oid => '3166',
7185  descr => 'convert a numeric to a human readable text using size units',
7186  proname => 'pg_size_pretty', prorettype => 'text', proargtypes => 'numeric',
7187  prosrc => 'pg_size_pretty_numeric' },
7188{ oid => '3334',
7189  descr => 'convert a size in human-readable format with size units into bytes',
7190  proname => 'pg_size_bytes', prorettype => 'int8', proargtypes => 'text',
7191  prosrc => 'pg_size_bytes' },
7192{ oid => '2997',
7193  descr => 'disk space usage for the specified table, including TOAST, free space and visibility map',
7194  proname => 'pg_table_size', provolatile => 'v', prorettype => 'int8',
7195  proargtypes => 'regclass', prosrc => 'pg_table_size' },
7196{ oid => '2998',
7197  descr => 'disk space usage for all indexes attached to the specified table',
7198  proname => 'pg_indexes_size', provolatile => 'v', prorettype => 'int8',
7199  proargtypes => 'regclass', prosrc => 'pg_indexes_size' },
7200{ oid => '2999', descr => 'filenode identifier of relation',
7201  proname => 'pg_relation_filenode', provolatile => 's', prorettype => 'oid',
7202  proargtypes => 'regclass', prosrc => 'pg_relation_filenode' },
7203{ oid => '3454', descr => 'relation OID for filenode and tablespace',
7204  proname => 'pg_filenode_relation', provolatile => 's',
7205  prorettype => 'regclass', proargtypes => 'oid oid',
7206  prosrc => 'pg_filenode_relation' },
7207{ oid => '3034', descr => 'file path of relation',
7208  proname => 'pg_relation_filepath', provolatile => 's', prorettype => 'text',
7209  proargtypes => 'regclass', prosrc => 'pg_relation_filepath' },
7210
7211{ oid => '2316', descr => '(internal)',
7212  proname => 'postgresql_fdw_validator', prorettype => 'bool',
7213  proargtypes => '_text oid', prosrc => 'postgresql_fdw_validator' },
7214
7215{ oid => '2290', descr => 'I/O',
7216  proname => 'record_in', provolatile => 's', prorettype => 'record',
7217  proargtypes => 'cstring oid int4', prosrc => 'record_in' },
7218{ oid => '2291', descr => 'I/O',
7219  proname => 'record_out', provolatile => 's', prorettype => 'cstring',
7220  proargtypes => 'record', prosrc => 'record_out' },
7221{ oid => '2292', descr => 'I/O',
7222  proname => 'cstring_in', prorettype => 'cstring', proargtypes => 'cstring',
7223  prosrc => 'cstring_in' },
7224{ oid => '2293', descr => 'I/O',
7225  proname => 'cstring_out', prorettype => 'cstring', proargtypes => 'cstring',
7226  prosrc => 'cstring_out' },
7227{ oid => '2294', descr => 'I/O',
7228  proname => 'any_in', prorettype => 'any', proargtypes => 'cstring',
7229  prosrc => 'any_in' },
7230{ oid => '2295', descr => 'I/O',
7231  proname => 'any_out', prorettype => 'cstring', proargtypes => 'any',
7232  prosrc => 'any_out' },
7233{ oid => '2296', descr => 'I/O',
7234  proname => 'anyarray_in', prorettype => 'anyarray', proargtypes => 'cstring',
7235  prosrc => 'anyarray_in' },
7236{ oid => '2297', descr => 'I/O',
7237  proname => 'anyarray_out', provolatile => 's', prorettype => 'cstring',
7238  proargtypes => 'anyarray', prosrc => 'anyarray_out' },
7239{ oid => '2298', descr => 'I/O',
7240  proname => 'void_in', prorettype => 'void', proargtypes => 'cstring',
7241  prosrc => 'void_in' },
7242{ oid => '2299', descr => 'I/O',
7243  proname => 'void_out', prorettype => 'cstring', proargtypes => 'void',
7244  prosrc => 'void_out' },
7245{ oid => '2300', descr => 'I/O',
7246  proname => 'trigger_in', proisstrict => 'f', prorettype => 'trigger',
7247  proargtypes => 'cstring', prosrc => 'trigger_in' },
7248{ oid => '2301', descr => 'I/O',
7249  proname => 'trigger_out', prorettype => 'cstring', proargtypes => 'trigger',
7250  prosrc => 'trigger_out' },
7251{ oid => '3594', descr => 'I/O',
7252  proname => 'event_trigger_in', proisstrict => 'f',
7253  prorettype => 'event_trigger', proargtypes => 'cstring',
7254  prosrc => 'event_trigger_in' },
7255{ oid => '3595', descr => 'I/O',
7256  proname => 'event_trigger_out', prorettype => 'cstring',
7257  proargtypes => 'event_trigger', prosrc => 'event_trigger_out' },
7258{ oid => '2302', descr => 'I/O',
7259  proname => 'language_handler_in', proisstrict => 'f',
7260  prorettype => 'language_handler', proargtypes => 'cstring',
7261  prosrc => 'language_handler_in' },
7262{ oid => '2303', descr => 'I/O',
7263  proname => 'language_handler_out', prorettype => 'cstring',
7264  proargtypes => 'language_handler', prosrc => 'language_handler_out' },
7265{ oid => '2304', descr => 'I/O',
7266  proname => 'internal_in', proisstrict => 'f', prorettype => 'internal',
7267  proargtypes => 'cstring', prosrc => 'internal_in' },
7268{ oid => '2305', descr => 'I/O',
7269  proname => 'internal_out', prorettype => 'cstring', proargtypes => 'internal',
7270  prosrc => 'internal_out' },
7271{ oid => '2312', descr => 'I/O',
7272  proname => 'anyelement_in', prorettype => 'anyelement',
7273  proargtypes => 'cstring', prosrc => 'anyelement_in' },
7274{ oid => '2313', descr => 'I/O',
7275  proname => 'anyelement_out', prorettype => 'cstring',
7276  proargtypes => 'anyelement', prosrc => 'anyelement_out' },
7277{ oid => '2398', descr => 'I/O',
7278  proname => 'shell_in', proisstrict => 'f', prorettype => 'void',
7279  proargtypes => 'cstring', prosrc => 'shell_in' },
7280{ oid => '2399', descr => 'I/O',
7281  proname => 'shell_out', prorettype => 'cstring', proargtypes => 'void',
7282  prosrc => 'shell_out' },
7283{ oid => '2597', descr => 'I/O',
7284  proname => 'domain_in', proisstrict => 'f', provolatile => 's',
7285  prorettype => 'any', proargtypes => 'cstring oid int4',
7286  prosrc => 'domain_in' },
7287{ oid => '2598', descr => 'I/O',
7288  proname => 'domain_recv', proisstrict => 'f', provolatile => 's',
7289  prorettype => 'any', proargtypes => 'internal oid int4',
7290  prosrc => 'domain_recv' },
7291{ oid => '2777', descr => 'I/O',
7292  proname => 'anynonarray_in', prorettype => 'anynonarray',
7293  proargtypes => 'cstring', prosrc => 'anynonarray_in' },
7294{ oid => '2778', descr => 'I/O',
7295  proname => 'anynonarray_out', prorettype => 'cstring',
7296  proargtypes => 'anynonarray', prosrc => 'anynonarray_out' },
7297{ oid => '3116', descr => 'I/O',
7298  proname => 'fdw_handler_in', proisstrict => 'f', prorettype => 'fdw_handler',
7299  proargtypes => 'cstring', prosrc => 'fdw_handler_in' },
7300{ oid => '3117', descr => 'I/O',
7301  proname => 'fdw_handler_out', prorettype => 'cstring',
7302  proargtypes => 'fdw_handler', prosrc => 'fdw_handler_out' },
7303{ oid => '326', descr => 'I/O',
7304  proname => 'index_am_handler_in', proisstrict => 'f',
7305  prorettype => 'index_am_handler', proargtypes => 'cstring',
7306  prosrc => 'index_am_handler_in' },
7307{ oid => '327', descr => 'I/O',
7308  proname => 'index_am_handler_out', prorettype => 'cstring',
7309  proargtypes => 'index_am_handler', prosrc => 'index_am_handler_out' },
7310{ oid => '3311', descr => 'I/O',
7311  proname => 'tsm_handler_in', proisstrict => 'f', prorettype => 'tsm_handler',
7312  proargtypes => 'cstring', prosrc => 'tsm_handler_in' },
7313{ oid => '3312', descr => 'I/O',
7314  proname => 'tsm_handler_out', prorettype => 'cstring',
7315  proargtypes => 'tsm_handler', prosrc => 'tsm_handler_out' },
7316{ oid => '267', descr => 'I/O',
7317  proname => 'table_am_handler_in', proisstrict => 'f',
7318  prorettype => 'table_am_handler', proargtypes => 'cstring',
7319  prosrc => 'table_am_handler_in' },
7320{ oid => '268', descr => 'I/O',
7321  proname => 'table_am_handler_out', prorettype => 'cstring',
7322  proargtypes => 'table_am_handler', prosrc => 'table_am_handler_out' },
7323{ oid => '5086', descr => 'I/O',
7324  proname => 'anycompatible_in', prorettype => 'anycompatible',
7325  proargtypes => 'cstring', prosrc => 'anycompatible_in' },
7326{ oid => '5087', descr => 'I/O',
7327  proname => 'anycompatible_out', prorettype => 'cstring',
7328  proargtypes => 'anycompatible', prosrc => 'anycompatible_out' },
7329{ oid => '5088', descr => 'I/O',
7330  proname => 'anycompatiblearray_in', prorettype => 'anycompatiblearray',
7331  proargtypes => 'cstring', prosrc => 'anycompatiblearray_in' },
7332{ oid => '5089', descr => 'I/O',
7333  proname => 'anycompatiblearray_out', provolatile => 's',
7334  prorettype => 'cstring', proargtypes => 'anycompatiblearray',
7335  prosrc => 'anycompatiblearray_out' },
7336{ oid => '5090', descr => 'I/O',
7337  proname => 'anycompatiblearray_recv', provolatile => 's',
7338  prorettype => 'anycompatiblearray', proargtypes => 'internal',
7339  prosrc => 'anycompatiblearray_recv' },
7340{ oid => '5091', descr => 'I/O',
7341  proname => 'anycompatiblearray_send', provolatile => 's',
7342  prorettype => 'bytea', proargtypes => 'anycompatiblearray',
7343  prosrc => 'anycompatiblearray_send' },
7344{ oid => '5092', descr => 'I/O',
7345  proname => 'anycompatiblenonarray_in', prorettype => 'anycompatiblenonarray',
7346  proargtypes => 'cstring', prosrc => 'anycompatiblenonarray_in' },
7347{ oid => '5093', descr => 'I/O',
7348  proname => 'anycompatiblenonarray_out', prorettype => 'cstring',
7349  proargtypes => 'anycompatiblenonarray',
7350  prosrc => 'anycompatiblenonarray_out' },
7351{ oid => '5094', descr => 'I/O',
7352  proname => 'anycompatiblerange_in', provolatile => 's',
7353  prorettype => 'anycompatiblerange', proargtypes => 'cstring oid int4',
7354  prosrc => 'anycompatiblerange_in' },
7355{ oid => '5095', descr => 'I/O',
7356  proname => 'anycompatiblerange_out', provolatile => 's',
7357  prorettype => 'cstring', proargtypes => 'anycompatiblerange',
7358  prosrc => 'anycompatiblerange_out' },
7359{ oid => '4226', descr => 'I/O',
7360  proname => 'anycompatiblemultirange_in', provolatile => 's',
7361  prorettype => 'anycompatiblemultirange', proargtypes => 'cstring oid int4',
7362  prosrc => 'anycompatiblemultirange_in' },
7363{ oid => '4227', descr => 'I/O',
7364  proname => 'anycompatiblemultirange_out', provolatile => 's',
7365  prorettype => 'cstring', proargtypes => 'anycompatiblemultirange',
7366  prosrc => 'anycompatiblemultirange_out' },
7367
7368# tablesample method handlers
7369{ oid => '3313', descr => 'BERNOULLI tablesample method handler',
7370  proname => 'bernoulli', provolatile => 'v', prorettype => 'tsm_handler',
7371  proargtypes => 'internal', prosrc => 'tsm_bernoulli_handler' },
7372{ oid => '3314', descr => 'SYSTEM tablesample method handler',
7373  proname => 'system', provolatile => 'v', prorettype => 'tsm_handler',
7374  proargtypes => 'internal', prosrc => 'tsm_system_handler' },
7375
7376# cryptographic
7377{ oid => '2311', descr => 'MD5 hash',
7378  proname => 'md5', proleakproof => 't', prorettype => 'text',
7379  proargtypes => 'text', prosrc => 'md5_text' },
7380{ oid => '2321', descr => 'MD5 hash',
7381  proname => 'md5', proleakproof => 't', prorettype => 'text',
7382  proargtypes => 'bytea', prosrc => 'md5_bytea' },
7383{ oid => '3419', descr => 'SHA-224 hash',
7384  proname => 'sha224', proleakproof => 't', prorettype => 'bytea',
7385  proargtypes => 'bytea', prosrc => 'sha224_bytea' },
7386{ oid => '3420', descr => 'SHA-256 hash',
7387  proname => 'sha256', proleakproof => 't', prorettype => 'bytea',
7388  proargtypes => 'bytea', prosrc => 'sha256_bytea' },
7389{ oid => '3421', descr => 'SHA-384 hash',
7390  proname => 'sha384', proleakproof => 't', prorettype => 'bytea',
7391  proargtypes => 'bytea', prosrc => 'sha384_bytea' },
7392{ oid => '3422', descr => 'SHA-512 hash',
7393  proname => 'sha512', proleakproof => 't', prorettype => 'bytea',
7394  proargtypes => 'bytea', prosrc => 'sha512_bytea' },
7395
7396# crosstype operations for date vs. timestamp and timestamptz
7397{ oid => '2338',
7398  proname => 'date_lt_timestamp', prorettype => 'bool',
7399  proargtypes => 'date timestamp', prosrc => 'date_lt_timestamp' },
7400{ oid => '2339',
7401  proname => 'date_le_timestamp', prorettype => 'bool',
7402  proargtypes => 'date timestamp', prosrc => 'date_le_timestamp' },
7403{ oid => '2340',
7404  proname => 'date_eq_timestamp', prorettype => 'bool',
7405  proargtypes => 'date timestamp', prosrc => 'date_eq_timestamp' },
7406{ oid => '2341',
7407  proname => 'date_gt_timestamp', prorettype => 'bool',
7408  proargtypes => 'date timestamp', prosrc => 'date_gt_timestamp' },
7409{ oid => '2342',
7410  proname => 'date_ge_timestamp', prorettype => 'bool',
7411  proargtypes => 'date timestamp', prosrc => 'date_ge_timestamp' },
7412{ oid => '2343',
7413  proname => 'date_ne_timestamp', prorettype => 'bool',
7414  proargtypes => 'date timestamp', prosrc => 'date_ne_timestamp' },
7415{ oid => '2344', descr => 'less-equal-greater',
7416  proname => 'date_cmp_timestamp', prorettype => 'int4',
7417  proargtypes => 'date timestamp', prosrc => 'date_cmp_timestamp' },
7418
7419{ oid => '2351',
7420  proname => 'date_lt_timestamptz', provolatile => 's', prorettype => 'bool',
7421  proargtypes => 'date timestamptz', prosrc => 'date_lt_timestamptz' },
7422{ oid => '2352',
7423  proname => 'date_le_timestamptz', provolatile => 's', prorettype => 'bool',
7424  proargtypes => 'date timestamptz', prosrc => 'date_le_timestamptz' },
7425{ oid => '2353',
7426  proname => 'date_eq_timestamptz', provolatile => 's', prorettype => 'bool',
7427  proargtypes => 'date timestamptz', prosrc => 'date_eq_timestamptz' },
7428{ oid => '2354',
7429  proname => 'date_gt_timestamptz', provolatile => 's', prorettype => 'bool',
7430  proargtypes => 'date timestamptz', prosrc => 'date_gt_timestamptz' },
7431{ oid => '2355',
7432  proname => 'date_ge_timestamptz', provolatile => 's', prorettype => 'bool',
7433  proargtypes => 'date timestamptz', prosrc => 'date_ge_timestamptz' },
7434{ oid => '2356',
7435  proname => 'date_ne_timestamptz', provolatile => 's', prorettype => 'bool',
7436  proargtypes => 'date timestamptz', prosrc => 'date_ne_timestamptz' },
7437{ oid => '2357', descr => 'less-equal-greater',
7438  proname => 'date_cmp_timestamptz', provolatile => 's', prorettype => 'int4',
7439  proargtypes => 'date timestamptz', prosrc => 'date_cmp_timestamptz' },
7440
7441{ oid => '2364',
7442  proname => 'timestamp_lt_date', prorettype => 'bool',
7443  proargtypes => 'timestamp date', prosrc => 'timestamp_lt_date' },
7444{ oid => '2365',
7445  proname => 'timestamp_le_date', prorettype => 'bool',
7446  proargtypes => 'timestamp date', prosrc => 'timestamp_le_date' },
7447{ oid => '2366',
7448  proname => 'timestamp_eq_date', prorettype => 'bool',
7449  proargtypes => 'timestamp date', prosrc => 'timestamp_eq_date' },
7450{ oid => '2367',
7451  proname => 'timestamp_gt_date', prorettype => 'bool',
7452  proargtypes => 'timestamp date', prosrc => 'timestamp_gt_date' },
7453{ oid => '2368',
7454  proname => 'timestamp_ge_date', prorettype => 'bool',
7455  proargtypes => 'timestamp date', prosrc => 'timestamp_ge_date' },
7456{ oid => '2369',
7457  proname => 'timestamp_ne_date', prorettype => 'bool',
7458  proargtypes => 'timestamp date', prosrc => 'timestamp_ne_date' },
7459{ oid => '2370', descr => 'less-equal-greater',
7460  proname => 'timestamp_cmp_date', prorettype => 'int4',
7461  proargtypes => 'timestamp date', prosrc => 'timestamp_cmp_date' },
7462
7463{ oid => '2377',
7464  proname => 'timestamptz_lt_date', provolatile => 's', prorettype => 'bool',
7465  proargtypes => 'timestamptz date', prosrc => 'timestamptz_lt_date' },
7466{ oid => '2378',
7467  proname => 'timestamptz_le_date', provolatile => 's', prorettype => 'bool',
7468  proargtypes => 'timestamptz date', prosrc => 'timestamptz_le_date' },
7469{ oid => '2379',
7470  proname => 'timestamptz_eq_date', provolatile => 's', prorettype => 'bool',
7471  proargtypes => 'timestamptz date', prosrc => 'timestamptz_eq_date' },
7472{ oid => '2380',
7473  proname => 'timestamptz_gt_date', provolatile => 's', prorettype => 'bool',
7474  proargtypes => 'timestamptz date', prosrc => 'timestamptz_gt_date' },
7475{ oid => '2381',
7476  proname => 'timestamptz_ge_date', provolatile => 's', prorettype => 'bool',
7477  proargtypes => 'timestamptz date', prosrc => 'timestamptz_ge_date' },
7478{ oid => '2382',
7479  proname => 'timestamptz_ne_date', provolatile => 's', prorettype => 'bool',
7480  proargtypes => 'timestamptz date', prosrc => 'timestamptz_ne_date' },
7481{ oid => '2383', descr => 'less-equal-greater',
7482  proname => 'timestamptz_cmp_date', provolatile => 's', prorettype => 'int4',
7483  proargtypes => 'timestamptz date', prosrc => 'timestamptz_cmp_date' },
7484
7485# crosstype operations for timestamp vs. timestamptz
7486{ oid => '2520',
7487  proname => 'timestamp_lt_timestamptz', provolatile => 's',
7488  prorettype => 'bool', proargtypes => 'timestamp timestamptz',
7489  prosrc => 'timestamp_lt_timestamptz' },
7490{ oid => '2521',
7491  proname => 'timestamp_le_timestamptz', provolatile => 's',
7492  prorettype => 'bool', proargtypes => 'timestamp timestamptz',
7493  prosrc => 'timestamp_le_timestamptz' },
7494{ oid => '2522',
7495  proname => 'timestamp_eq_timestamptz', provolatile => 's',
7496  prorettype => 'bool', proargtypes => 'timestamp timestamptz',
7497  prosrc => 'timestamp_eq_timestamptz' },
7498{ oid => '2523',
7499  proname => 'timestamp_gt_timestamptz', provolatile => 's',
7500  prorettype => 'bool', proargtypes => 'timestamp timestamptz',
7501  prosrc => 'timestamp_gt_timestamptz' },
7502{ oid => '2524',
7503  proname => 'timestamp_ge_timestamptz', provolatile => 's',
7504  prorettype => 'bool', proargtypes => 'timestamp timestamptz',
7505  prosrc => 'timestamp_ge_timestamptz' },
7506{ oid => '2525',
7507  proname => 'timestamp_ne_timestamptz', provolatile => 's',
7508  prorettype => 'bool', proargtypes => 'timestamp timestamptz',
7509  prosrc => 'timestamp_ne_timestamptz' },
7510{ oid => '2526', descr => 'less-equal-greater',
7511  proname => 'timestamp_cmp_timestamptz', provolatile => 's',
7512  prorettype => 'int4', proargtypes => 'timestamp timestamptz',
7513  prosrc => 'timestamp_cmp_timestamptz' },
7514
7515{ oid => '2527',
7516  proname => 'timestamptz_lt_timestamp', provolatile => 's',
7517  prorettype => 'bool', proargtypes => 'timestamptz timestamp',
7518  prosrc => 'timestamptz_lt_timestamp' },
7519{ oid => '2528',
7520  proname => 'timestamptz_le_timestamp', provolatile => 's',
7521  prorettype => 'bool', proargtypes => 'timestamptz timestamp',
7522  prosrc => 'timestamptz_le_timestamp' },
7523{ oid => '2529',
7524  proname => 'timestamptz_eq_timestamp', provolatile => 's',
7525  prorettype => 'bool', proargtypes => 'timestamptz timestamp',
7526  prosrc => 'timestamptz_eq_timestamp' },
7527{ oid => '2530',
7528  proname => 'timestamptz_gt_timestamp', provolatile => 's',
7529  prorettype => 'bool', proargtypes => 'timestamptz timestamp',
7530  prosrc => 'timestamptz_gt_timestamp' },
7531{ oid => '2531',
7532  proname => 'timestamptz_ge_timestamp', provolatile => 's',
7533  prorettype => 'bool', proargtypes => 'timestamptz timestamp',
7534  prosrc => 'timestamptz_ge_timestamp' },
7535{ oid => '2532',
7536  proname => 'timestamptz_ne_timestamp', provolatile => 's',
7537  prorettype => 'bool', proargtypes => 'timestamptz timestamp',
7538  prosrc => 'timestamptz_ne_timestamp' },
7539{ oid => '2533', descr => 'less-equal-greater',
7540  proname => 'timestamptz_cmp_timestamp', provolatile => 's',
7541  prorettype => 'int4', proargtypes => 'timestamptz timestamp',
7542  prosrc => 'timestamptz_cmp_timestamp' },
7543
7544# send/receive functions
7545{ oid => '2400', descr => 'I/O',
7546  proname => 'array_recv', provolatile => 's', prorettype => 'anyarray',
7547  proargtypes => 'internal oid int4', prosrc => 'array_recv' },
7548{ oid => '2401', descr => 'I/O',
7549  proname => 'array_send', provolatile => 's', prorettype => 'bytea',
7550  proargtypes => 'anyarray', prosrc => 'array_send' },
7551{ oid => '2402', descr => 'I/O',
7552  proname => 'record_recv', provolatile => 's', prorettype => 'record',
7553  proargtypes => 'internal oid int4', prosrc => 'record_recv' },
7554{ oid => '2403', descr => 'I/O',
7555  proname => 'record_send', provolatile => 's', prorettype => 'bytea',
7556  proargtypes => 'record', prosrc => 'record_send' },
7557{ oid => '2404', descr => 'I/O',
7558  proname => 'int2recv', prorettype => 'int2', proargtypes => 'internal',
7559  prosrc => 'int2recv' },
7560{ oid => '2405', descr => 'I/O',
7561  proname => 'int2send', prorettype => 'bytea', proargtypes => 'int2',
7562  prosrc => 'int2send' },
7563{ oid => '2406', descr => 'I/O',
7564  proname => 'int4recv', prorettype => 'int4', proargtypes => 'internal',
7565  prosrc => 'int4recv' },
7566{ oid => '2407', descr => 'I/O',
7567  proname => 'int4send', prorettype => 'bytea', proargtypes => 'int4',
7568  prosrc => 'int4send' },
7569{ oid => '2408', descr => 'I/O',
7570  proname => 'int8recv', prorettype => 'int8', proargtypes => 'internal',
7571  prosrc => 'int8recv' },
7572{ oid => '2409', descr => 'I/O',
7573  proname => 'int8send', prorettype => 'bytea', proargtypes => 'int8',
7574  prosrc => 'int8send' },
7575{ oid => '2410', descr => 'I/O',
7576  proname => 'int2vectorrecv', prorettype => 'int2vector',
7577  proargtypes => 'internal', prosrc => 'int2vectorrecv' },
7578{ oid => '2411', descr => 'I/O',
7579  proname => 'int2vectorsend', prorettype => 'bytea',
7580  proargtypes => 'int2vector', prosrc => 'int2vectorsend' },
7581{ oid => '2412', descr => 'I/O',
7582  proname => 'bytearecv', prorettype => 'bytea', proargtypes => 'internal',
7583  prosrc => 'bytearecv' },
7584{ oid => '2413', descr => 'I/O',
7585  proname => 'byteasend', prorettype => 'bytea', proargtypes => 'bytea',
7586  prosrc => 'byteasend' },
7587{ oid => '2414', descr => 'I/O',
7588  proname => 'textrecv', provolatile => 's', prorettype => 'text',
7589  proargtypes => 'internal', prosrc => 'textrecv' },
7590{ oid => '2415', descr => 'I/O',
7591  proname => 'textsend', provolatile => 's', prorettype => 'bytea',
7592  proargtypes => 'text', prosrc => 'textsend' },
7593{ oid => '2416', descr => 'I/O',
7594  proname => 'unknownrecv', prorettype => 'unknown', proargtypes => 'internal',
7595  prosrc => 'unknownrecv' },
7596{ oid => '2417', descr => 'I/O',
7597  proname => 'unknownsend', prorettype => 'bytea', proargtypes => 'unknown',
7598  prosrc => 'unknownsend' },
7599{ oid => '2418', descr => 'I/O',
7600  proname => 'oidrecv', prorettype => 'oid', proargtypes => 'internal',
7601  prosrc => 'oidrecv' },
7602{ oid => '2419', descr => 'I/O',
7603  proname => 'oidsend', prorettype => 'bytea', proargtypes => 'oid',
7604  prosrc => 'oidsend' },
7605{ oid => '2420', descr => 'I/O',
7606  proname => 'oidvectorrecv', prorettype => 'oidvector',
7607  proargtypes => 'internal', prosrc => 'oidvectorrecv' },
7608{ oid => '2421', descr => 'I/O',
7609  proname => 'oidvectorsend', prorettype => 'bytea', proargtypes => 'oidvector',
7610  prosrc => 'oidvectorsend' },
7611{ oid => '2422', descr => 'I/O',
7612  proname => 'namerecv', provolatile => 's', prorettype => 'name',
7613  proargtypes => 'internal', prosrc => 'namerecv' },
7614{ oid => '2423', descr => 'I/O',
7615  proname => 'namesend', provolatile => 's', prorettype => 'bytea',
7616  proargtypes => 'name', prosrc => 'namesend' },
7617{ oid => '2424', descr => 'I/O',
7618  proname => 'float4recv', prorettype => 'float4', proargtypes => 'internal',
7619  prosrc => 'float4recv' },
7620{ oid => '2425', descr => 'I/O',
7621  proname => 'float4send', prorettype => 'bytea', proargtypes => 'float4',
7622  prosrc => 'float4send' },
7623{ oid => '2426', descr => 'I/O',
7624  proname => 'float8recv', prorettype => 'float8', proargtypes => 'internal',
7625  prosrc => 'float8recv' },
7626{ oid => '2427', descr => 'I/O',
7627  proname => 'float8send', prorettype => 'bytea', proargtypes => 'float8',
7628  prosrc => 'float8send' },
7629{ oid => '2428', descr => 'I/O',
7630  proname => 'point_recv', prorettype => 'point', proargtypes => 'internal',
7631  prosrc => 'point_recv' },
7632{ oid => '2429', descr => 'I/O',
7633  proname => 'point_send', prorettype => 'bytea', proargtypes => 'point',
7634  prosrc => 'point_send' },
7635{ oid => '2430', descr => 'I/O',
7636  proname => 'bpcharrecv', provolatile => 's', prorettype => 'bpchar',
7637  proargtypes => 'internal oid int4', prosrc => 'bpcharrecv' },
7638{ oid => '2431', descr => 'I/O',
7639  proname => 'bpcharsend', provolatile => 's', prorettype => 'bytea',
7640  proargtypes => 'bpchar', prosrc => 'bpcharsend' },
7641{ oid => '2432', descr => 'I/O',
7642  proname => 'varcharrecv', provolatile => 's', prorettype => 'varchar',
7643  proargtypes => 'internal oid int4', prosrc => 'varcharrecv' },
7644{ oid => '2433', descr => 'I/O',
7645  proname => 'varcharsend', provolatile => 's', prorettype => 'bytea',
7646  proargtypes => 'varchar', prosrc => 'varcharsend' },
7647{ oid => '2434', descr => 'I/O',
7648  proname => 'charrecv', prorettype => 'char', proargtypes => 'internal',
7649  prosrc => 'charrecv' },
7650{ oid => '2435', descr => 'I/O',
7651  proname => 'charsend', prorettype => 'bytea', proargtypes => 'char',
7652  prosrc => 'charsend' },
7653{ oid => '2436', descr => 'I/O',
7654  proname => 'boolrecv', prorettype => 'bool', proargtypes => 'internal',
7655  prosrc => 'boolrecv' },
7656{ oid => '2437', descr => 'I/O',
7657  proname => 'boolsend', prorettype => 'bytea', proargtypes => 'bool',
7658  prosrc => 'boolsend' },
7659{ oid => '2438', descr => 'I/O',
7660  proname => 'tidrecv', prorettype => 'tid', proargtypes => 'internal',
7661  prosrc => 'tidrecv' },
7662{ oid => '2439', descr => 'I/O',
7663  proname => 'tidsend', prorettype => 'bytea', proargtypes => 'tid',
7664  prosrc => 'tidsend' },
7665{ oid => '2440', descr => 'I/O',
7666  proname => 'xidrecv', prorettype => 'xid', proargtypes => 'internal',
7667  prosrc => 'xidrecv' },
7668{ oid => '2441', descr => 'I/O',
7669  proname => 'xidsend', prorettype => 'bytea', proargtypes => 'xid',
7670  prosrc => 'xidsend' },
7671{ oid => '2442', descr => 'I/O',
7672  proname => 'cidrecv', prorettype => 'cid', proargtypes => 'internal',
7673  prosrc => 'cidrecv' },
7674{ oid => '2443', descr => 'I/O',
7675  proname => 'cidsend', prorettype => 'bytea', proargtypes => 'cid',
7676  prosrc => 'cidsend' },
7677{ oid => '2444', descr => 'I/O',
7678  proname => 'regprocrecv', prorettype => 'regproc', proargtypes => 'internal',
7679  prosrc => 'regprocrecv' },
7680{ oid => '2445', descr => 'I/O',
7681  proname => 'regprocsend', prorettype => 'bytea', proargtypes => 'regproc',
7682  prosrc => 'regprocsend' },
7683{ oid => '2446', descr => 'I/O',
7684  proname => 'regprocedurerecv', prorettype => 'regprocedure',
7685  proargtypes => 'internal', prosrc => 'regprocedurerecv' },
7686{ oid => '2447', descr => 'I/O',
7687  proname => 'regproceduresend', prorettype => 'bytea',
7688  proargtypes => 'regprocedure', prosrc => 'regproceduresend' },
7689{ oid => '2448', descr => 'I/O',
7690  proname => 'regoperrecv', prorettype => 'regoper', proargtypes => 'internal',
7691  prosrc => 'regoperrecv' },
7692{ oid => '2449', descr => 'I/O',
7693  proname => 'regopersend', prorettype => 'bytea', proargtypes => 'regoper',
7694  prosrc => 'regopersend' },
7695{ oid => '2450', descr => 'I/O',
7696  proname => 'regoperatorrecv', prorettype => 'regoperator',
7697  proargtypes => 'internal', prosrc => 'regoperatorrecv' },
7698{ oid => '2451', descr => 'I/O',
7699  proname => 'regoperatorsend', prorettype => 'bytea',
7700  proargtypes => 'regoperator', prosrc => 'regoperatorsend' },
7701{ oid => '2452', descr => 'I/O',
7702  proname => 'regclassrecv', prorettype => 'regclass',
7703  proargtypes => 'internal', prosrc => 'regclassrecv' },
7704{ oid => '2453', descr => 'I/O',
7705  proname => 'regclasssend', prorettype => 'bytea', proargtypes => 'regclass',
7706  prosrc => 'regclasssend' },
7707{ oid => '4196', descr => 'I/O',
7708  proname => 'regcollationrecv', prorettype => 'regcollation',
7709  proargtypes => 'internal', prosrc => 'regcollationrecv' },
7710{ oid => '4197', descr => 'I/O',
7711  proname => 'regcollationsend', prorettype => 'bytea',
7712  proargtypes => 'regcollation', prosrc => 'regcollationsend' },
7713{ oid => '2454', descr => 'I/O',
7714  proname => 'regtyperecv', prorettype => 'regtype', proargtypes => 'internal',
7715  prosrc => 'regtyperecv' },
7716{ oid => '2455', descr => 'I/O',
7717  proname => 'regtypesend', prorettype => 'bytea', proargtypes => 'regtype',
7718  prosrc => 'regtypesend' },
7719
7720{ oid => '4094', descr => 'I/O',
7721  proname => 'regrolerecv', prorettype => 'regrole', proargtypes => 'internal',
7722  prosrc => 'regrolerecv' },
7723{ oid => '4095', descr => 'I/O',
7724  proname => 'regrolesend', prorettype => 'bytea', proargtypes => 'regrole',
7725  prosrc => 'regrolesend' },
7726{ oid => '4087', descr => 'I/O',
7727  proname => 'regnamespacerecv', prorettype => 'regnamespace',
7728  proargtypes => 'internal', prosrc => 'regnamespacerecv' },
7729{ oid => '4088', descr => 'I/O',
7730  proname => 'regnamespacesend', prorettype => 'bytea',
7731  proargtypes => 'regnamespace', prosrc => 'regnamespacesend' },
7732{ oid => '2456', descr => 'I/O',
7733  proname => 'bit_recv', prorettype => 'bit',
7734  proargtypes => 'internal oid int4', prosrc => 'bit_recv' },
7735{ oid => '2457', descr => 'I/O',
7736  proname => 'bit_send', prorettype => 'bytea', proargtypes => 'bit',
7737  prosrc => 'bit_send' },
7738{ oid => '2458', descr => 'I/O',
7739  proname => 'varbit_recv', prorettype => 'varbit',
7740  proargtypes => 'internal oid int4', prosrc => 'varbit_recv' },
7741{ oid => '2459', descr => 'I/O',
7742  proname => 'varbit_send', prorettype => 'bytea', proargtypes => 'varbit',
7743  prosrc => 'varbit_send' },
7744{ oid => '2460', descr => 'I/O',
7745  proname => 'numeric_recv', prorettype => 'numeric',
7746  proargtypes => 'internal oid int4', prosrc => 'numeric_recv' },
7747{ oid => '2461', descr => 'I/O',
7748  proname => 'numeric_send', prorettype => 'bytea', proargtypes => 'numeric',
7749  prosrc => 'numeric_send' },
7750{ oid => '2468', descr => 'I/O',
7751  proname => 'date_recv', prorettype => 'date', proargtypes => 'internal',
7752  prosrc => 'date_recv' },
7753{ oid => '2469', descr => 'I/O',
7754  proname => 'date_send', prorettype => 'bytea', proargtypes => 'date',
7755  prosrc => 'date_send' },
7756{ oid => '2470', descr => 'I/O',
7757  proname => 'time_recv', prorettype => 'time',
7758  proargtypes => 'internal oid int4', prosrc => 'time_recv' },
7759{ oid => '2471', descr => 'I/O',
7760  proname => 'time_send', prorettype => 'bytea', proargtypes => 'time',
7761  prosrc => 'time_send' },
7762{ oid => '2472', descr => 'I/O',
7763  proname => 'timetz_recv', prorettype => 'timetz',
7764  proargtypes => 'internal oid int4', prosrc => 'timetz_recv' },
7765{ oid => '2473', descr => 'I/O',
7766  proname => 'timetz_send', prorettype => 'bytea', proargtypes => 'timetz',
7767  prosrc => 'timetz_send' },
7768{ oid => '2474', descr => 'I/O',
7769  proname => 'timestamp_recv', prorettype => 'timestamp',
7770  proargtypes => 'internal oid int4', prosrc => 'timestamp_recv' },
7771{ oid => '2475', descr => 'I/O',
7772  proname => 'timestamp_send', prorettype => 'bytea',
7773  proargtypes => 'timestamp', prosrc => 'timestamp_send' },
7774{ oid => '2476', descr => 'I/O',
7775  proname => 'timestamptz_recv', prorettype => 'timestamptz',
7776  proargtypes => 'internal oid int4', prosrc => 'timestamptz_recv' },
7777{ oid => '2477', descr => 'I/O',
7778  proname => 'timestamptz_send', prorettype => 'bytea',
7779  proargtypes => 'timestamptz', prosrc => 'timestamptz_send' },
7780{ oid => '2478', descr => 'I/O',
7781  proname => 'interval_recv', prorettype => 'interval',
7782  proargtypes => 'internal oid int4', prosrc => 'interval_recv' },
7783{ oid => '2479', descr => 'I/O',
7784  proname => 'interval_send', prorettype => 'bytea', proargtypes => 'interval',
7785  prosrc => 'interval_send' },
7786{ oid => '2480', descr => 'I/O',
7787  proname => 'lseg_recv', prorettype => 'lseg', proargtypes => 'internal',
7788  prosrc => 'lseg_recv' },
7789{ oid => '2481', descr => 'I/O',
7790  proname => 'lseg_send', prorettype => 'bytea', proargtypes => 'lseg',
7791  prosrc => 'lseg_send' },
7792{ oid => '2482', descr => 'I/O',
7793  proname => 'path_recv', prorettype => 'path', proargtypes => 'internal',
7794  prosrc => 'path_recv' },
7795{ oid => '2483', descr => 'I/O',
7796  proname => 'path_send', prorettype => 'bytea', proargtypes => 'path',
7797  prosrc => 'path_send' },
7798{ oid => '2484', descr => 'I/O',
7799  proname => 'box_recv', prorettype => 'box', proargtypes => 'internal',
7800  prosrc => 'box_recv' },
7801{ oid => '2485', descr => 'I/O',
7802  proname => 'box_send', prorettype => 'bytea', proargtypes => 'box',
7803  prosrc => 'box_send' },
7804{ oid => '2486', descr => 'I/O',
7805  proname => 'poly_recv', prorettype => 'polygon', proargtypes => 'internal',
7806  prosrc => 'poly_recv' },
7807{ oid => '2487', descr => 'I/O',
7808  proname => 'poly_send', prorettype => 'bytea', proargtypes => 'polygon',
7809  prosrc => 'poly_send' },
7810{ oid => '2488', descr => 'I/O',
7811  proname => 'line_recv', prorettype => 'line', proargtypes => 'internal',
7812  prosrc => 'line_recv' },
7813{ oid => '2489', descr => 'I/O',
7814  proname => 'line_send', prorettype => 'bytea', proargtypes => 'line',
7815  prosrc => 'line_send' },
7816{ oid => '2490', descr => 'I/O',
7817  proname => 'circle_recv', prorettype => 'circle', proargtypes => 'internal',
7818  prosrc => 'circle_recv' },
7819{ oid => '2491', descr => 'I/O',
7820  proname => 'circle_send', prorettype => 'bytea', proargtypes => 'circle',
7821  prosrc => 'circle_send' },
7822{ oid => '2492', descr => 'I/O',
7823  proname => 'cash_recv', prorettype => 'money', proargtypes => 'internal',
7824  prosrc => 'cash_recv' },
7825{ oid => '2493', descr => 'I/O',
7826  proname => 'cash_send', prorettype => 'bytea', proargtypes => 'money',
7827  prosrc => 'cash_send' },
7828{ oid => '2494', descr => 'I/O',
7829  proname => 'macaddr_recv', prorettype => 'macaddr', proargtypes => 'internal',
7830  prosrc => 'macaddr_recv' },
7831{ oid => '2495', descr => 'I/O',
7832  proname => 'macaddr_send', prorettype => 'bytea', proargtypes => 'macaddr',
7833  prosrc => 'macaddr_send' },
7834{ oid => '2496', descr => 'I/O',
7835  proname => 'inet_recv', prorettype => 'inet', proargtypes => 'internal',
7836  prosrc => 'inet_recv' },
7837{ oid => '2497', descr => 'I/O',
7838  proname => 'inet_send', prorettype => 'bytea', proargtypes => 'inet',
7839  prosrc => 'inet_send' },
7840{ oid => '2498', descr => 'I/O',
7841  proname => 'cidr_recv', prorettype => 'cidr', proargtypes => 'internal',
7842  prosrc => 'cidr_recv' },
7843{ oid => '2499', descr => 'I/O',
7844  proname => 'cidr_send', prorettype => 'bytea', proargtypes => 'cidr',
7845  prosrc => 'cidr_send' },
7846{ oid => '2500', descr => 'I/O',
7847  proname => 'cstring_recv', provolatile => 's', prorettype => 'cstring',
7848  proargtypes => 'internal', prosrc => 'cstring_recv' },
7849{ oid => '2501', descr => 'I/O',
7850  proname => 'cstring_send', provolatile => 's', prorettype => 'bytea',
7851  proargtypes => 'cstring', prosrc => 'cstring_send' },
7852{ oid => '2502', descr => 'I/O',
7853  proname => 'anyarray_recv', provolatile => 's', prorettype => 'anyarray',
7854  proargtypes => 'internal', prosrc => 'anyarray_recv' },
7855{ oid => '2503', descr => 'I/O',
7856  proname => 'anyarray_send', provolatile => 's', prorettype => 'bytea',
7857  proargtypes => 'anyarray', prosrc => 'anyarray_send' },
7858{ oid => '3120', descr => 'I/O',
7859  proname => 'void_recv', prorettype => 'void', proargtypes => 'internal',
7860  prosrc => 'void_recv' },
7861{ oid => '3121', descr => 'I/O',
7862  proname => 'void_send', prorettype => 'bytea', proargtypes => 'void',
7863  prosrc => 'void_send' },
7864{ oid => '3446', descr => 'I/O',
7865  proname => 'macaddr8_recv', prorettype => 'macaddr8',
7866  proargtypes => 'internal', prosrc => 'macaddr8_recv' },
7867{ oid => '3447', descr => 'I/O',
7868  proname => 'macaddr8_send', prorettype => 'bytea', proargtypes => 'macaddr8',
7869  prosrc => 'macaddr8_send' },
7870
7871# System-view support functions with pretty-print option
7872{ oid => '2504', descr => 'source text of a rule with pretty-print option',
7873  proname => 'pg_get_ruledef', provolatile => 's', prorettype => 'text',
7874  proargtypes => 'oid bool', prosrc => 'pg_get_ruledef_ext' },
7875{ oid => '2505',
7876  descr => 'select statement of a view with pretty-print option',
7877  proname => 'pg_get_viewdef', provolatile => 's', proparallel => 'r',
7878  prorettype => 'text', proargtypes => 'text bool',
7879  prosrc => 'pg_get_viewdef_name_ext' },
7880{ oid => '2506',
7881  descr => 'select statement of a view with pretty-print option',
7882  proname => 'pg_get_viewdef', provolatile => 's', proparallel => 'r',
7883  prorettype => 'text', proargtypes => 'oid bool',
7884  prosrc => 'pg_get_viewdef_ext' },
7885{ oid => '3159',
7886  descr => 'select statement of a view with pretty-printing and specified line wrapping',
7887  proname => 'pg_get_viewdef', provolatile => 's', proparallel => 'r',
7888  prorettype => 'text', proargtypes => 'oid int4',
7889  prosrc => 'pg_get_viewdef_wrap' },
7890{ oid => '2507',
7891  descr => 'index description (full create statement or single expression) with pretty-print option',
7892  proname => 'pg_get_indexdef', provolatile => 's', prorettype => 'text',
7893  proargtypes => 'oid int4 bool', prosrc => 'pg_get_indexdef_ext' },
7894{ oid => '2508', descr => 'constraint description with pretty-print option',
7895  proname => 'pg_get_constraintdef', provolatile => 's', prorettype => 'text',
7896  proargtypes => 'oid bool', prosrc => 'pg_get_constraintdef_ext' },
7897{ oid => '2509',
7898  descr => 'deparse an encoded expression with pretty-print option',
7899  proname => 'pg_get_expr', provolatile => 's', prorettype => 'text',
7900  proargtypes => 'pg_node_tree oid bool', prosrc => 'pg_get_expr_ext' },
7901{ oid => '2510', descr => 'get the prepared statements for this session',
7902  proname => 'pg_prepared_statement', prorows => '1000', proretset => 't',
7903  provolatile => 's', proparallel => 'r', prorettype => 'record',
7904  proargtypes => '',
7905  proallargtypes => '{text,text,timestamptz,_regtype,bool,int8,int8}',
7906  proargmodes => '{o,o,o,o,o,o,o}',
7907  proargnames => '{name,statement,prepare_time,parameter_types,from_sql,generic_plans,custom_plans}',
7908  prosrc => 'pg_prepared_statement' },
7909{ oid => '2511', descr => 'get the open cursors for this session',
7910  proname => 'pg_cursor', prorows => '1000', proretset => 't',
7911  provolatile => 's', proparallel => 'r', prorettype => 'record',
7912  proargtypes => '', proallargtypes => '{text,text,bool,bool,bool,timestamptz}',
7913  proargmodes => '{o,o,o,o,o,o}',
7914  proargnames => '{name,statement,is_holdable,is_binary,is_scrollable,creation_time}',
7915  prosrc => 'pg_cursor' },
7916{ oid => '2599', descr => 'get the available time zone abbreviations',
7917  proname => 'pg_timezone_abbrevs', prorows => '1000', proretset => 't',
7918  provolatile => 's', prorettype => 'record', proargtypes => '',
7919  proallargtypes => '{text,interval,bool}', proargmodes => '{o,o,o}',
7920  proargnames => '{abbrev,utc_offset,is_dst}',
7921  prosrc => 'pg_timezone_abbrevs' },
7922{ oid => '2856', descr => 'get the available time zone names',
7923  proname => 'pg_timezone_names', prorows => '1000', proretset => 't',
7924  provolatile => 's', prorettype => 'record', proargtypes => '',
7925  proallargtypes => '{text,text,interval,bool}', proargmodes => '{o,o,o,o}',
7926  proargnames => '{name,abbrev,utc_offset,is_dst}',
7927  prosrc => 'pg_timezone_names' },
7928{ oid => '2730', descr => 'trigger description with pretty-print option',
7929  proname => 'pg_get_triggerdef', provolatile => 's', prorettype => 'text',
7930  proargtypes => 'oid bool', prosrc => 'pg_get_triggerdef_ext' },
7931
7932# asynchronous notifications
7933{ oid => '3035',
7934  descr => 'get the channels that the current backend listens to',
7935  proname => 'pg_listening_channels', prorows => '10', proretset => 't',
7936  provolatile => 's', proparallel => 'r', prorettype => 'text',
7937  proargtypes => '', prosrc => 'pg_listening_channels' },
7938{ oid => '3036', descr => 'send a notification event',
7939  proname => 'pg_notify', proisstrict => 'f', provolatile => 'v',
7940  proparallel => 'r', prorettype => 'void', proargtypes => 'text text',
7941  prosrc => 'pg_notify' },
7942{ oid => '3296',
7943  descr => 'get the fraction of the asynchronous notification queue currently in use',
7944  proname => 'pg_notification_queue_usage', provolatile => 'v',
7945  proparallel => 'r', prorettype => 'float8', proargtypes => '',
7946  prosrc => 'pg_notification_queue_usage' },
7947
7948# shared memory usage
7949{ oid => '5052', descr => 'allocations from the main shared memory segment',
7950  proname => 'pg_get_shmem_allocations', prorows => '50', proretset => 't',
7951  provolatile => 'v', prorettype => 'record', proargtypes => '',
7952  proallargtypes => '{text,int8,int8,int8}', proargmodes => '{o,o,o,o}',
7953  proargnames => '{name,off,size,allocated_size}',
7954  prosrc => 'pg_get_shmem_allocations' },
7955
7956# memory context of local backend
7957{ oid => '2282',
7958  descr => 'information about all memory contexts of local backend',
7959  proname => 'pg_get_backend_memory_contexts', prorows => '100',
7960  proretset => 't', provolatile => 'v', proparallel => 'r',
7961  prorettype => 'record', proargtypes => '',
7962  proallargtypes => '{text,text,text,int4,int8,int8,int8,int8,int8}',
7963  proargmodes => '{o,o,o,o,o,o,o,o,o}',
7964  proargnames => '{name, ident, parent, level, total_bytes, total_nblocks, free_bytes, free_chunks, used_bytes}',
7965  prosrc => 'pg_get_backend_memory_contexts' },
7966
7967# logging memory contexts of the specified backend
7968{ oid => '4543', descr => 'log memory contexts of the specified backend',
7969  proname => 'pg_log_backend_memory_contexts', provolatile => 'v',
7970  prorettype => 'bool', proargtypes => 'int4',
7971  prosrc => 'pg_log_backend_memory_contexts' },
7972
7973# non-persistent series generator
7974{ oid => '1066', descr => 'non-persistent series generator',
7975  proname => 'generate_series', prorows => '1000',
7976  prosupport => 'generate_series_int4_support', proretset => 't',
7977  prorettype => 'int4', proargtypes => 'int4 int4 int4',
7978  prosrc => 'generate_series_step_int4' },
7979{ oid => '1067', descr => 'non-persistent series generator',
7980  proname => 'generate_series', prorows => '1000',
7981  prosupport => 'generate_series_int4_support', proretset => 't',
7982  prorettype => 'int4', proargtypes => 'int4 int4',
7983  prosrc => 'generate_series_int4' },
7984{ oid => '3994', descr => 'planner support for generate_series',
7985  proname => 'generate_series_int4_support', prorettype => 'internal',
7986  proargtypes => 'internal', prosrc => 'generate_series_int4_support' },
7987{ oid => '1068', descr => 'non-persistent series generator',
7988  proname => 'generate_series', prorows => '1000',
7989  prosupport => 'generate_series_int8_support', proretset => 't',
7990  prorettype => 'int8', proargtypes => 'int8 int8 int8',
7991  prosrc => 'generate_series_step_int8' },
7992{ oid => '1069', descr => 'non-persistent series generator',
7993  proname => 'generate_series', prorows => '1000',
7994  prosupport => 'generate_series_int8_support', proretset => 't',
7995  prorettype => 'int8', proargtypes => 'int8 int8',
7996  prosrc => 'generate_series_int8' },
7997{ oid => '3995', descr => 'planner support for generate_series',
7998  proname => 'generate_series_int8_support', prorettype => 'internal',
7999  proargtypes => 'internal', prosrc => 'generate_series_int8_support' },
8000{ oid => '3259', descr => 'non-persistent series generator',
8001  proname => 'generate_series', prorows => '1000', proretset => 't',
8002  prorettype => 'numeric', proargtypes => 'numeric numeric numeric',
8003  prosrc => 'generate_series_step_numeric' },
8004{ oid => '3260', descr => 'non-persistent series generator',
8005  proname => 'generate_series', prorows => '1000', proretset => 't',
8006  prorettype => 'numeric', proargtypes => 'numeric numeric',
8007  prosrc => 'generate_series_numeric' },
8008{ oid => '938', descr => 'non-persistent series generator',
8009  proname => 'generate_series', prorows => '1000', proretset => 't',
8010  prorettype => 'timestamp', proargtypes => 'timestamp timestamp interval',
8011  prosrc => 'generate_series_timestamp' },
8012{ oid => '939', descr => 'non-persistent series generator',
8013  proname => 'generate_series', prorows => '1000', proretset => 't',
8014  provolatile => 's', prorettype => 'timestamptz',
8015  proargtypes => 'timestamptz timestamptz interval',
8016  prosrc => 'generate_series_timestamptz' },
8017
8018# boolean aggregates
8019{ oid => '2515', descr => 'aggregate transition function',
8020  proname => 'booland_statefunc', prorettype => 'bool',
8021  proargtypes => 'bool bool', prosrc => 'booland_statefunc' },
8022{ oid => '2516', descr => 'aggregate transition function',
8023  proname => 'boolor_statefunc', prorettype => 'bool',
8024  proargtypes => 'bool bool', prosrc => 'boolor_statefunc' },
8025{ oid => '3496', descr => 'aggregate transition function',
8026  proname => 'bool_accum', proisstrict => 'f', prorettype => 'internal',
8027  proargtypes => 'internal bool', prosrc => 'bool_accum' },
8028{ oid => '3497', descr => 'aggregate transition function',
8029  proname => 'bool_accum_inv', proisstrict => 'f', prorettype => 'internal',
8030  proargtypes => 'internal bool', prosrc => 'bool_accum_inv' },
8031{ oid => '3498', descr => 'aggregate final function',
8032  proname => 'bool_alltrue', prorettype => 'bool', proargtypes => 'internal',
8033  prosrc => 'bool_alltrue' },
8034{ oid => '3499', descr => 'aggregate final function',
8035  proname => 'bool_anytrue', prorettype => 'bool', proargtypes => 'internal',
8036  prosrc => 'bool_anytrue' },
8037{ oid => '2517', descr => 'boolean-and aggregate',
8038  proname => 'bool_and', prokind => 'a', proisstrict => 'f',
8039  prorettype => 'bool', proargtypes => 'bool', prosrc => 'aggregate_dummy' },
8040
8041# ANY, SOME? These names conflict with subquery operators. See doc.
8042{ oid => '2518', descr => 'boolean-or aggregate',
8043  proname => 'bool_or', prokind => 'a', proisstrict => 'f',
8044  prorettype => 'bool', proargtypes => 'bool', prosrc => 'aggregate_dummy' },
8045{ oid => '2519', descr => 'boolean-and aggregate',
8046  proname => 'every', prokind => 'a', proisstrict => 'f', prorettype => 'bool',
8047  proargtypes => 'bool', prosrc => 'aggregate_dummy' },
8048
8049# bitwise integer aggregates
8050{ oid => '2236', descr => 'bitwise-and smallint aggregate',
8051  proname => 'bit_and', prokind => 'a', proisstrict => 'f',
8052  prorettype => 'int2', proargtypes => 'int2', prosrc => 'aggregate_dummy' },
8053{ oid => '2237', descr => 'bitwise-or smallint aggregate',
8054  proname => 'bit_or', prokind => 'a', proisstrict => 'f', prorettype => 'int2',
8055  proargtypes => 'int2', prosrc => 'aggregate_dummy' },
8056{ oid => '6164', descr => 'bitwise-xor smallint aggregate',
8057  proname => 'bit_xor', prokind => 'a', proisstrict => 'f',
8058  prorettype => 'int2', proargtypes => 'int2', prosrc => 'aggregate_dummy' },
8059{ oid => '2238', descr => 'bitwise-and integer aggregate',
8060  proname => 'bit_and', prokind => 'a', proisstrict => 'f',
8061  prorettype => 'int4', proargtypes => 'int4', prosrc => 'aggregate_dummy' },
8062{ oid => '2239', descr => 'bitwise-or integer aggregate',
8063  proname => 'bit_or', prokind => 'a', proisstrict => 'f', prorettype => 'int4',
8064  proargtypes => 'int4', prosrc => 'aggregate_dummy' },
8065{ oid => '6165', descr => 'bitwise-xor integer aggregate',
8066  proname => 'bit_xor', prokind => 'a', proisstrict => 'f',
8067  prorettype => 'int4', proargtypes => 'int4', prosrc => 'aggregate_dummy' },
8068{ oid => '2240', descr => 'bitwise-and bigint aggregate',
8069  proname => 'bit_and', prokind => 'a', proisstrict => 'f',
8070  prorettype => 'int8', proargtypes => 'int8', prosrc => 'aggregate_dummy' },
8071{ oid => '2241', descr => 'bitwise-or bigint aggregate',
8072  proname => 'bit_or', prokind => 'a', proisstrict => 'f', prorettype => 'int8',
8073  proargtypes => 'int8', prosrc => 'aggregate_dummy' },
8074{ oid => '6166', descr => 'bitwise-xor bigint aggregate',
8075  proname => 'bit_xor', prokind => 'a', proisstrict => 'f',
8076  prorettype => 'int8', proargtypes => 'int8', prosrc => 'aggregate_dummy' },
8077{ oid => '2242', descr => 'bitwise-and bit aggregate',
8078  proname => 'bit_and', prokind => 'a', proisstrict => 'f', prorettype => 'bit',
8079  proargtypes => 'bit', prosrc => 'aggregate_dummy' },
8080{ oid => '2243', descr => 'bitwise-or bit aggregate',
8081  proname => 'bit_or', prokind => 'a', proisstrict => 'f', prorettype => 'bit',
8082  proargtypes => 'bit', prosrc => 'aggregate_dummy' },
8083{ oid => '6167', descr => 'bitwise-xor bit aggregate',
8084  proname => 'bit_xor', prokind => 'a', proisstrict => 'f', prorettype => 'bit',
8085  proargtypes => 'bit', prosrc => 'aggregate_dummy' },
8086
8087# formerly-missing interval + datetime operators
8088{ oid => '2546',
8089  proname => 'interval_pl_date', prolang => 'sql', prorettype => 'timestamp',
8090  proargtypes => 'interval date', prosrc => 'see system_functions.sql' },
8091{ oid => '2547',
8092  proname => 'interval_pl_timetz', prolang => 'sql', prorettype => 'timetz',
8093  proargtypes => 'interval timetz', prosrc => 'see system_functions.sql' },
8094{ oid => '2548',
8095  proname => 'interval_pl_timestamp', prolang => 'sql',
8096  prorettype => 'timestamp', proargtypes => 'interval timestamp',
8097  prosrc => 'see system_functions.sql' },
8098{ oid => '2549',
8099  proname => 'interval_pl_timestamptz', prolang => 'sql', provolatile => 's',
8100  prorettype => 'timestamptz', proargtypes => 'interval timestamptz',
8101  prosrc => 'see system_functions.sql' },
8102{ oid => '2550',
8103  proname => 'integer_pl_date', prolang => 'sql', prorettype => 'date',
8104  proargtypes => 'int4 date', prosrc => 'see system_functions.sql' },
8105
8106{ oid => '2556', descr => 'get OIDs of databases in a tablespace',
8107  proname => 'pg_tablespace_databases', prorows => '1000', proretset => 't',
8108  provolatile => 's', prorettype => 'oid', proargtypes => 'oid',
8109  prosrc => 'pg_tablespace_databases' },
8110
8111{ oid => '2557', descr => 'convert int4 to boolean',
8112  proname => 'bool', proleakproof => 't', prorettype => 'bool',
8113  proargtypes => 'int4', prosrc => 'int4_bool' },
8114{ oid => '2558', descr => 'convert boolean to int4',
8115  proname => 'int4', proleakproof => 't', prorettype => 'int4',
8116  proargtypes => 'bool', prosrc => 'bool_int4' },
8117{ oid => '2559', descr => 'current value from last used sequence',
8118  proname => 'lastval', provolatile => 'v', proparallel => 'u',
8119  prorettype => 'int8', proargtypes => '', prosrc => 'lastval' },
8120
8121# start time function
8122{ oid => '2560', descr => 'postmaster start time',
8123  proname => 'pg_postmaster_start_time', provolatile => 's',
8124  prorettype => 'timestamptz', proargtypes => '',
8125  prosrc => 'pg_postmaster_start_time' },
8126
8127# config reload time function
8128{ oid => '2034', descr => 'configuration load time',
8129  proname => 'pg_conf_load_time', provolatile => 's', proparallel => 'r',
8130  prorettype => 'timestamptz', proargtypes => '',
8131  prosrc => 'pg_conf_load_time' },
8132
8133# new functions for Y-direction rtree opclasses
8134{ oid => '2562',
8135  proname => 'box_below', prorettype => 'bool', proargtypes => 'box box',
8136  prosrc => 'box_below' },
8137{ oid => '2563',
8138  proname => 'box_overbelow', prorettype => 'bool', proargtypes => 'box box',
8139  prosrc => 'box_overbelow' },
8140{ oid => '2564',
8141  proname => 'box_overabove', prorettype => 'bool', proargtypes => 'box box',
8142  prosrc => 'box_overabove' },
8143{ oid => '2565',
8144  proname => 'box_above', prorettype => 'bool', proargtypes => 'box box',
8145  prosrc => 'box_above' },
8146{ oid => '2566',
8147  proname => 'poly_below', prorettype => 'bool',
8148  proargtypes => 'polygon polygon', prosrc => 'poly_below' },
8149{ oid => '2567',
8150  proname => 'poly_overbelow', prorettype => 'bool',
8151  proargtypes => 'polygon polygon', prosrc => 'poly_overbelow' },
8152{ oid => '2568',
8153  proname => 'poly_overabove', prorettype => 'bool',
8154  proargtypes => 'polygon polygon', prosrc => 'poly_overabove' },
8155{ oid => '2569',
8156  proname => 'poly_above', prorettype => 'bool',
8157  proargtypes => 'polygon polygon', prosrc => 'poly_above' },
8158{ oid => '2587',
8159  proname => 'circle_overbelow', prorettype => 'bool',
8160  proargtypes => 'circle circle', prosrc => 'circle_overbelow' },
8161{ oid => '2588',
8162  proname => 'circle_overabove', prorettype => 'bool',
8163  proargtypes => 'circle circle', prosrc => 'circle_overabove' },
8164
8165# support functions for GiST r-tree emulation
8166{ oid => '2578', descr => 'GiST support',
8167  proname => 'gist_box_consistent', prorettype => 'bool',
8168  proargtypes => 'internal box int2 oid internal',
8169  prosrc => 'gist_box_consistent' },
8170{ oid => '2581', descr => 'GiST support',
8171  proname => 'gist_box_penalty', prorettype => 'internal',
8172  proargtypes => 'internal internal internal', prosrc => 'gist_box_penalty' },
8173{ oid => '2582', descr => 'GiST support',
8174  proname => 'gist_box_picksplit', prorettype => 'internal',
8175  proargtypes => 'internal internal', prosrc => 'gist_box_picksplit' },
8176{ oid => '2583', descr => 'GiST support',
8177  proname => 'gist_box_union', prorettype => 'box',
8178  proargtypes => 'internal internal', prosrc => 'gist_box_union' },
8179{ oid => '2584', descr => 'GiST support',
8180  proname => 'gist_box_same', prorettype => 'internal',
8181  proargtypes => 'box box internal', prosrc => 'gist_box_same' },
8182{ oid => '3998', descr => 'GiST support',
8183  proname => 'gist_box_distance', prorettype => 'float8',
8184  proargtypes => 'internal box int2 oid internal',
8185  prosrc => 'gist_box_distance' },
8186{ oid => '2585', descr => 'GiST support',
8187  proname => 'gist_poly_consistent', prorettype => 'bool',
8188  proargtypes => 'internal polygon int2 oid internal',
8189  prosrc => 'gist_poly_consistent' },
8190{ oid => '2586', descr => 'GiST support',
8191  proname => 'gist_poly_compress', prorettype => 'internal',
8192  proargtypes => 'internal', prosrc => 'gist_poly_compress' },
8193{ oid => '2591', descr => 'GiST support',
8194  proname => 'gist_circle_consistent', prorettype => 'bool',
8195  proargtypes => 'internal circle int2 oid internal',
8196  prosrc => 'gist_circle_consistent' },
8197{ oid => '2592', descr => 'GiST support',
8198  proname => 'gist_circle_compress', prorettype => 'internal',
8199  proargtypes => 'internal', prosrc => 'gist_circle_compress' },
8200{ oid => '1030', descr => 'GiST support',
8201  proname => 'gist_point_compress', prorettype => 'internal',
8202  proargtypes => 'internal', prosrc => 'gist_point_compress' },
8203{ oid => '3282', descr => 'GiST support',
8204  proname => 'gist_point_fetch', prorettype => 'internal',
8205  proargtypes => 'internal', prosrc => 'gist_point_fetch' },
8206{ oid => '2179', descr => 'GiST support',
8207  proname => 'gist_point_consistent', prorettype => 'bool',
8208  proargtypes => 'internal point int2 oid internal',
8209  prosrc => 'gist_point_consistent' },
8210{ oid => '3064', descr => 'GiST support',
8211  proname => 'gist_point_distance', prorettype => 'float8',
8212  proargtypes => 'internal point int2 oid internal',
8213  prosrc => 'gist_point_distance' },
8214{ oid => '3280', descr => 'GiST support',
8215  proname => 'gist_circle_distance', prorettype => 'float8',
8216  proargtypes => 'internal circle int2 oid internal',
8217  prosrc => 'gist_circle_distance' },
8218{ oid => '3288', descr => 'GiST support',
8219  proname => 'gist_poly_distance', prorettype => 'float8',
8220  proargtypes => 'internal polygon int2 oid internal',
8221  prosrc => 'gist_poly_distance' },
8222{ oid => '3435', descr => 'sort support',
8223  proname => 'gist_point_sortsupport', prorettype => 'void',
8224  proargtypes => 'internal', prosrc => 'gist_point_sortsupport' },
8225
8226# GIN array support
8227{ oid => '2743', descr => 'GIN array support',
8228  proname => 'ginarrayextract', prorettype => 'internal',
8229  proargtypes => 'anyarray internal internal', prosrc => 'ginarrayextract' },
8230{ oid => '2774', descr => 'GIN array support',
8231  proname => 'ginqueryarrayextract', prorettype => 'internal',
8232  proargtypes => 'anyarray internal int2 internal internal internal internal',
8233  prosrc => 'ginqueryarrayextract' },
8234{ oid => '2744', descr => 'GIN array support',
8235  proname => 'ginarrayconsistent', prorettype => 'bool',
8236  proargtypes => 'internal int2 anyarray int4 internal internal internal internal',
8237  prosrc => 'ginarrayconsistent' },
8238{ oid => '3920', descr => 'GIN array support',
8239  proname => 'ginarraytriconsistent', prorettype => 'char',
8240  proargtypes => 'internal int2 anyarray int4 internal internal internal',
8241  prosrc => 'ginarraytriconsistent' },
8242{ oid => '3076', descr => 'GIN array support (obsolete)',
8243  proname => 'ginarrayextract', prorettype => 'internal',
8244  proargtypes => 'anyarray internal', prosrc => 'ginarrayextract_2args' },
8245
8246# overlap/contains/contained
8247{ oid => '2747',
8248  proname => 'arrayoverlap', prorettype => 'bool',
8249  proargtypes => 'anyarray anyarray', prosrc => 'arrayoverlap' },
8250{ oid => '2748',
8251  proname => 'arraycontains', prorettype => 'bool',
8252  proargtypes => 'anyarray anyarray', prosrc => 'arraycontains' },
8253{ oid => '2749',
8254  proname => 'arraycontained', prorettype => 'bool',
8255  proargtypes => 'anyarray anyarray', prosrc => 'arraycontained' },
8256
8257# BRIN minmax
8258{ oid => '3383', descr => 'BRIN minmax support',
8259  proname => 'brin_minmax_opcinfo', prorettype => 'internal',
8260  proargtypes => 'internal', prosrc => 'brin_minmax_opcinfo' },
8261{ oid => '3384', descr => 'BRIN minmax support',
8262  proname => 'brin_minmax_add_value', prorettype => 'bool',
8263  proargtypes => 'internal internal internal internal',
8264  prosrc => 'brin_minmax_add_value' },
8265{ oid => '3385', descr => 'BRIN minmax support',
8266  proname => 'brin_minmax_consistent', prorettype => 'bool',
8267  proargtypes => 'internal internal internal',
8268  prosrc => 'brin_minmax_consistent' },
8269{ oid => '3386', descr => 'BRIN minmax support',
8270  proname => 'brin_minmax_union', prorettype => 'bool',
8271  proargtypes => 'internal internal internal', prosrc => 'brin_minmax_union' },
8272
8273# BRIN minmax multi
8274{ oid => '4616', descr => 'BRIN multi minmax support',
8275  proname => 'brin_minmax_multi_opcinfo', prorettype => 'internal',
8276  proargtypes => 'internal', prosrc => 'brin_minmax_multi_opcinfo' },
8277{ oid => '4617', descr => 'BRIN multi minmax support',
8278  proname => 'brin_minmax_multi_add_value', prorettype => 'bool',
8279  proargtypes => 'internal internal internal internal',
8280  prosrc => 'brin_minmax_multi_add_value' },
8281{ oid => '4618', descr => 'BRIN multi minmax support',
8282  proname => 'brin_minmax_multi_consistent', prorettype => 'bool',
8283  proargtypes => 'internal internal internal int4',
8284  prosrc => 'brin_minmax_multi_consistent' },
8285{ oid => '4619', descr => 'BRIN multi minmax support',
8286  proname => 'brin_minmax_multi_union', prorettype => 'bool',
8287  proargtypes => 'internal internal internal',
8288  prosrc => 'brin_minmax_multi_union' },
8289{ oid => '4620', descr => 'BRIN multi minmax support',
8290  proname => 'brin_minmax_multi_options', proisstrict => 'f',
8291  prorettype => 'void', proargtypes => 'internal',
8292  prosrc => 'brin_minmax_multi_options' },
8293
8294{ oid => '4621', descr => 'BRIN multi minmax int2 distance',
8295  proname => 'brin_minmax_multi_distance_int2', prorettype => 'float8',
8296  proargtypes => 'internal internal',
8297  prosrc => 'brin_minmax_multi_distance_int2' },
8298{ oid => '4622', descr => 'BRIN multi minmax int4 distance',
8299  proname => 'brin_minmax_multi_distance_int4', prorettype => 'float8',
8300  proargtypes => 'internal internal',
8301  prosrc => 'brin_minmax_multi_distance_int4' },
8302{ oid => '4623', descr => 'BRIN multi minmax int8 distance',
8303  proname => 'brin_minmax_multi_distance_int8', prorettype => 'float8',
8304  proargtypes => 'internal internal',
8305  prosrc => 'brin_minmax_multi_distance_int8' },
8306{ oid => '4624', descr => 'BRIN multi minmax float4 distance',
8307  proname => 'brin_minmax_multi_distance_float4', prorettype => 'float8',
8308  proargtypes => 'internal internal',
8309  prosrc => 'brin_minmax_multi_distance_float4' },
8310{ oid => '4625', descr => 'BRIN multi minmax float8 distance',
8311  proname => 'brin_minmax_multi_distance_float8', prorettype => 'float8',
8312  proargtypes => 'internal internal',
8313  prosrc => 'brin_minmax_multi_distance_float8' },
8314{ oid => '4626', descr => 'BRIN multi minmax numeric distance',
8315  proname => 'brin_minmax_multi_distance_numeric', prorettype => 'float8',
8316  proargtypes => 'internal internal',
8317  prosrc => 'brin_minmax_multi_distance_numeric' },
8318{ oid => '4627', descr => 'BRIN multi minmax tid distance',
8319  proname => 'brin_minmax_multi_distance_tid', prorettype => 'float8',
8320  proargtypes => 'internal internal',
8321  prosrc => 'brin_minmax_multi_distance_tid' },
8322{ oid => '4628', descr => 'BRIN multi minmax uuid distance',
8323  proname => 'brin_minmax_multi_distance_uuid', prorettype => 'float8',
8324  proargtypes => 'internal internal',
8325  prosrc => 'brin_minmax_multi_distance_uuid' },
8326{ oid => '4629', descr => 'BRIN multi minmax date distance',
8327  proname => 'brin_minmax_multi_distance_date', prorettype => 'float8',
8328  proargtypes => 'internal internal',
8329  prosrc => 'brin_minmax_multi_distance_date' },
8330{ oid => '4630', descr => 'BRIN multi minmax time distance',
8331  proname => 'brin_minmax_multi_distance_time', prorettype => 'float8',
8332  proargtypes => 'internal internal',
8333  prosrc => 'brin_minmax_multi_distance_time' },
8334{ oid => '4631', descr => 'BRIN multi minmax interval distance',
8335  proname => 'brin_minmax_multi_distance_interval', prorettype => 'float8',
8336  proargtypes => 'internal internal',
8337  prosrc => 'brin_minmax_multi_distance_interval' },
8338{ oid => '4632', descr => 'BRIN multi minmax timetz distance',
8339  proname => 'brin_minmax_multi_distance_timetz', prorettype => 'float8',
8340  proargtypes => 'internal internal',
8341  prosrc => 'brin_minmax_multi_distance_timetz' },
8342{ oid => '4633', descr => 'BRIN multi minmax pg_lsn distance',
8343  proname => 'brin_minmax_multi_distance_pg_lsn', prorettype => 'float8',
8344  proargtypes => 'internal internal',
8345  prosrc => 'brin_minmax_multi_distance_pg_lsn' },
8346{ oid => '4634', descr => 'BRIN multi minmax macaddr distance',
8347  proname => 'brin_minmax_multi_distance_macaddr', prorettype => 'float8',
8348  proargtypes => 'internal internal',
8349  prosrc => 'brin_minmax_multi_distance_macaddr' },
8350{ oid => '4635', descr => 'BRIN multi minmax macaddr8 distance',
8351  proname => 'brin_minmax_multi_distance_macaddr8', prorettype => 'float8',
8352  proargtypes => 'internal internal',
8353  prosrc => 'brin_minmax_multi_distance_macaddr8' },
8354{ oid => '4636', descr => 'BRIN multi minmax inet distance',
8355  proname => 'brin_minmax_multi_distance_inet', prorettype => 'float8',
8356  proargtypes => 'internal internal',
8357  prosrc => 'brin_minmax_multi_distance_inet' },
8358{ oid => '4637', descr => 'BRIN multi minmax timestamp distance',
8359  proname => 'brin_minmax_multi_distance_timestamp', prorettype => 'float8',
8360  proargtypes => 'internal internal',
8361  prosrc => 'brin_minmax_multi_distance_timestamp' },
8362
8363# BRIN inclusion
8364{ oid => '4105', descr => 'BRIN inclusion support',
8365  proname => 'brin_inclusion_opcinfo', prorettype => 'internal',
8366  proargtypes => 'internal', prosrc => 'brin_inclusion_opcinfo' },
8367{ oid => '4106', descr => 'BRIN inclusion support',
8368  proname => 'brin_inclusion_add_value', prorettype => 'bool',
8369  proargtypes => 'internal internal internal internal',
8370  prosrc => 'brin_inclusion_add_value' },
8371{ oid => '4107', descr => 'BRIN inclusion support',
8372  proname => 'brin_inclusion_consistent', prorettype => 'bool',
8373  proargtypes => 'internal internal internal',
8374  prosrc => 'brin_inclusion_consistent' },
8375{ oid => '4108', descr => 'BRIN inclusion support',
8376  proname => 'brin_inclusion_union', prorettype => 'bool',
8377  proargtypes => 'internal internal internal',
8378  prosrc => 'brin_inclusion_union' },
8379
8380# BRIN bloom
8381{ oid => '4591', descr => 'BRIN bloom support',
8382  proname => 'brin_bloom_opcinfo', prorettype => 'internal',
8383  proargtypes => 'internal', prosrc => 'brin_bloom_opcinfo' },
8384{ oid => '4592', descr => 'BRIN bloom support',
8385  proname => 'brin_bloom_add_value', prorettype => 'bool',
8386  proargtypes => 'internal internal internal internal',
8387  prosrc => 'brin_bloom_add_value' },
8388{ oid => '4593', descr => 'BRIN bloom support',
8389  proname => 'brin_bloom_consistent', prorettype => 'bool',
8390  proargtypes => 'internal internal internal int4',
8391  prosrc => 'brin_bloom_consistent' },
8392{ oid => '4594', descr => 'BRIN bloom support',
8393  proname => 'brin_bloom_union', prorettype => 'bool',
8394  proargtypes => 'internal internal internal', prosrc => 'brin_bloom_union' },
8395{ oid => '4595', descr => 'BRIN bloom support',
8396  proname => 'brin_bloom_options', proisstrict => 'f', prorettype => 'void',
8397  proargtypes => 'internal', prosrc => 'brin_bloom_options' },
8398
8399# userlock replacements
8400{ oid => '2880', descr => 'obtain exclusive advisory lock',
8401  proname => 'pg_advisory_lock', provolatile => 'v', proparallel => 'r',
8402  prorettype => 'void', proargtypes => 'int8',
8403  prosrc => 'pg_advisory_lock_int8' },
8404{ oid => '3089', descr => 'obtain exclusive advisory lock',
8405  proname => 'pg_advisory_xact_lock', provolatile => 'v', proparallel => 'r',
8406  prorettype => 'void', proargtypes => 'int8',
8407  prosrc => 'pg_advisory_xact_lock_int8' },
8408{ oid => '2881', descr => 'obtain shared advisory lock',
8409  proname => 'pg_advisory_lock_shared', provolatile => 'v', proparallel => 'r',
8410  prorettype => 'void', proargtypes => 'int8',
8411  prosrc => 'pg_advisory_lock_shared_int8' },
8412{ oid => '3090', descr => 'obtain shared advisory lock',
8413  proname => 'pg_advisory_xact_lock_shared', provolatile => 'v',
8414  proparallel => 'r', prorettype => 'void', proargtypes => 'int8',
8415  prosrc => 'pg_advisory_xact_lock_shared_int8' },
8416{ oid => '2882', descr => 'obtain exclusive advisory lock if available',
8417  proname => 'pg_try_advisory_lock', provolatile => 'v', proparallel => 'r',
8418  prorettype => 'bool', proargtypes => 'int8',
8419  prosrc => 'pg_try_advisory_lock_int8' },
8420{ oid => '3091', descr => 'obtain exclusive advisory lock if available',
8421  proname => 'pg_try_advisory_xact_lock', provolatile => 'v',
8422  proparallel => 'r', prorettype => 'bool', proargtypes => 'int8',
8423  prosrc => 'pg_try_advisory_xact_lock_int8' },
8424{ oid => '2883', descr => 'obtain shared advisory lock if available',
8425  proname => 'pg_try_advisory_lock_shared', provolatile => 'v',
8426  proparallel => 'r', prorettype => 'bool', proargtypes => 'int8',
8427  prosrc => 'pg_try_advisory_lock_shared_int8' },
8428{ oid => '3092', descr => 'obtain shared advisory lock if available',
8429  proname => 'pg_try_advisory_xact_lock_shared', provolatile => 'v',
8430  proparallel => 'r', prorettype => 'bool', proargtypes => 'int8',
8431  prosrc => 'pg_try_advisory_xact_lock_shared_int8' },
8432{ oid => '2884', descr => 'release exclusive advisory lock',
8433  proname => 'pg_advisory_unlock', provolatile => 'v', proparallel => 'r',
8434  prorettype => 'bool', proargtypes => 'int8',
8435  prosrc => 'pg_advisory_unlock_int8' },
8436{ oid => '2885', descr => 'release shared advisory lock',
8437  proname => 'pg_advisory_unlock_shared', provolatile => 'v',
8438  proparallel => 'r', prorettype => 'bool', proargtypes => 'int8',
8439  prosrc => 'pg_advisory_unlock_shared_int8' },
8440{ oid => '2886', descr => 'obtain exclusive advisory lock',
8441  proname => 'pg_advisory_lock', provolatile => 'v', proparallel => 'r',
8442  prorettype => 'void', proargtypes => 'int4 int4',
8443  prosrc => 'pg_advisory_lock_int4' },
8444{ oid => '3093', descr => 'obtain exclusive advisory lock',
8445  proname => 'pg_advisory_xact_lock', provolatile => 'v', proparallel => 'r',
8446  prorettype => 'void', proargtypes => 'int4 int4',
8447  prosrc => 'pg_advisory_xact_lock_int4' },
8448{ oid => '2887', descr => 'obtain shared advisory lock',
8449  proname => 'pg_advisory_lock_shared', provolatile => 'v', proparallel => 'r',
8450  prorettype => 'void', proargtypes => 'int4 int4',
8451  prosrc => 'pg_advisory_lock_shared_int4' },
8452{ oid => '3094', descr => 'obtain shared advisory lock',
8453  proname => 'pg_advisory_xact_lock_shared', provolatile => 'v',
8454  proparallel => 'r', prorettype => 'void', proargtypes => 'int4 int4',
8455  prosrc => 'pg_advisory_xact_lock_shared_int4' },
8456{ oid => '2888', descr => 'obtain exclusive advisory lock if available',
8457  proname => 'pg_try_advisory_lock', provolatile => 'v', proparallel => 'r',
8458  prorettype => 'bool', proargtypes => 'int4 int4',
8459  prosrc => 'pg_try_advisory_lock_int4' },
8460{ oid => '3095', descr => 'obtain exclusive advisory lock if available',
8461  proname => 'pg_try_advisory_xact_lock', provolatile => 'v',
8462  proparallel => 'r', prorettype => 'bool', proargtypes => 'int4 int4',
8463  prosrc => 'pg_try_advisory_xact_lock_int4' },
8464{ oid => '2889', descr => 'obtain shared advisory lock if available',
8465  proname => 'pg_try_advisory_lock_shared', provolatile => 'v',
8466  proparallel => 'r', prorettype => 'bool', proargtypes => 'int4 int4',
8467  prosrc => 'pg_try_advisory_lock_shared_int4' },
8468{ oid => '3096', descr => 'obtain shared advisory lock if available',
8469  proname => 'pg_try_advisory_xact_lock_shared', provolatile => 'v',
8470  proparallel => 'r', prorettype => 'bool', proargtypes => 'int4 int4',
8471  prosrc => 'pg_try_advisory_xact_lock_shared_int4' },
8472{ oid => '2890', descr => 'release exclusive advisory lock',
8473  proname => 'pg_advisory_unlock', provolatile => 'v', proparallel => 'r',
8474  prorettype => 'bool', proargtypes => 'int4 int4',
8475  prosrc => 'pg_advisory_unlock_int4' },
8476{ oid => '2891', descr => 'release shared advisory lock',
8477  proname => 'pg_advisory_unlock_shared', provolatile => 'v',
8478  proparallel => 'r', prorettype => 'bool', proargtypes => 'int4 int4',
8479  prosrc => 'pg_advisory_unlock_shared_int4' },
8480{ oid => '2892', descr => 'release all advisory locks',
8481  proname => 'pg_advisory_unlock_all', provolatile => 'v', proparallel => 'r',
8482  prorettype => 'void', proargtypes => '', prosrc => 'pg_advisory_unlock_all' },
8483
8484# XML support
8485{ oid => '2893', descr => 'I/O',
8486  proname => 'xml_in', provolatile => 's', prorettype => 'xml',
8487  proargtypes => 'cstring', prosrc => 'xml_in' },
8488{ oid => '2894', descr => 'I/O',
8489  proname => 'xml_out', prorettype => 'cstring', proargtypes => 'xml',
8490  prosrc => 'xml_out' },
8491{ oid => '2895', descr => 'generate XML comment',
8492  proname => 'xmlcomment', prorettype => 'xml', proargtypes => 'text',
8493  prosrc => 'xmlcomment' },
8494{ oid => '2896',
8495  descr => 'perform a non-validating parse of a character string to produce an XML value',
8496  proname => 'xml', provolatile => 's', prorettype => 'xml',
8497  proargtypes => 'text', prosrc => 'texttoxml' },
8498{ oid => '2897', descr => 'validate an XML value',
8499  proname => 'xmlvalidate', prorettype => 'bool', proargtypes => 'xml text',
8500  prosrc => 'xmlvalidate' },
8501{ oid => '2898', descr => 'I/O',
8502  proname => 'xml_recv', provolatile => 's', prorettype => 'xml',
8503  proargtypes => 'internal', prosrc => 'xml_recv' },
8504{ oid => '2899', descr => 'I/O',
8505  proname => 'xml_send', provolatile => 's', prorettype => 'bytea',
8506  proargtypes => 'xml', prosrc => 'xml_send' },
8507{ oid => '2900', descr => 'aggregate transition function',
8508  proname => 'xmlconcat2', proisstrict => 'f', prorettype => 'xml',
8509  proargtypes => 'xml xml', prosrc => 'xmlconcat2' },
8510{ oid => '2901', descr => 'concatenate XML values',
8511  proname => 'xmlagg', prokind => 'a', proisstrict => 'f', prorettype => 'xml',
8512  proargtypes => 'xml', prosrc => 'aggregate_dummy' },
8513{ oid => '2922', descr => 'serialize an XML value to a character string',
8514  proname => 'text', prorettype => 'text', proargtypes => 'xml',
8515  prosrc => 'xmltotext' },
8516
8517{ oid => '2923', descr => 'map table contents to XML',
8518  proname => 'table_to_xml', procost => '100', provolatile => 's',
8519  proparallel => 'r', prorettype => 'xml',
8520  proargtypes => 'regclass bool bool text',
8521  proargnames => '{tbl,nulls,tableforest,targetns}', prosrc => 'table_to_xml' },
8522{ oid => '2924', descr => 'map query result to XML',
8523  proname => 'query_to_xml', procost => '100', provolatile => 'v',
8524  proparallel => 'u', prorettype => 'xml', proargtypes => 'text bool bool text',
8525  proargnames => '{query,nulls,tableforest,targetns}',
8526  prosrc => 'query_to_xml' },
8527{ oid => '2925', descr => 'map rows from cursor to XML',
8528  proname => 'cursor_to_xml', procost => '100', provolatile => 'v',
8529  proparallel => 'u', prorettype => 'xml',
8530  proargtypes => 'refcursor int4 bool bool text',
8531  proargnames => '{cursor,count,nulls,tableforest,targetns}',
8532  prosrc => 'cursor_to_xml' },
8533{ oid => '2926', descr => 'map table structure to XML Schema',
8534  proname => 'table_to_xmlschema', procost => '100', provolatile => 's',
8535  proparallel => 'r', prorettype => 'xml',
8536  proargtypes => 'regclass bool bool text',
8537  proargnames => '{tbl,nulls,tableforest,targetns}',
8538  prosrc => 'table_to_xmlschema' },
8539{ oid => '2927', descr => 'map query result structure to XML Schema',
8540  proname => 'query_to_xmlschema', procost => '100', provolatile => 'v',
8541  proparallel => 'u', prorettype => 'xml', proargtypes => 'text bool bool text',
8542  proargnames => '{query,nulls,tableforest,targetns}',
8543  prosrc => 'query_to_xmlschema' },
8544{ oid => '2928', descr => 'map cursor structure to XML Schema',
8545  proname => 'cursor_to_xmlschema', procost => '100', provolatile => 'v',
8546  proparallel => 'u', prorettype => 'xml',
8547  proargtypes => 'refcursor bool bool text',
8548  proargnames => '{cursor,nulls,tableforest,targetns}',
8549  prosrc => 'cursor_to_xmlschema' },
8550{ oid => '2929',
8551  descr => 'map table contents and structure to XML and XML Schema',
8552  proname => 'table_to_xml_and_xmlschema', procost => '100', provolatile => 's',
8553  proparallel => 'r', prorettype => 'xml',
8554  proargtypes => 'regclass bool bool text',
8555  proargnames => '{tbl,nulls,tableforest,targetns}',
8556  prosrc => 'table_to_xml_and_xmlschema' },
8557{ oid => '2930',
8558  descr => 'map query result and structure to XML and XML Schema',
8559  proname => 'query_to_xml_and_xmlschema', procost => '100', provolatile => 'v',
8560  proparallel => 'u', prorettype => 'xml', proargtypes => 'text bool bool text',
8561  proargnames => '{query,nulls,tableforest,targetns}',
8562  prosrc => 'query_to_xml_and_xmlschema' },
8563
8564{ oid => '2933', descr => 'map schema contents to XML',
8565  proname => 'schema_to_xml', procost => '100', provolatile => 's',
8566  proparallel => 'r', prorettype => 'xml', proargtypes => 'name bool bool text',
8567  proargnames => '{schema,nulls,tableforest,targetns}',
8568  prosrc => 'schema_to_xml' },
8569{ oid => '2934', descr => 'map schema structure to XML Schema',
8570  proname => 'schema_to_xmlschema', procost => '100', provolatile => 's',
8571  proparallel => 'r', prorettype => 'xml', proargtypes => 'name bool bool text',
8572  proargnames => '{schema,nulls,tableforest,targetns}',
8573  prosrc => 'schema_to_xmlschema' },
8574{ oid => '2935',
8575  descr => 'map schema contents and structure to XML and XML Schema',
8576  proname => 'schema_to_xml_and_xmlschema', procost => '100',
8577  provolatile => 's', proparallel => 'r', prorettype => 'xml',
8578  proargtypes => 'name bool bool text',
8579  proargnames => '{schema,nulls,tableforest,targetns}',
8580  prosrc => 'schema_to_xml_and_xmlschema' },
8581
8582{ oid => '2936', descr => 'map database contents to XML',
8583  proname => 'database_to_xml', procost => '100', provolatile => 's',
8584  proparallel => 'r', prorettype => 'xml', proargtypes => 'bool bool text',
8585  proargnames => '{nulls,tableforest,targetns}', prosrc => 'database_to_xml' },
8586{ oid => '2937', descr => 'map database structure to XML Schema',
8587  proname => 'database_to_xmlschema', procost => '100', provolatile => 's',
8588  proparallel => 'r', prorettype => 'xml', proargtypes => 'bool bool text',
8589  proargnames => '{nulls,tableforest,targetns}',
8590  prosrc => 'database_to_xmlschema' },
8591{ oid => '2938',
8592  descr => 'map database contents and structure to XML and XML Schema',
8593  proname => 'database_to_xml_and_xmlschema', procost => '100',
8594  provolatile => 's', proparallel => 'r', prorettype => 'xml',
8595  proargtypes => 'bool bool text',
8596  proargnames => '{nulls,tableforest,targetns}',
8597  prosrc => 'database_to_xml_and_xmlschema' },
8598
8599{ oid => '2931',
8600  descr => 'evaluate XPath expression, with namespaces support',
8601  proname => 'xpath', prorettype => '_xml', proargtypes => 'text xml _text',
8602  prosrc => 'xpath' },
8603{ oid => '2932', descr => 'evaluate XPath expression',
8604  proname => 'xpath', prolang => 'sql', prorettype => '_xml',
8605  proargtypes => 'text xml', prosrc => 'see system_functions.sql' },
8606
8607{ oid => '2614', descr => 'test XML value against XPath expression',
8608  proname => 'xmlexists', prorettype => 'bool', proargtypes => 'text xml',
8609  prosrc => 'xmlexists' },
8610
8611{ oid => '3049',
8612  descr => 'test XML value against XPath expression, with namespace support',
8613  proname => 'xpath_exists', prorettype => 'bool',
8614  proargtypes => 'text xml _text', prosrc => 'xpath_exists' },
8615{ oid => '3050', descr => 'test XML value against XPath expression',
8616  proname => 'xpath_exists', prolang => 'sql', prorettype => 'bool',
8617  proargtypes => 'text xml', prosrc => 'see system_functions.sql' },
8618{ oid => '3051', descr => 'determine if a string is well formed XML',
8619  proname => 'xml_is_well_formed', provolatile => 's', prorettype => 'bool',
8620  proargtypes => 'text', prosrc => 'xml_is_well_formed' },
8621{ oid => '3052', descr => 'determine if a string is well formed XML document',
8622  proname => 'xml_is_well_formed_document', prorettype => 'bool',
8623  proargtypes => 'text', prosrc => 'xml_is_well_formed_document' },
8624{ oid => '3053', descr => 'determine if a string is well formed XML content',
8625  proname => 'xml_is_well_formed_content', prorettype => 'bool',
8626  proargtypes => 'text', prosrc => 'xml_is_well_formed_content' },
8627
8628# json
8629{ oid => '321', descr => 'I/O',
8630  proname => 'json_in', prorettype => 'json', proargtypes => 'cstring',
8631  prosrc => 'json_in' },
8632{ oid => '322', descr => 'I/O',
8633  proname => 'json_out', prorettype => 'cstring', proargtypes => 'json',
8634  prosrc => 'json_out' },
8635{ oid => '323', descr => 'I/O',
8636  proname => 'json_recv', prorettype => 'json', proargtypes => 'internal',
8637  prosrc => 'json_recv' },
8638{ oid => '324', descr => 'I/O',
8639  proname => 'json_send', prorettype => 'bytea', proargtypes => 'json',
8640  prosrc => 'json_send' },
8641{ oid => '3153', descr => 'map array to json',
8642  proname => 'array_to_json', provolatile => 's', prorettype => 'json',
8643  proargtypes => 'anyarray', prosrc => 'array_to_json' },
8644{ oid => '3154', descr => 'map array to json with optional pretty printing',
8645  proname => 'array_to_json', provolatile => 's', prorettype => 'json',
8646  proargtypes => 'anyarray bool', prosrc => 'array_to_json_pretty' },
8647{ oid => '3155', descr => 'map row to json',
8648  proname => 'row_to_json', provolatile => 's', prorettype => 'json',
8649  proargtypes => 'record', prosrc => 'row_to_json' },
8650{ oid => '3156', descr => 'map row to json with optional pretty printing',
8651  proname => 'row_to_json', provolatile => 's', prorettype => 'json',
8652  proargtypes => 'record bool', prosrc => 'row_to_json_pretty' },
8653{ oid => '3173', descr => 'json aggregate transition function',
8654  proname => 'json_agg_transfn', proisstrict => 'f', provolatile => 's',
8655  prorettype => 'internal', proargtypes => 'internal anyelement',
8656  prosrc => 'json_agg_transfn' },
8657{ oid => '3174', descr => 'json aggregate final function',
8658  proname => 'json_agg_finalfn', proisstrict => 'f', prorettype => 'json',
8659  proargtypes => 'internal', prosrc => 'json_agg_finalfn' },
8660{ oid => '3175', descr => 'aggregate input into json',
8661  proname => 'json_agg', prokind => 'a', proisstrict => 'f', provolatile => 's',
8662  prorettype => 'json', proargtypes => 'anyelement',
8663  prosrc => 'aggregate_dummy' },
8664{ oid => '3180', descr => 'json object aggregate transition function',
8665  proname => 'json_object_agg_transfn', proisstrict => 'f', provolatile => 's',
8666  prorettype => 'internal', proargtypes => 'internal any any',
8667  prosrc => 'json_object_agg_transfn' },
8668{ oid => '3196', descr => 'json object aggregate final function',
8669  proname => 'json_object_agg_finalfn', proisstrict => 'f',
8670  prorettype => 'json', proargtypes => 'internal',
8671  prosrc => 'json_object_agg_finalfn' },
8672{ oid => '3197', descr => 'aggregate input into a json object',
8673  proname => 'json_object_agg', prokind => 'a', proisstrict => 'f',
8674  provolatile => 's', prorettype => 'json', proargtypes => 'any any',
8675  prosrc => 'aggregate_dummy' },
8676{ oid => '3198', descr => 'build a json array from any inputs',
8677  proname => 'json_build_array', provariadic => 'any', proisstrict => 'f',
8678  provolatile => 's', prorettype => 'json', proargtypes => 'any',
8679  proallargtypes => '{any}', proargmodes => '{v}',
8680  prosrc => 'json_build_array' },
8681{ oid => '3199', descr => 'build an empty json array',
8682  proname => 'json_build_array', proisstrict => 'f', provolatile => 's',
8683  prorettype => 'json', proargtypes => '',
8684  prosrc => 'json_build_array_noargs' },
8685{ oid => '3200',
8686  descr => 'build a json object from pairwise key/value inputs',
8687  proname => 'json_build_object', provariadic => 'any', proisstrict => 'f',
8688  provolatile => 's', prorettype => 'json', proargtypes => 'any',
8689  proallargtypes => '{any}', proargmodes => '{v}',
8690  prosrc => 'json_build_object' },
8691{ oid => '3201', descr => 'build an empty json object',
8692  proname => 'json_build_object', proisstrict => 'f', provolatile => 's',
8693  prorettype => 'json', proargtypes => '',
8694  prosrc => 'json_build_object_noargs' },
8695{ oid => '3202', descr => 'map text array of key value pairs to json object',
8696  proname => 'json_object', prorettype => 'json', proargtypes => '_text',
8697  prosrc => 'json_object' },
8698{ oid => '3203', descr => 'map text arrays of keys and values to json object',
8699  proname => 'json_object', prorettype => 'json', proargtypes => '_text _text',
8700  prosrc => 'json_object_two_arg' },
8701{ oid => '3176', descr => 'map input to json',
8702  proname => 'to_json', provolatile => 's', prorettype => 'json',
8703  proargtypes => 'anyelement', prosrc => 'to_json' },
8704{ oid => '3261', descr => 'remove object fields with null values from json',
8705  proname => 'json_strip_nulls', prorettype => 'json', proargtypes => 'json',
8706  prosrc => 'json_strip_nulls' },
8707
8708{ oid => '3947',
8709  proname => 'json_object_field', prorettype => 'json',
8710  proargtypes => 'json text', proargnames => '{from_json, field_name}',
8711  prosrc => 'json_object_field' },
8712{ oid => '3948',
8713  proname => 'json_object_field_text', prorettype => 'text',
8714  proargtypes => 'json text', proargnames => '{from_json, field_name}',
8715  prosrc => 'json_object_field_text' },
8716{ oid => '3949',
8717  proname => 'json_array_element', prorettype => 'json',
8718  proargtypes => 'json int4', proargnames => '{from_json, element_index}',
8719  prosrc => 'json_array_element' },
8720{ oid => '3950',
8721  proname => 'json_array_element_text', prorettype => 'text',
8722  proargtypes => 'json int4', proargnames => '{from_json, element_index}',
8723  prosrc => 'json_array_element_text' },
8724{ oid => '3951', descr => 'get value from json with path elements',
8725  proname => 'json_extract_path', provariadic => 'text', prorettype => 'json',
8726  proargtypes => 'json _text', proallargtypes => '{json,_text}',
8727  proargmodes => '{i,v}', proargnames => '{from_json,path_elems}',
8728  prosrc => 'json_extract_path' },
8729{ oid => '3953', descr => 'get value from json as text with path elements',
8730  proname => 'json_extract_path_text', provariadic => 'text',
8731  prorettype => 'text', proargtypes => 'json _text',
8732  proallargtypes => '{json,_text}', proargmodes => '{i,v}',
8733  proargnames => '{from_json,path_elems}', prosrc => 'json_extract_path_text' },
8734{ oid => '3955', descr => 'key value pairs of a json object',
8735  proname => 'json_array_elements', prorows => '100', proretset => 't',
8736  prorettype => 'json', proargtypes => 'json', proallargtypes => '{json,json}',
8737  proargmodes => '{i,o}', proargnames => '{from_json,value}',
8738  prosrc => 'json_array_elements' },
8739{ oid => '3969', descr => 'elements of json array',
8740  proname => 'json_array_elements_text', prorows => '100', proretset => 't',
8741  prorettype => 'text', proargtypes => 'json', proallargtypes => '{json,text}',
8742  proargmodes => '{i,o}', proargnames => '{from_json,value}',
8743  prosrc => 'json_array_elements_text' },
8744{ oid => '3956', descr => 'length of json array',
8745  proname => 'json_array_length', prorettype => 'int4', proargtypes => 'json',
8746  prosrc => 'json_array_length' },
8747{ oid => '3957', descr => 'get json object keys',
8748  proname => 'json_object_keys', prorows => '100', proretset => 't',
8749  prorettype => 'text', proargtypes => 'json', prosrc => 'json_object_keys' },
8750{ oid => '3958', descr => 'key value pairs of a json object',
8751  proname => 'json_each', prorows => '100', proretset => 't',
8752  prorettype => 'record', proargtypes => 'json',
8753  proallargtypes => '{json,text,json}', proargmodes => '{i,o,o}',
8754  proargnames => '{from_json,key,value}', prosrc => 'json_each' },
8755{ oid => '3959', descr => 'key value pairs of a json object',
8756  proname => 'json_each_text', prorows => '100', proretset => 't',
8757  prorettype => 'record', proargtypes => 'json',
8758  proallargtypes => '{json,text,text}', proargmodes => '{i,o,o}',
8759  proargnames => '{from_json,key,value}', prosrc => 'json_each_text' },
8760{ oid => '3960', descr => 'get record fields from a json object',
8761  proname => 'json_populate_record', proisstrict => 'f', provolatile => 's',
8762  prorettype => 'anyelement', proargtypes => 'anyelement json bool',
8763  prosrc => 'json_populate_record' },
8764{ oid => '3961',
8765  descr => 'get set of records with fields from a json array of objects',
8766  proname => 'json_populate_recordset', prorows => '100', proisstrict => 'f',
8767  proretset => 't', provolatile => 's', prorettype => 'anyelement',
8768  proargtypes => 'anyelement json bool', prosrc => 'json_populate_recordset' },
8769{ oid => '3204', descr => 'get record fields from a json object',
8770  proname => 'json_to_record', provolatile => 's', prorettype => 'record',
8771  proargtypes => 'json', prosrc => 'json_to_record' },
8772{ oid => '3205',
8773  descr => 'get set of records with fields from a json array of objects',
8774  proname => 'json_to_recordset', prorows => '100', proisstrict => 'f',
8775  proretset => 't', provolatile => 's', prorettype => 'record',
8776  proargtypes => 'json', prosrc => 'json_to_recordset' },
8777{ oid => '3968', descr => 'get the type of a json value',
8778  proname => 'json_typeof', prorettype => 'text', proargtypes => 'json',
8779  prosrc => 'json_typeof' },
8780
8781# uuid
8782{ oid => '2952', descr => 'I/O',
8783  proname => 'uuid_in', prorettype => 'uuid', proargtypes => 'cstring',
8784  prosrc => 'uuid_in' },
8785{ oid => '2953', descr => 'I/O',
8786  proname => 'uuid_out', prorettype => 'cstring', proargtypes => 'uuid',
8787  prosrc => 'uuid_out' },
8788{ oid => '2954',
8789  proname => 'uuid_lt', proleakproof => 't', prorettype => 'bool',
8790  proargtypes => 'uuid uuid', prosrc => 'uuid_lt' },
8791{ oid => '2955',
8792  proname => 'uuid_le', proleakproof => 't', prorettype => 'bool',
8793  proargtypes => 'uuid uuid', prosrc => 'uuid_le' },
8794{ oid => '2956',
8795  proname => 'uuid_eq', proleakproof => 't', prorettype => 'bool',
8796  proargtypes => 'uuid uuid', prosrc => 'uuid_eq' },
8797{ oid => '2957',
8798  proname => 'uuid_ge', proleakproof => 't', prorettype => 'bool',
8799  proargtypes => 'uuid uuid', prosrc => 'uuid_ge' },
8800{ oid => '2958',
8801  proname => 'uuid_gt', proleakproof => 't', prorettype => 'bool',
8802  proargtypes => 'uuid uuid', prosrc => 'uuid_gt' },
8803{ oid => '2959',
8804  proname => 'uuid_ne', proleakproof => 't', prorettype => 'bool',
8805  proargtypes => 'uuid uuid', prosrc => 'uuid_ne' },
8806{ oid => '2960', descr => 'less-equal-greater',
8807  proname => 'uuid_cmp', proleakproof => 't', prorettype => 'int4',
8808  proargtypes => 'uuid uuid', prosrc => 'uuid_cmp' },
8809{ oid => '3300', descr => 'sort support',
8810  proname => 'uuid_sortsupport', prorettype => 'void',
8811  proargtypes => 'internal', prosrc => 'uuid_sortsupport' },
8812{ oid => '2961', descr => 'I/O',
8813  proname => 'uuid_recv', prorettype => 'uuid', proargtypes => 'internal',
8814  prosrc => 'uuid_recv' },
8815{ oid => '2962', descr => 'I/O',
8816  proname => 'uuid_send', prorettype => 'bytea', proargtypes => 'uuid',
8817  prosrc => 'uuid_send' },
8818{ oid => '2963', descr => 'hash',
8819  proname => 'uuid_hash', prorettype => 'int4', proargtypes => 'uuid',
8820  prosrc => 'uuid_hash' },
8821{ oid => '3412', descr => 'hash',
8822  proname => 'uuid_hash_extended', prorettype => 'int8',
8823  proargtypes => 'uuid int8', prosrc => 'uuid_hash_extended' },
8824{ oid => '3432', descr => 'generate random UUID',
8825  proname => 'gen_random_uuid', proleakproof => 't', provolatile => 'v',
8826  prorettype => 'uuid', proargtypes => '', prosrc => 'gen_random_uuid' },
8827
8828# pg_lsn
8829{ oid => '3229', descr => 'I/O',
8830  proname => 'pg_lsn_in', prorettype => 'pg_lsn', proargtypes => 'cstring',
8831  prosrc => 'pg_lsn_in' },
8832{ oid => '3230', descr => 'I/O',
8833  proname => 'pg_lsn_out', prorettype => 'cstring', proargtypes => 'pg_lsn',
8834  prosrc => 'pg_lsn_out' },
8835{ oid => '3231',
8836  proname => 'pg_lsn_lt', proleakproof => 't', prorettype => 'bool',
8837  proargtypes => 'pg_lsn pg_lsn', prosrc => 'pg_lsn_lt' },
8838{ oid => '3232',
8839  proname => 'pg_lsn_le', proleakproof => 't', prorettype => 'bool',
8840  proargtypes => 'pg_lsn pg_lsn', prosrc => 'pg_lsn_le' },
8841{ oid => '3233',
8842  proname => 'pg_lsn_eq', proleakproof => 't', prorettype => 'bool',
8843  proargtypes => 'pg_lsn pg_lsn', prosrc => 'pg_lsn_eq' },
8844{ oid => '3234',
8845  proname => 'pg_lsn_ge', proleakproof => 't', prorettype => 'bool',
8846  proargtypes => 'pg_lsn pg_lsn', prosrc => 'pg_lsn_ge' },
8847{ oid => '3235',
8848  proname => 'pg_lsn_gt', proleakproof => 't', prorettype => 'bool',
8849  proargtypes => 'pg_lsn pg_lsn', prosrc => 'pg_lsn_gt' },
8850{ oid => '3236',
8851  proname => 'pg_lsn_ne', proleakproof => 't', prorettype => 'bool',
8852  proargtypes => 'pg_lsn pg_lsn', prosrc => 'pg_lsn_ne' },
8853{ oid => '3237',
8854  proname => 'pg_lsn_mi', prorettype => 'numeric',
8855  proargtypes => 'pg_lsn pg_lsn', prosrc => 'pg_lsn_mi' },
8856{ oid => '3238', descr => 'I/O',
8857  proname => 'pg_lsn_recv', prorettype => 'pg_lsn', proargtypes => 'internal',
8858  prosrc => 'pg_lsn_recv' },
8859{ oid => '3239', descr => 'I/O',
8860  proname => 'pg_lsn_send', prorettype => 'bytea', proargtypes => 'pg_lsn',
8861  prosrc => 'pg_lsn_send' },
8862{ oid => '3251', descr => 'less-equal-greater',
8863  proname => 'pg_lsn_cmp', proleakproof => 't', prorettype => 'int4',
8864  proargtypes => 'pg_lsn pg_lsn', prosrc => 'pg_lsn_cmp' },
8865{ oid => '3252', descr => 'hash',
8866  proname => 'pg_lsn_hash', prorettype => 'int4', proargtypes => 'pg_lsn',
8867  prosrc => 'pg_lsn_hash' },
8868{ oid => '3413', descr => 'hash',
8869  proname => 'pg_lsn_hash_extended', prorettype => 'int8',
8870  proargtypes => 'pg_lsn int8', prosrc => 'pg_lsn_hash_extended' },
8871{ oid => '4187', descr => 'larger of two',
8872  proname => 'pg_lsn_larger', prorettype => 'pg_lsn',
8873  proargtypes => 'pg_lsn pg_lsn', prosrc => 'pg_lsn_larger' },
8874{ oid => '4188', descr => 'smaller of two',
8875  proname => 'pg_lsn_smaller', prorettype => 'pg_lsn',
8876  proargtypes => 'pg_lsn pg_lsn', prosrc => 'pg_lsn_smaller' },
8877{ oid => '5022',
8878  proname => 'pg_lsn_pli', prorettype => 'pg_lsn',
8879  proargtypes => 'pg_lsn numeric', prosrc => 'pg_lsn_pli' },
8880{ oid => '5023',
8881  proname => 'numeric_pl_pg_lsn', prolang => 'sql', prorettype => 'pg_lsn',
8882  proargtypes => 'numeric pg_lsn', prosrc => 'see system_functions.sql' },
8883{ oid => '5024',
8884  proname => 'pg_lsn_mii', prorettype => 'pg_lsn',
8885  proargtypes => 'pg_lsn numeric', prosrc => 'pg_lsn_mii' },
8886
8887# enum related procs
8888{ oid => '3504', descr => 'I/O',
8889  proname => 'anyenum_in', prorettype => 'anyenum', proargtypes => 'cstring',
8890  prosrc => 'anyenum_in' },
8891{ oid => '3505', descr => 'I/O',
8892  proname => 'anyenum_out', provolatile => 's', prorettype => 'cstring',
8893  proargtypes => 'anyenum', prosrc => 'anyenum_out' },
8894{ oid => '3506', descr => 'I/O',
8895  proname => 'enum_in', provolatile => 's', prorettype => 'anyenum',
8896  proargtypes => 'cstring oid', prosrc => 'enum_in' },
8897{ oid => '3507', descr => 'I/O',
8898  proname => 'enum_out', provolatile => 's', prorettype => 'cstring',
8899  proargtypes => 'anyenum', prosrc => 'enum_out' },
8900{ oid => '3508',
8901  proname => 'enum_eq', prorettype => 'bool', proargtypes => 'anyenum anyenum',
8902  prosrc => 'enum_eq' },
8903{ oid => '3509',
8904  proname => 'enum_ne', prorettype => 'bool', proargtypes => 'anyenum anyenum',
8905  prosrc => 'enum_ne' },
8906{ oid => '3510',
8907  proname => 'enum_lt', prorettype => 'bool', proargtypes => 'anyenum anyenum',
8908  prosrc => 'enum_lt' },
8909{ oid => '3511',
8910  proname => 'enum_gt', prorettype => 'bool', proargtypes => 'anyenum anyenum',
8911  prosrc => 'enum_gt' },
8912{ oid => '3512',
8913  proname => 'enum_le', prorettype => 'bool', proargtypes => 'anyenum anyenum',
8914  prosrc => 'enum_le' },
8915{ oid => '3513',
8916  proname => 'enum_ge', prorettype => 'bool', proargtypes => 'anyenum anyenum',
8917  prosrc => 'enum_ge' },
8918{ oid => '3514', descr => 'less-equal-greater',
8919  proname => 'enum_cmp', prorettype => 'int4', proargtypes => 'anyenum anyenum',
8920  prosrc => 'enum_cmp' },
8921{ oid => '3515', descr => 'hash',
8922  proname => 'hashenum', prorettype => 'int4', proargtypes => 'anyenum',
8923  prosrc => 'hashenum' },
8924{ oid => '3414', descr => 'hash',
8925  proname => 'hashenumextended', prorettype => 'int8',
8926  proargtypes => 'anyenum int8', prosrc => 'hashenumextended' },
8927{ oid => '3524', descr => 'smaller of two',
8928  proname => 'enum_smaller', prorettype => 'anyenum',
8929  proargtypes => 'anyenum anyenum', prosrc => 'enum_smaller' },
8930{ oid => '3525', descr => 'larger of two',
8931  proname => 'enum_larger', prorettype => 'anyenum',
8932  proargtypes => 'anyenum anyenum', prosrc => 'enum_larger' },
8933{ oid => '3526', descr => 'maximum value of all enum input values',
8934  proname => 'max', prokind => 'a', proisstrict => 'f', prorettype => 'anyenum',
8935  proargtypes => 'anyenum', prosrc => 'aggregate_dummy' },
8936{ oid => '3527', descr => 'minimum value of all enum input values',
8937  proname => 'min', prokind => 'a', proisstrict => 'f', prorettype => 'anyenum',
8938  proargtypes => 'anyenum', prosrc => 'aggregate_dummy' },
8939{ oid => '3528', descr => 'first value of the input enum type',
8940  proname => 'enum_first', proisstrict => 'f', provolatile => 's',
8941  prorettype => 'anyenum', proargtypes => 'anyenum', prosrc => 'enum_first' },
8942{ oid => '3529', descr => 'last value of the input enum type',
8943  proname => 'enum_last', proisstrict => 'f', provolatile => 's',
8944  prorettype => 'anyenum', proargtypes => 'anyenum', prosrc => 'enum_last' },
8945{ oid => '3530',
8946  descr => 'range between the two given enum values, as an ordered array',
8947  proname => 'enum_range', proisstrict => 'f', provolatile => 's',
8948  prorettype => 'anyarray', proargtypes => 'anyenum anyenum',
8949  prosrc => 'enum_range_bounds' },
8950{ oid => '3531', descr => 'range of the given enum type, as an ordered array',
8951  proname => 'enum_range', proisstrict => 'f', provolatile => 's',
8952  prorettype => 'anyarray', proargtypes => 'anyenum',
8953  prosrc => 'enum_range_all' },
8954{ oid => '3532', descr => 'I/O',
8955  proname => 'enum_recv', provolatile => 's', prorettype => 'anyenum',
8956  proargtypes => 'internal oid', prosrc => 'enum_recv' },
8957{ oid => '3533', descr => 'I/O',
8958  proname => 'enum_send', provolatile => 's', prorettype => 'bytea',
8959  proargtypes => 'anyenum', prosrc => 'enum_send' },
8960
8961# text search stuff
8962{ oid => '3610', descr => 'I/O',
8963  proname => 'tsvectorin', prorettype => 'tsvector', proargtypes => 'cstring',
8964  prosrc => 'tsvectorin' },
8965{ oid => '3639', descr => 'I/O',
8966  proname => 'tsvectorrecv', prorettype => 'tsvector',
8967  proargtypes => 'internal', prosrc => 'tsvectorrecv' },
8968{ oid => '3611', descr => 'I/O',
8969  proname => 'tsvectorout', prorettype => 'cstring', proargtypes => 'tsvector',
8970  prosrc => 'tsvectorout' },
8971{ oid => '3638', descr => 'I/O',
8972  proname => 'tsvectorsend', prorettype => 'bytea', proargtypes => 'tsvector',
8973  prosrc => 'tsvectorsend' },
8974{ oid => '3612', descr => 'I/O',
8975  proname => 'tsqueryin', prorettype => 'tsquery', proargtypes => 'cstring',
8976  prosrc => 'tsqueryin' },
8977{ oid => '3641', descr => 'I/O',
8978  proname => 'tsqueryrecv', prorettype => 'tsquery', proargtypes => 'internal',
8979  prosrc => 'tsqueryrecv' },
8980{ oid => '3613', descr => 'I/O',
8981  proname => 'tsqueryout', prorettype => 'cstring', proargtypes => 'tsquery',
8982  prosrc => 'tsqueryout' },
8983{ oid => '3640', descr => 'I/O',
8984  proname => 'tsquerysend', prorettype => 'bytea', proargtypes => 'tsquery',
8985  prosrc => 'tsquerysend' },
8986{ oid => '3646', descr => 'I/O',
8987  proname => 'gtsvectorin', prorettype => 'gtsvector', proargtypes => 'cstring',
8988  prosrc => 'gtsvectorin' },
8989{ oid => '3647', descr => 'I/O',
8990  proname => 'gtsvectorout', prorettype => 'cstring',
8991  proargtypes => 'gtsvector', prosrc => 'gtsvectorout' },
8992
8993{ oid => '3616',
8994  proname => 'tsvector_lt', prorettype => 'bool',
8995  proargtypes => 'tsvector tsvector', prosrc => 'tsvector_lt' },
8996{ oid => '3617',
8997  proname => 'tsvector_le', prorettype => 'bool',
8998  proargtypes => 'tsvector tsvector', prosrc => 'tsvector_le' },
8999{ oid => '3618',
9000  proname => 'tsvector_eq', prorettype => 'bool',
9001  proargtypes => 'tsvector tsvector', prosrc => 'tsvector_eq' },
9002{ oid => '3619',
9003  proname => 'tsvector_ne', prorettype => 'bool',
9004  proargtypes => 'tsvector tsvector', prosrc => 'tsvector_ne' },
9005{ oid => '3620',
9006  proname => 'tsvector_ge', prorettype => 'bool',
9007  proargtypes => 'tsvector tsvector', prosrc => 'tsvector_ge' },
9008{ oid => '3621',
9009  proname => 'tsvector_gt', prorettype => 'bool',
9010  proargtypes => 'tsvector tsvector', prosrc => 'tsvector_gt' },
9011{ oid => '3622', descr => 'less-equal-greater',
9012  proname => 'tsvector_cmp', prorettype => 'int4',
9013  proargtypes => 'tsvector tsvector', prosrc => 'tsvector_cmp' },
9014
9015{ oid => '3711', descr => 'number of lexemes',
9016  proname => 'length', prorettype => 'int4', proargtypes => 'tsvector',
9017  prosrc => 'tsvector_length' },
9018{ oid => '3623', descr => 'strip position information',
9019  proname => 'strip', prorettype => 'tsvector', proargtypes => 'tsvector',
9020  prosrc => 'tsvector_strip' },
9021{ oid => '3624', descr => 'set given weight for whole tsvector',
9022  proname => 'setweight', prorettype => 'tsvector',
9023  proargtypes => 'tsvector char', prosrc => 'tsvector_setweight' },
9024{ oid => '3320', descr => 'set given weight for given lexemes',
9025  proname => 'setweight', prorettype => 'tsvector',
9026  proargtypes => 'tsvector char _text',
9027  prosrc => 'tsvector_setweight_by_filter' },
9028{ oid => '3625',
9029  proname => 'tsvector_concat', prorettype => 'tsvector',
9030  proargtypes => 'tsvector tsvector', prosrc => 'tsvector_concat' },
9031{ oid => '3321', descr => 'delete lexeme',
9032  proname => 'ts_delete', prorettype => 'tsvector',
9033  proargtypes => 'tsvector text', prosrc => 'tsvector_delete_str' },
9034{ oid => '3323', descr => 'delete given lexemes',
9035  proname => 'ts_delete', prorettype => 'tsvector',
9036  proargtypes => 'tsvector _text', prosrc => 'tsvector_delete_arr' },
9037{ oid => '3322', descr => 'expand tsvector to set of rows',
9038  proname => 'unnest', prorows => '10', proretset => 't',
9039  prorettype => 'record', proargtypes => 'tsvector',
9040  proallargtypes => '{tsvector,text,_int2,_text}', proargmodes => '{i,o,o,o}',
9041  proargnames => '{tsvector,lexeme,positions,weights}',
9042  prosrc => 'tsvector_unnest' },
9043{ oid => '3326', descr => 'convert tsvector to array of lexemes',
9044  proname => 'tsvector_to_array', prorettype => '_text',
9045  proargtypes => 'tsvector', prosrc => 'tsvector_to_array' },
9046{ oid => '3327', descr => 'build tsvector from array of lexemes',
9047  proname => 'array_to_tsvector', prorettype => 'tsvector',
9048  proargtypes => '_text', prosrc => 'array_to_tsvector' },
9049{ oid => '3319',
9050  descr => 'delete lexemes that do not have one of the given weights',
9051  proname => 'ts_filter', prorettype => 'tsvector',
9052  proargtypes => 'tsvector _char', prosrc => 'tsvector_filter' },
9053
9054{ oid => '3634',
9055  proname => 'ts_match_vq', prorettype => 'bool',
9056  proargtypes => 'tsvector tsquery', prosrc => 'ts_match_vq' },
9057{ oid => '3635',
9058  proname => 'ts_match_qv', prorettype => 'bool',
9059  proargtypes => 'tsquery tsvector', prosrc => 'ts_match_qv' },
9060{ oid => '3760',
9061  proname => 'ts_match_tt', procost => '100', provolatile => 's',
9062  prorettype => 'bool', proargtypes => 'text text', prosrc => 'ts_match_tt' },
9063{ oid => '3761',
9064  proname => 'ts_match_tq', procost => '100', provolatile => 's',
9065  prorettype => 'bool', proargtypes => 'text tsquery',
9066  prosrc => 'ts_match_tq' },
9067
9068{ oid => '3648', descr => 'GiST tsvector support',
9069  proname => 'gtsvector_compress', prorettype => 'internal',
9070  proargtypes => 'internal', prosrc => 'gtsvector_compress' },
9071{ oid => '3649', descr => 'GiST tsvector support',
9072  proname => 'gtsvector_decompress', prorettype => 'internal',
9073  proargtypes => 'internal', prosrc => 'gtsvector_decompress' },
9074{ oid => '3650', descr => 'GiST tsvector support',
9075  proname => 'gtsvector_picksplit', prorettype => 'internal',
9076  proargtypes => 'internal internal', prosrc => 'gtsvector_picksplit' },
9077{ oid => '3651', descr => 'GiST tsvector support',
9078  proname => 'gtsvector_union', prorettype => 'gtsvector',
9079  proargtypes => 'internal internal', prosrc => 'gtsvector_union' },
9080{ oid => '3652', descr => 'GiST tsvector support',
9081  proname => 'gtsvector_same', prorettype => 'internal',
9082  proargtypes => 'gtsvector gtsvector internal', prosrc => 'gtsvector_same' },
9083{ oid => '3653', descr => 'GiST tsvector support',
9084  proname => 'gtsvector_penalty', prorettype => 'internal',
9085  proargtypes => 'internal internal internal', prosrc => 'gtsvector_penalty' },
9086{ oid => '3654', descr => 'GiST tsvector support',
9087  proname => 'gtsvector_consistent', prorettype => 'bool',
9088  proargtypes => 'internal tsvector int2 oid internal',
9089  prosrc => 'gtsvector_consistent' },
9090{ oid => '3790', descr => 'GiST tsvector support (obsolete)',
9091  proname => 'gtsvector_consistent', prorettype => 'bool',
9092  proargtypes => 'internal gtsvector int4 oid internal',
9093  prosrc => 'gtsvector_consistent_oldsig' },
9094{ oid => '3434', descr => 'GiST tsvector support',
9095  proname => 'gtsvector_options', proisstrict => 'f', prorettype => 'void',
9096  proargtypes => 'internal', prosrc => 'gtsvector_options' },
9097
9098{ oid => '3656', descr => 'GIN tsvector support',
9099  proname => 'gin_extract_tsvector', prorettype => 'internal',
9100  proargtypes => 'tsvector internal internal',
9101  prosrc => 'gin_extract_tsvector' },
9102{ oid => '3657', descr => 'GIN tsvector support',
9103  proname => 'gin_extract_tsquery', prorettype => 'internal',
9104  proargtypes => 'tsvector internal int2 internal internal internal internal',
9105  prosrc => 'gin_extract_tsquery' },
9106{ oid => '3658', descr => 'GIN tsvector support',
9107  proname => 'gin_tsquery_consistent', prorettype => 'bool',
9108  proargtypes => 'internal int2 tsvector int4 internal internal internal internal',
9109  prosrc => 'gin_tsquery_consistent' },
9110{ oid => '3921', descr => 'GIN tsvector support',
9111  proname => 'gin_tsquery_triconsistent', prorettype => 'char',
9112  proargtypes => 'internal int2 tsvector int4 internal internal internal',
9113  prosrc => 'gin_tsquery_triconsistent' },
9114{ oid => '3724', descr => 'GIN tsvector support',
9115  proname => 'gin_cmp_tslexeme', prorettype => 'int4',
9116  proargtypes => 'text text', prosrc => 'gin_cmp_tslexeme' },
9117{ oid => '2700', descr => 'GIN tsvector support',
9118  proname => 'gin_cmp_prefix', prorettype => 'int4',
9119  proargtypes => 'text text int2 internal', prosrc => 'gin_cmp_prefix' },
9120{ oid => '3077', descr => 'GIN tsvector support (obsolete)',
9121  proname => 'gin_extract_tsvector', prorettype => 'internal',
9122  proargtypes => 'tsvector internal', prosrc => 'gin_extract_tsvector_2args' },
9123{ oid => '3087', descr => 'GIN tsvector support (obsolete)',
9124  proname => 'gin_extract_tsquery', prorettype => 'internal',
9125  proargtypes => 'tsquery internal int2 internal internal',
9126  prosrc => 'gin_extract_tsquery_5args' },
9127{ oid => '3088', descr => 'GIN tsvector support (obsolete)',
9128  proname => 'gin_tsquery_consistent', prorettype => 'bool',
9129  proargtypes => 'internal int2 tsquery int4 internal internal',
9130  prosrc => 'gin_tsquery_consistent_6args' },
9131{ oid => '3791', descr => 'GIN tsvector support (obsolete)',
9132  proname => 'gin_extract_tsquery', prorettype => 'internal',
9133  proargtypes => 'tsquery internal int2 internal internal internal internal',
9134  prosrc => 'gin_extract_tsquery_oldsig' },
9135{ oid => '3792', descr => 'GIN tsvector support (obsolete)',
9136  proname => 'gin_tsquery_consistent', prorettype => 'bool',
9137  proargtypes => 'internal int2 tsquery int4 internal internal internal internal',
9138  prosrc => 'gin_tsquery_consistent_oldsig' },
9139
9140{ oid => '3789', descr => 'clean up GIN pending list',
9141  proname => 'gin_clean_pending_list', provolatile => 'v', proparallel => 'u',
9142  prorettype => 'int8', proargtypes => 'regclass',
9143  prosrc => 'gin_clean_pending_list' },
9144
9145{ oid => '3662',
9146  proname => 'tsquery_lt', prorettype => 'bool',
9147  proargtypes => 'tsquery tsquery', prosrc => 'tsquery_lt' },
9148{ oid => '3663',
9149  proname => 'tsquery_le', prorettype => 'bool',
9150  proargtypes => 'tsquery tsquery', prosrc => 'tsquery_le' },
9151{ oid => '3664',
9152  proname => 'tsquery_eq', prorettype => 'bool',
9153  proargtypes => 'tsquery tsquery', prosrc => 'tsquery_eq' },
9154{ oid => '3665',
9155  proname => 'tsquery_ne', prorettype => 'bool',
9156  proargtypes => 'tsquery tsquery', prosrc => 'tsquery_ne' },
9157{ oid => '3666',
9158  proname => 'tsquery_ge', prorettype => 'bool',
9159  proargtypes => 'tsquery tsquery', prosrc => 'tsquery_ge' },
9160{ oid => '3667',
9161  proname => 'tsquery_gt', prorettype => 'bool',
9162  proargtypes => 'tsquery tsquery', prosrc => 'tsquery_gt' },
9163{ oid => '3668', descr => 'less-equal-greater',
9164  proname => 'tsquery_cmp', prorettype => 'int4',
9165  proargtypes => 'tsquery tsquery', prosrc => 'tsquery_cmp' },
9166
9167{ oid => '3669',
9168  proname => 'tsquery_and', prorettype => 'tsquery',
9169  proargtypes => 'tsquery tsquery', prosrc => 'tsquery_and' },
9170{ oid => '3670',
9171  proname => 'tsquery_or', prorettype => 'tsquery',
9172  proargtypes => 'tsquery tsquery', prosrc => 'tsquery_or' },
9173{ oid => '5003',
9174  proname => 'tsquery_phrase', prorettype => 'tsquery',
9175  proargtypes => 'tsquery tsquery', prosrc => 'tsquery_phrase' },
9176{ oid => '5004', descr => 'phrase-concatenate with distance',
9177  proname => 'tsquery_phrase', prorettype => 'tsquery',
9178  proargtypes => 'tsquery tsquery int4', prosrc => 'tsquery_phrase_distance' },
9179{ oid => '3671',
9180  proname => 'tsquery_not', prorettype => 'tsquery', proargtypes => 'tsquery',
9181  prosrc => 'tsquery_not' },
9182
9183{ oid => '3691',
9184  proname => 'tsq_mcontains', prorettype => 'bool',
9185  proargtypes => 'tsquery tsquery', prosrc => 'tsq_mcontains' },
9186{ oid => '3692',
9187  proname => 'tsq_mcontained', prorettype => 'bool',
9188  proargtypes => 'tsquery tsquery', prosrc => 'tsq_mcontained' },
9189
9190{ oid => '3672', descr => 'number of nodes',
9191  proname => 'numnode', prorettype => 'int4', proargtypes => 'tsquery',
9192  prosrc => 'tsquery_numnode' },
9193{ oid => '3673', descr => 'show real useful query for GiST index',
9194  proname => 'querytree', prorettype => 'text', proargtypes => 'tsquery',
9195  prosrc => 'tsquerytree' },
9196
9197{ oid => '3684', descr => 'rewrite tsquery',
9198  proname => 'ts_rewrite', prorettype => 'tsquery',
9199  proargtypes => 'tsquery tsquery tsquery', prosrc => 'tsquery_rewrite' },
9200{ oid => '3685', descr => 'rewrite tsquery',
9201  proname => 'ts_rewrite', procost => '100', provolatile => 'v',
9202  proparallel => 'u', prorettype => 'tsquery', proargtypes => 'tsquery text',
9203  prosrc => 'tsquery_rewrite_query' },
9204
9205{ oid => '3695', descr => 'GiST tsquery support',
9206  proname => 'gtsquery_compress', prorettype => 'internal',
9207  proargtypes => 'internal', prosrc => 'gtsquery_compress' },
9208{ oid => '3697', descr => 'GiST tsquery support',
9209  proname => 'gtsquery_picksplit', prorettype => 'internal',
9210  proargtypes => 'internal internal', prosrc => 'gtsquery_picksplit' },
9211{ oid => '3698', descr => 'GiST tsquery support',
9212  proname => 'gtsquery_union', prorettype => 'int8',
9213  proargtypes => 'internal internal', prosrc => 'gtsquery_union' },
9214{ oid => '3699', descr => 'GiST tsquery support',
9215  proname => 'gtsquery_same', prorettype => 'internal',
9216  proargtypes => 'int8 int8 internal', prosrc => 'gtsquery_same' },
9217{ oid => '3700', descr => 'GiST tsquery support',
9218  proname => 'gtsquery_penalty', prorettype => 'internal',
9219  proargtypes => 'internal internal internal', prosrc => 'gtsquery_penalty' },
9220{ oid => '3701', descr => 'GiST tsquery support',
9221  proname => 'gtsquery_consistent', prorettype => 'bool',
9222  proargtypes => 'internal tsquery int2 oid internal',
9223  prosrc => 'gtsquery_consistent' },
9224{ oid => '3793', descr => 'GiST tsquery support (obsolete)',
9225  proname => 'gtsquery_consistent', prorettype => 'bool',
9226  proargtypes => 'internal internal int4 oid internal',
9227  prosrc => 'gtsquery_consistent_oldsig' },
9228
9229{ oid => '3686', descr => 'restriction selectivity of tsvector @@ tsquery',
9230  proname => 'tsmatchsel', provolatile => 's', prorettype => 'float8',
9231  proargtypes => 'internal oid internal int4', prosrc => 'tsmatchsel' },
9232{ oid => '3687', descr => 'join selectivity of tsvector @@ tsquery',
9233  proname => 'tsmatchjoinsel', provolatile => 's', prorettype => 'float8',
9234  proargtypes => 'internal oid internal int2 internal',
9235  prosrc => 'tsmatchjoinsel' },
9236{ oid => '3688', descr => 'tsvector typanalyze',
9237  proname => 'ts_typanalyze', provolatile => 's', prorettype => 'bool',
9238  proargtypes => 'internal', prosrc => 'ts_typanalyze' },
9239
9240{ oid => '3689', descr => 'statistics of tsvector column',
9241  proname => 'ts_stat', procost => '10', prorows => '10000', proretset => 't',
9242  provolatile => 'v', proparallel => 'u', prorettype => 'record',
9243  proargtypes => 'text', proallargtypes => '{text,text,int4,int4}',
9244  proargmodes => '{i,o,o,o}', proargnames => '{query,word,ndoc,nentry}',
9245  prosrc => 'ts_stat1' },
9246{ oid => '3690', descr => 'statistics of tsvector column',
9247  proname => 'ts_stat', procost => '10', prorows => '10000', proretset => 't',
9248  provolatile => 'v', proparallel => 'u', prorettype => 'record',
9249  proargtypes => 'text text', proallargtypes => '{text,text,text,int4,int4}',
9250  proargmodes => '{i,i,o,o,o}',
9251  proargnames => '{query,weights,word,ndoc,nentry}', prosrc => 'ts_stat2' },
9252
9253{ oid => '3703', descr => 'relevance',
9254  proname => 'ts_rank', prorettype => 'float4',
9255  proargtypes => '_float4 tsvector tsquery int4', prosrc => 'ts_rank_wttf' },
9256{ oid => '3704', descr => 'relevance',
9257  proname => 'ts_rank', prorettype => 'float4',
9258  proargtypes => '_float4 tsvector tsquery', prosrc => 'ts_rank_wtt' },
9259{ oid => '3705', descr => 'relevance',
9260  proname => 'ts_rank', prorettype => 'float4',
9261  proargtypes => 'tsvector tsquery int4', prosrc => 'ts_rank_ttf' },
9262{ oid => '3706', descr => 'relevance',
9263  proname => 'ts_rank', prorettype => 'float4',
9264  proargtypes => 'tsvector tsquery', prosrc => 'ts_rank_tt' },
9265{ oid => '3707', descr => 'relevance',
9266  proname => 'ts_rank_cd', prorettype => 'float4',
9267  proargtypes => '_float4 tsvector tsquery int4', prosrc => 'ts_rankcd_wttf' },
9268{ oid => '3708', descr => 'relevance',
9269  proname => 'ts_rank_cd', prorettype => 'float4',
9270  proargtypes => '_float4 tsvector tsquery', prosrc => 'ts_rankcd_wtt' },
9271{ oid => '3709', descr => 'relevance',
9272  proname => 'ts_rank_cd', prorettype => 'float4',
9273  proargtypes => 'tsvector tsquery int4', prosrc => 'ts_rankcd_ttf' },
9274{ oid => '3710', descr => 'relevance',
9275  proname => 'ts_rank_cd', prorettype => 'float4',
9276  proargtypes => 'tsvector tsquery', prosrc => 'ts_rankcd_tt' },
9277
9278{ oid => '3713', descr => 'get parser\'s token types',
9279  proname => 'ts_token_type', prorows => '16', proretset => 't',
9280  prorettype => 'record', proargtypes => 'oid',
9281  proallargtypes => '{oid,int4,text,text}', proargmodes => '{i,o,o,o}',
9282  proargnames => '{parser_oid,tokid,alias,description}',
9283  prosrc => 'ts_token_type_byid' },
9284{ oid => '3714', descr => 'get parser\'s token types',
9285  proname => 'ts_token_type', prorows => '16', proretset => 't',
9286  provolatile => 's', prorettype => 'record', proargtypes => 'text',
9287  proallargtypes => '{text,int4,text,text}', proargmodes => '{i,o,o,o}',
9288  proargnames => '{parser_name,tokid,alias,description}',
9289  prosrc => 'ts_token_type_byname' },
9290{ oid => '3715', descr => 'parse text to tokens',
9291  proname => 'ts_parse', prorows => '1000', proretset => 't',
9292  prorettype => 'record', proargtypes => 'oid text',
9293  proallargtypes => '{oid,text,int4,text}', proargmodes => '{i,i,o,o}',
9294  proargnames => '{parser_oid,txt,tokid,token}', prosrc => 'ts_parse_byid' },
9295{ oid => '3716', descr => 'parse text to tokens',
9296  proname => 'ts_parse', prorows => '1000', proretset => 't',
9297  provolatile => 's', prorettype => 'record', proargtypes => 'text text',
9298  proallargtypes => '{text,text,int4,text}', proargmodes => '{i,i,o,o}',
9299  proargnames => '{parser_name,txt,tokid,token}', prosrc => 'ts_parse_byname' },
9300
9301{ oid => '3717', descr => '(internal)',
9302  proname => 'prsd_start', prorettype => 'internal',
9303  proargtypes => 'internal int4', prosrc => 'prsd_start' },
9304{ oid => '3718', descr => '(internal)',
9305  proname => 'prsd_nexttoken', prorettype => 'internal',
9306  proargtypes => 'internal internal internal', prosrc => 'prsd_nexttoken' },
9307{ oid => '3719', descr => '(internal)',
9308  proname => 'prsd_end', prorettype => 'void', proargtypes => 'internal',
9309  prosrc => 'prsd_end' },
9310{ oid => '3720', descr => '(internal)',
9311  proname => 'prsd_headline', prorettype => 'internal',
9312  proargtypes => 'internal internal tsquery', prosrc => 'prsd_headline' },
9313{ oid => '3721', descr => '(internal)',
9314  proname => 'prsd_lextype', prorettype => 'internal',
9315  proargtypes => 'internal', prosrc => 'prsd_lextype' },
9316
9317{ oid => '3723', descr => 'normalize one word by dictionary',
9318  proname => 'ts_lexize', prorettype => '_text',
9319  proargtypes => 'regdictionary text', prosrc => 'ts_lexize' },
9320
9321{ oid => '6183', descr => 'debug function for text search configuration',
9322  proname => 'ts_debug', prolang => 'sql', prorows => '1000', proretset => 't',
9323  provolatile => 's', prorettype => 'record', proargtypes => 'regconfig text',
9324  proallargtypes => '{regconfig,text,text,text,text,_regdictionary,regdictionary,_text}',
9325  proargmodes => '{i,i,o,o,o,o,o,o}',
9326  proargnames => '{config,document,alias,description,token,dictionaries,dictionary,lexemes}',
9327  prosrc => 'see system_functions.sql' },
9328
9329{ oid => '6184',
9330  descr => 'debug function for current text search configuration',
9331  proname => 'ts_debug', prolang => 'sql', prorows => '1000', proretset => 't',
9332  provolatile => 's', prorettype => 'record', proargtypes => 'text',
9333  proallargtypes => '{text,text,text,text,_regdictionary,regdictionary,_text}',
9334  proargmodes => '{i,o,o,o,o,o,o}',
9335  proargnames => '{document,alias,description,token,dictionaries,dictionary,lexemes}',
9336  prosrc => 'see system_functions.sql' },
9337
9338{ oid => '3725', descr => '(internal)',
9339  proname => 'dsimple_init', prorettype => 'internal',
9340  proargtypes => 'internal', prosrc => 'dsimple_init' },
9341{ oid => '3726', descr => '(internal)',
9342  proname => 'dsimple_lexize', prorettype => 'internal',
9343  proargtypes => 'internal internal internal internal',
9344  prosrc => 'dsimple_lexize' },
9345
9346{ oid => '3728', descr => '(internal)',
9347  proname => 'dsynonym_init', prorettype => 'internal',
9348  proargtypes => 'internal', prosrc => 'dsynonym_init' },
9349{ oid => '3729', descr => '(internal)',
9350  proname => 'dsynonym_lexize', prorettype => 'internal',
9351  proargtypes => 'internal internal internal internal',
9352  prosrc => 'dsynonym_lexize' },
9353
9354{ oid => '3731', descr => '(internal)',
9355  proname => 'dispell_init', prorettype => 'internal',
9356  proargtypes => 'internal', prosrc => 'dispell_init' },
9357{ oid => '3732', descr => '(internal)',
9358  proname => 'dispell_lexize', prorettype => 'internal',
9359  proargtypes => 'internal internal internal internal',
9360  prosrc => 'dispell_lexize' },
9361
9362{ oid => '3740', descr => '(internal)',
9363  proname => 'thesaurus_init', prorettype => 'internal',
9364  proargtypes => 'internal', prosrc => 'thesaurus_init' },
9365{ oid => '3741', descr => '(internal)',
9366  proname => 'thesaurus_lexize', prorettype => 'internal',
9367  proargtypes => 'internal internal internal internal',
9368  prosrc => 'thesaurus_lexize' },
9369
9370{ oid => '3743', descr => 'generate headline',
9371  proname => 'ts_headline', procost => '100', prorettype => 'text',
9372  proargtypes => 'regconfig text tsquery text',
9373  prosrc => 'ts_headline_byid_opt' },
9374{ oid => '3744', descr => 'generate headline',
9375  proname => 'ts_headline', procost => '100', prorettype => 'text',
9376  proargtypes => 'regconfig text tsquery', prosrc => 'ts_headline_byid' },
9377{ oid => '3754', descr => 'generate headline',
9378  proname => 'ts_headline', procost => '100', provolatile => 's',
9379  prorettype => 'text', proargtypes => 'text tsquery text',
9380  prosrc => 'ts_headline_opt' },
9381{ oid => '3755', descr => 'generate headline',
9382  proname => 'ts_headline', procost => '100', provolatile => 's',
9383  prorettype => 'text', proargtypes => 'text tsquery',
9384  prosrc => 'ts_headline' },
9385
9386{ oid => '4201', descr => 'generate headline from jsonb',
9387  proname => 'ts_headline', procost => '100', prorettype => 'jsonb',
9388  proargtypes => 'regconfig jsonb tsquery text',
9389  prosrc => 'ts_headline_jsonb_byid_opt' },
9390{ oid => '4202', descr => 'generate headline from jsonb',
9391  proname => 'ts_headline', procost => '100', prorettype => 'jsonb',
9392  proargtypes => 'regconfig jsonb tsquery',
9393  prosrc => 'ts_headline_jsonb_byid' },
9394{ oid => '4203', descr => 'generate headline from jsonb',
9395  proname => 'ts_headline', procost => '100', provolatile => 's',
9396  prorettype => 'jsonb', proargtypes => 'jsonb tsquery text',
9397  prosrc => 'ts_headline_jsonb_opt' },
9398{ oid => '4204', descr => 'generate headline from jsonb',
9399  proname => 'ts_headline', procost => '100', provolatile => 's',
9400  prorettype => 'jsonb', proargtypes => 'jsonb tsquery',
9401  prosrc => 'ts_headline_jsonb' },
9402
9403{ oid => '4205', descr => 'generate headline from json',
9404  proname => 'ts_headline', procost => '100', prorettype => 'json',
9405  proargtypes => 'regconfig json tsquery text',
9406  prosrc => 'ts_headline_json_byid_opt' },
9407{ oid => '4206', descr => 'generate headline from json',
9408  proname => 'ts_headline', procost => '100', prorettype => 'json',
9409  proargtypes => 'regconfig json tsquery', prosrc => 'ts_headline_json_byid' },
9410{ oid => '4207', descr => 'generate headline from json',
9411  proname => 'ts_headline', procost => '100', provolatile => 's',
9412  prorettype => 'json', proargtypes => 'json tsquery text',
9413  prosrc => 'ts_headline_json_opt' },
9414{ oid => '4208', descr => 'generate headline from json',
9415  proname => 'ts_headline', procost => '100', provolatile => 's',
9416  prorettype => 'json', proargtypes => 'json tsquery',
9417  prosrc => 'ts_headline_json' },
9418
9419{ oid => '3745', descr => 'transform to tsvector',
9420  proname => 'to_tsvector', procost => '100', prorettype => 'tsvector',
9421  proargtypes => 'regconfig text', prosrc => 'to_tsvector_byid' },
9422{ oid => '3746', descr => 'make tsquery',
9423  proname => 'to_tsquery', procost => '100', prorettype => 'tsquery',
9424  proargtypes => 'regconfig text', prosrc => 'to_tsquery_byid' },
9425{ oid => '3747', descr => 'transform to tsquery',
9426  proname => 'plainto_tsquery', procost => '100', prorettype => 'tsquery',
9427  proargtypes => 'regconfig text', prosrc => 'plainto_tsquery_byid' },
9428{ oid => '5006', descr => 'transform to tsquery',
9429  proname => 'phraseto_tsquery', procost => '100', prorettype => 'tsquery',
9430  proargtypes => 'regconfig text', prosrc => 'phraseto_tsquery_byid' },
9431{ oid => '5007', descr => 'transform to tsquery',
9432  proname => 'websearch_to_tsquery', procost => '100', prorettype => 'tsquery',
9433  proargtypes => 'regconfig text', prosrc => 'websearch_to_tsquery_byid' },
9434{ oid => '3749', descr => 'transform to tsvector',
9435  proname => 'to_tsvector', procost => '100', provolatile => 's',
9436  prorettype => 'tsvector', proargtypes => 'text', prosrc => 'to_tsvector' },
9437{ oid => '3750', descr => 'make tsquery',
9438  proname => 'to_tsquery', procost => '100', provolatile => 's',
9439  prorettype => 'tsquery', proargtypes => 'text', prosrc => 'to_tsquery' },
9440{ oid => '3751', descr => 'transform to tsquery',
9441  proname => 'plainto_tsquery', procost => '100', provolatile => 's',
9442  prorettype => 'tsquery', proargtypes => 'text', prosrc => 'plainto_tsquery' },
9443{ oid => '5001', descr => 'transform to tsquery',
9444  proname => 'phraseto_tsquery', procost => '100', provolatile => 's',
9445  prorettype => 'tsquery', proargtypes => 'text',
9446  prosrc => 'phraseto_tsquery' },
9447{ oid => '5009', descr => 'transform to tsquery',
9448  proname => 'websearch_to_tsquery', procost => '100', provolatile => 's',
9449  prorettype => 'tsquery', proargtypes => 'text',
9450  prosrc => 'websearch_to_tsquery' },
9451{ oid => '4209', descr => 'transform string values from jsonb to tsvector',
9452  proname => 'to_tsvector', procost => '100', provolatile => 's',
9453  prorettype => 'tsvector', proargtypes => 'jsonb',
9454  prosrc => 'jsonb_string_to_tsvector' },
9455{ oid => '4213', descr => 'transform specified values from jsonb to tsvector',
9456  proname => 'jsonb_to_tsvector', procost => '100', provolatile => 's',
9457  prorettype => 'tsvector', proargtypes => 'jsonb jsonb',
9458  prosrc => 'jsonb_to_tsvector' },
9459{ oid => '4210', descr => 'transform string values from json to tsvector',
9460  proname => 'to_tsvector', procost => '100', provolatile => 's',
9461  prorettype => 'tsvector', proargtypes => 'json',
9462  prosrc => 'json_string_to_tsvector' },
9463{ oid => '4215', descr => 'transform specified values from json to tsvector',
9464  proname => 'json_to_tsvector', procost => '100', provolatile => 's',
9465  prorettype => 'tsvector', proargtypes => 'json jsonb',
9466  prosrc => 'json_to_tsvector' },
9467{ oid => '4211', descr => 'transform string values from jsonb to tsvector',
9468  proname => 'to_tsvector', procost => '100', prorettype => 'tsvector',
9469  proargtypes => 'regconfig jsonb', prosrc => 'jsonb_string_to_tsvector_byid' },
9470{ oid => '4214', descr => 'transform specified values from jsonb to tsvector',
9471  proname => 'jsonb_to_tsvector', procost => '100', prorettype => 'tsvector',
9472  proargtypes => 'regconfig jsonb jsonb', prosrc => 'jsonb_to_tsvector_byid' },
9473{ oid => '4212', descr => 'transform string values from json to tsvector',
9474  proname => 'to_tsvector', procost => '100', prorettype => 'tsvector',
9475  proargtypes => 'regconfig json', prosrc => 'json_string_to_tsvector_byid' },
9476{ oid => '4216', descr => 'transform specified values from json to tsvector',
9477  proname => 'json_to_tsvector', procost => '100', prorettype => 'tsvector',
9478  proargtypes => 'regconfig json jsonb', prosrc => 'json_to_tsvector_byid' },
9479
9480{ oid => '3752', descr => 'trigger for automatic update of tsvector column',
9481  proname => 'tsvector_update_trigger', proisstrict => 'f', provolatile => 'v',
9482  prorettype => 'trigger', proargtypes => '',
9483  prosrc => 'tsvector_update_trigger_byid' },
9484{ oid => '3753', descr => 'trigger for automatic update of tsvector column',
9485  proname => 'tsvector_update_trigger_column', proisstrict => 'f',
9486  provolatile => 'v', prorettype => 'trigger', proargtypes => '',
9487  prosrc => 'tsvector_update_trigger_bycolumn' },
9488
9489{ oid => '3759', descr => 'get current tsearch configuration',
9490  proname => 'get_current_ts_config', provolatile => 's',
9491  prorettype => 'regconfig', proargtypes => '',
9492  prosrc => 'get_current_ts_config' },
9493
9494{ oid => '3736', descr => 'I/O',
9495  proname => 'regconfigin', provolatile => 's', prorettype => 'regconfig',
9496  proargtypes => 'cstring', prosrc => 'regconfigin' },
9497{ oid => '3737', descr => 'I/O',
9498  proname => 'regconfigout', provolatile => 's', prorettype => 'cstring',
9499  proargtypes => 'regconfig', prosrc => 'regconfigout' },
9500{ oid => '3738', descr => 'I/O',
9501  proname => 'regconfigrecv', prorettype => 'regconfig',
9502  proargtypes => 'internal', prosrc => 'regconfigrecv' },
9503{ oid => '3739', descr => 'I/O',
9504  proname => 'regconfigsend', prorettype => 'bytea', proargtypes => 'regconfig',
9505  prosrc => 'regconfigsend' },
9506
9507{ oid => '3771', descr => 'I/O',
9508  proname => 'regdictionaryin', provolatile => 's',
9509  prorettype => 'regdictionary', proargtypes => 'cstring',
9510  prosrc => 'regdictionaryin' },
9511{ oid => '3772', descr => 'I/O',
9512  proname => 'regdictionaryout', provolatile => 's', prorettype => 'cstring',
9513  proargtypes => 'regdictionary', prosrc => 'regdictionaryout' },
9514{ oid => '3773', descr => 'I/O',
9515  proname => 'regdictionaryrecv', prorettype => 'regdictionary',
9516  proargtypes => 'internal', prosrc => 'regdictionaryrecv' },
9517{ oid => '3774', descr => 'I/O',
9518  proname => 'regdictionarysend', prorettype => 'bytea',
9519  proargtypes => 'regdictionary', prosrc => 'regdictionarysend' },
9520
9521# jsonb
9522{ oid => '3806', descr => 'I/O',
9523  proname => 'jsonb_in', prorettype => 'jsonb', proargtypes => 'cstring',
9524  prosrc => 'jsonb_in' },
9525{ oid => '3805', descr => 'I/O',
9526  proname => 'jsonb_recv', prorettype => 'jsonb', proargtypes => 'internal',
9527  prosrc => 'jsonb_recv' },
9528{ oid => '3804', descr => 'I/O',
9529  proname => 'jsonb_out', prorettype => 'cstring', proargtypes => 'jsonb',
9530  prosrc => 'jsonb_out' },
9531{ oid => '3803', descr => 'I/O',
9532  proname => 'jsonb_send', prorettype => 'bytea', proargtypes => 'jsonb',
9533  prosrc => 'jsonb_send' },
9534
9535{ oid => '3263', descr => 'map text array of key value pairs to jsonb object',
9536  proname => 'jsonb_object', prorettype => 'jsonb', proargtypes => '_text',
9537  prosrc => 'jsonb_object' },
9538{ oid => '3264', descr => 'map text array of key value pairs to jsonb object',
9539  proname => 'jsonb_object', prorettype => 'jsonb',
9540  proargtypes => '_text _text', prosrc => 'jsonb_object_two_arg' },
9541{ oid => '3787', descr => 'map input to jsonb',
9542  proname => 'to_jsonb', provolatile => 's', prorettype => 'jsonb',
9543  proargtypes => 'anyelement', prosrc => 'to_jsonb' },
9544{ oid => '3265', descr => 'jsonb aggregate transition function',
9545  proname => 'jsonb_agg_transfn', proisstrict => 'f', provolatile => 's',
9546  prorettype => 'internal', proargtypes => 'internal anyelement',
9547  prosrc => 'jsonb_agg_transfn' },
9548{ oid => '3266', descr => 'jsonb aggregate final function',
9549  proname => 'jsonb_agg_finalfn', proisstrict => 'f', provolatile => 's',
9550  prorettype => 'jsonb', proargtypes => 'internal',
9551  prosrc => 'jsonb_agg_finalfn' },
9552{ oid => '3267', descr => 'aggregate input into jsonb',
9553  proname => 'jsonb_agg', prokind => 'a', proisstrict => 'f',
9554  provolatile => 's', prorettype => 'jsonb', proargtypes => 'anyelement',
9555  prosrc => 'aggregate_dummy' },
9556{ oid => '3268', descr => 'jsonb object aggregate transition function',
9557  proname => 'jsonb_object_agg_transfn', proisstrict => 'f', provolatile => 's',
9558  prorettype => 'internal', proargtypes => 'internal any any',
9559  prosrc => 'jsonb_object_agg_transfn' },
9560{ oid => '3269', descr => 'jsonb object aggregate final function',
9561  proname => 'jsonb_object_agg_finalfn', proisstrict => 'f', provolatile => 's',
9562  prorettype => 'jsonb', proargtypes => 'internal',
9563  prosrc => 'jsonb_object_agg_finalfn' },
9564{ oid => '3270', descr => 'aggregate inputs into jsonb object',
9565  proname => 'jsonb_object_agg', prokind => 'a', proisstrict => 'f',
9566  prorettype => 'jsonb', proargtypes => 'any any',
9567  prosrc => 'aggregate_dummy' },
9568{ oid => '3271', descr => 'build a jsonb array from any inputs',
9569  proname => 'jsonb_build_array', provariadic => 'any', proisstrict => 'f',
9570  provolatile => 's', prorettype => 'jsonb', proargtypes => 'any',
9571  proallargtypes => '{any}', proargmodes => '{v}',
9572  prosrc => 'jsonb_build_array' },
9573{ oid => '3272', descr => 'build an empty jsonb array',
9574  proname => 'jsonb_build_array', proisstrict => 'f', provolatile => 's',
9575  prorettype => 'jsonb', proargtypes => '',
9576  prosrc => 'jsonb_build_array_noargs' },
9577{ oid => '3273',
9578  descr => 'build a jsonb object from pairwise key/value inputs',
9579  proname => 'jsonb_build_object', provariadic => 'any', proisstrict => 'f',
9580  provolatile => 's', prorettype => 'jsonb', proargtypes => 'any',
9581  proallargtypes => '{any}', proargmodes => '{v}',
9582  prosrc => 'jsonb_build_object' },
9583{ oid => '3274', descr => 'build an empty jsonb object',
9584  proname => 'jsonb_build_object', proisstrict => 'f', provolatile => 's',
9585  prorettype => 'jsonb', proargtypes => '',
9586  prosrc => 'jsonb_build_object_noargs' },
9587{ oid => '3262', descr => 'remove object fields with null values from jsonb',
9588  proname => 'jsonb_strip_nulls', prorettype => 'jsonb', proargtypes => 'jsonb',
9589  prosrc => 'jsonb_strip_nulls' },
9590
9591{ oid => '3478',
9592  proname => 'jsonb_object_field', prorettype => 'jsonb',
9593  proargtypes => 'jsonb text', proargnames => '{from_json, field_name}',
9594  prosrc => 'jsonb_object_field' },
9595{ oid => '3214',
9596  proname => 'jsonb_object_field_text', prorettype => 'text',
9597  proargtypes => 'jsonb text', proargnames => '{from_json, field_name}',
9598  prosrc => 'jsonb_object_field_text' },
9599{ oid => '3215',
9600  proname => 'jsonb_array_element', prorettype => 'jsonb',
9601  proargtypes => 'jsonb int4', proargnames => '{from_json, element_index}',
9602  prosrc => 'jsonb_array_element' },
9603{ oid => '3216',
9604  proname => 'jsonb_array_element_text', prorettype => 'text',
9605  proargtypes => 'jsonb int4', proargnames => '{from_json, element_index}',
9606  prosrc => 'jsonb_array_element_text' },
9607{ oid => '3217', descr => 'get value from jsonb with path elements',
9608  proname => 'jsonb_extract_path', provariadic => 'text', prorettype => 'jsonb',
9609  proargtypes => 'jsonb _text', proallargtypes => '{jsonb,_text}',
9610  proargmodes => '{i,v}', proargnames => '{from_json,path_elems}',
9611  prosrc => 'jsonb_extract_path' },
9612{ oid => '3940', descr => 'get value from jsonb as text with path elements',
9613  proname => 'jsonb_extract_path_text', provariadic => 'text',
9614  prorettype => 'text', proargtypes => 'jsonb _text',
9615  proallargtypes => '{jsonb,_text}', proargmodes => '{i,v}',
9616  proargnames => '{from_json,path_elems}',
9617  prosrc => 'jsonb_extract_path_text' },
9618{ oid => '3219', descr => 'elements of a jsonb array',
9619  proname => 'jsonb_array_elements', prorows => '100', proretset => 't',
9620  prorettype => 'jsonb', proargtypes => 'jsonb',
9621  proallargtypes => '{jsonb,jsonb}', proargmodes => '{i,o}',
9622  proargnames => '{from_json,value}', prosrc => 'jsonb_array_elements' },
9623{ oid => '3465', descr => 'elements of jsonb array',
9624  proname => 'jsonb_array_elements_text', prorows => '100', proretset => 't',
9625  prorettype => 'text', proargtypes => 'jsonb',
9626  proallargtypes => '{jsonb,text}', proargmodes => '{i,o}',
9627  proargnames => '{from_json,value}', prosrc => 'jsonb_array_elements_text' },
9628{ oid => '3207', descr => 'length of jsonb array',
9629  proname => 'jsonb_array_length', prorettype => 'int4', proargtypes => 'jsonb',
9630  prosrc => 'jsonb_array_length' },
9631{ oid => '3931', descr => 'get jsonb object keys',
9632  proname => 'jsonb_object_keys', prorows => '100', proretset => 't',
9633  prorettype => 'text', proargtypes => 'jsonb', prosrc => 'jsonb_object_keys' },
9634{ oid => '3208', descr => 'key value pairs of a jsonb object',
9635  proname => 'jsonb_each', prorows => '100', proretset => 't',
9636  prorettype => 'record', proargtypes => 'jsonb',
9637  proallargtypes => '{jsonb,text,jsonb}', proargmodes => '{i,o,o}',
9638  proargnames => '{from_json,key,value}', prosrc => 'jsonb_each' },
9639{ oid => '3932', descr => 'key value pairs of a jsonb object',
9640  proname => 'jsonb_each_text', prorows => '100', proretset => 't',
9641  prorettype => 'record', proargtypes => 'jsonb',
9642  proallargtypes => '{jsonb,text,text}', proargmodes => '{i,o,o}',
9643  proargnames => '{from_json,key,value}', prosrc => 'jsonb_each_text' },
9644{ oid => '3209', descr => 'get record fields from a jsonb object',
9645  proname => 'jsonb_populate_record', proisstrict => 'f', provolatile => 's',
9646  prorettype => 'anyelement', proargtypes => 'anyelement jsonb',
9647  prosrc => 'jsonb_populate_record' },
9648{ oid => '3475',
9649  descr => 'get set of records with fields from a jsonb array of objects',
9650  proname => 'jsonb_populate_recordset', prorows => '100', proisstrict => 'f',
9651  proretset => 't', provolatile => 's', prorettype => 'anyelement',
9652  proargtypes => 'anyelement jsonb', prosrc => 'jsonb_populate_recordset' },
9653{ oid => '3490', descr => 'get record fields from a jsonb object',
9654  proname => 'jsonb_to_record', provolatile => 's', prorettype => 'record',
9655  proargtypes => 'jsonb', prosrc => 'jsonb_to_record' },
9656{ oid => '3491',
9657  descr => 'get set of records with fields from a jsonb array of objects',
9658  proname => 'jsonb_to_recordset', prorows => '100', proisstrict => 'f',
9659  proretset => 't', provolatile => 's', prorettype => 'record',
9660  proargtypes => 'jsonb', prosrc => 'jsonb_to_recordset' },
9661{ oid => '3210', descr => 'get the type of a jsonb value',
9662  proname => 'jsonb_typeof', prorettype => 'text', proargtypes => 'jsonb',
9663  prosrc => 'jsonb_typeof' },
9664{ oid => '4038',
9665  proname => 'jsonb_ne', prorettype => 'bool', proargtypes => 'jsonb jsonb',
9666  prosrc => 'jsonb_ne' },
9667{ oid => '4039',
9668  proname => 'jsonb_lt', prorettype => 'bool', proargtypes => 'jsonb jsonb',
9669  prosrc => 'jsonb_lt' },
9670{ oid => '4040',
9671  proname => 'jsonb_gt', prorettype => 'bool', proargtypes => 'jsonb jsonb',
9672  prosrc => 'jsonb_gt' },
9673{ oid => '4041',
9674  proname => 'jsonb_le', prorettype => 'bool', proargtypes => 'jsonb jsonb',
9675  prosrc => 'jsonb_le' },
9676{ oid => '4042',
9677  proname => 'jsonb_ge', prorettype => 'bool', proargtypes => 'jsonb jsonb',
9678  prosrc => 'jsonb_ge' },
9679{ oid => '4043',
9680  proname => 'jsonb_eq', prorettype => 'bool', proargtypes => 'jsonb jsonb',
9681  prosrc => 'jsonb_eq' },
9682{ oid => '4044', descr => 'less-equal-greater',
9683  proname => 'jsonb_cmp', prorettype => 'int4', proargtypes => 'jsonb jsonb',
9684  prosrc => 'jsonb_cmp' },
9685{ oid => '4045', descr => 'hash',
9686  proname => 'jsonb_hash', prorettype => 'int4', proargtypes => 'jsonb',
9687  prosrc => 'jsonb_hash' },
9688{ oid => '3416', descr => 'hash',
9689  proname => 'jsonb_hash_extended', prorettype => 'int8',
9690  proargtypes => 'jsonb int8', prosrc => 'jsonb_hash_extended' },
9691{ oid => '4046',
9692  proname => 'jsonb_contains', prorettype => 'bool',
9693  proargtypes => 'jsonb jsonb', prosrc => 'jsonb_contains' },
9694{ oid => '4047',
9695  proname => 'jsonb_exists', prorettype => 'bool', proargtypes => 'jsonb text',
9696  prosrc => 'jsonb_exists' },
9697{ oid => '4048',
9698  proname => 'jsonb_exists_any', prorettype => 'bool',
9699  proargtypes => 'jsonb _text', prosrc => 'jsonb_exists_any' },
9700{ oid => '4049',
9701  proname => 'jsonb_exists_all', prorettype => 'bool',
9702  proargtypes => 'jsonb _text', prosrc => 'jsonb_exists_all' },
9703{ oid => '4050',
9704  proname => 'jsonb_contained', prorettype => 'bool',
9705  proargtypes => 'jsonb jsonb', prosrc => 'jsonb_contained' },
9706{ oid => '3480', descr => 'GIN support',
9707  proname => 'gin_compare_jsonb', prorettype => 'int4',
9708  proargtypes => 'text text', prosrc => 'gin_compare_jsonb' },
9709{ oid => '3482', descr => 'GIN support',
9710  proname => 'gin_extract_jsonb', prorettype => 'internal',
9711  proargtypes => 'jsonb internal internal', prosrc => 'gin_extract_jsonb' },
9712{ oid => '3483', descr => 'GIN support',
9713  proname => 'gin_extract_jsonb_query', prorettype => 'internal',
9714  proargtypes => 'jsonb internal int2 internal internal internal internal',
9715  prosrc => 'gin_extract_jsonb_query' },
9716{ oid => '3484', descr => 'GIN support',
9717  proname => 'gin_consistent_jsonb', prorettype => 'bool',
9718  proargtypes => 'internal int2 jsonb int4 internal internal internal internal',
9719  prosrc => 'gin_consistent_jsonb' },
9720{ oid => '3488', descr => 'GIN support',
9721  proname => 'gin_triconsistent_jsonb', prorettype => 'char',
9722  proargtypes => 'internal int2 jsonb int4 internal internal internal',
9723  prosrc => 'gin_triconsistent_jsonb' },
9724{ oid => '3485', descr => 'GIN support',
9725  proname => 'gin_extract_jsonb_path', prorettype => 'internal',
9726  proargtypes => 'jsonb internal internal',
9727  prosrc => 'gin_extract_jsonb_path' },
9728{ oid => '3486', descr => 'GIN support',
9729  proname => 'gin_extract_jsonb_query_path', prorettype => 'internal',
9730  proargtypes => 'jsonb internal int2 internal internal internal internal',
9731  prosrc => 'gin_extract_jsonb_query_path' },
9732{ oid => '3487', descr => 'GIN support',
9733  proname => 'gin_consistent_jsonb_path', prorettype => 'bool',
9734  proargtypes => 'internal int2 jsonb int4 internal internal internal internal',
9735  prosrc => 'gin_consistent_jsonb_path' },
9736{ oid => '3489', descr => 'GIN support',
9737  proname => 'gin_triconsistent_jsonb_path', prorettype => 'char',
9738  proargtypes => 'internal int2 jsonb int4 internal internal internal',
9739  prosrc => 'gin_triconsistent_jsonb_path' },
9740{ oid => '3301',
9741  proname => 'jsonb_concat', prorettype => 'jsonb',
9742  proargtypes => 'jsonb jsonb', prosrc => 'jsonb_concat' },
9743{ oid => '3302',
9744  proname => 'jsonb_delete', prorettype => 'jsonb', proargtypes => 'jsonb text',
9745  prosrc => 'jsonb_delete' },
9746{ oid => '3303',
9747  proname => 'jsonb_delete', prorettype => 'jsonb', proargtypes => 'jsonb int4',
9748  prosrc => 'jsonb_delete_idx' },
9749{ oid => '3343',
9750  proname => 'jsonb_delete', provariadic => 'text', prorettype => 'jsonb',
9751  proargtypes => 'jsonb _text', proallargtypes => '{jsonb,_text}',
9752  proargmodes => '{i,v}', proargnames => '{from_json,path_elems}',
9753  prosrc => 'jsonb_delete_array' },
9754{ oid => '3304',
9755  proname => 'jsonb_delete_path', prorettype => 'jsonb',
9756  proargtypes => 'jsonb _text', prosrc => 'jsonb_delete_path' },
9757{ oid => '5054', descr => 'Set part of a jsonb, handle NULL value',
9758  proname => 'jsonb_set_lax', proisstrict => 'f', prorettype => 'jsonb',
9759  proargtypes => 'jsonb _text jsonb bool text', prosrc => 'jsonb_set_lax' },
9760{ oid => '3305', descr => 'Set part of a jsonb',
9761  proname => 'jsonb_set', prorettype => 'jsonb',
9762  proargtypes => 'jsonb _text jsonb bool', prosrc => 'jsonb_set' },
9763{ oid => '3306', descr => 'Indented text from jsonb',
9764  proname => 'jsonb_pretty', prorettype => 'text', proargtypes => 'jsonb',
9765  prosrc => 'jsonb_pretty' },
9766{ oid => '3579', descr => 'Insert value into a jsonb',
9767  proname => 'jsonb_insert', prorettype => 'jsonb',
9768  proargtypes => 'jsonb _text jsonb bool', prosrc => 'jsonb_insert' },
9769
9770# jsonpath
9771{ oid => '4001', descr => 'I/O',
9772  proname => 'jsonpath_in', prorettype => 'jsonpath', proargtypes => 'cstring',
9773  prosrc => 'jsonpath_in' },
9774{ oid => '4002', descr => 'I/O',
9775  proname => 'jsonpath_recv', prorettype => 'jsonpath',
9776  proargtypes => 'internal', prosrc => 'jsonpath_recv' },
9777{ oid => '4003', descr => 'I/O',
9778  proname => 'jsonpath_out', prorettype => 'cstring', proargtypes => 'jsonpath',
9779  prosrc => 'jsonpath_out' },
9780{ oid => '4004', descr => 'I/O',
9781  proname => 'jsonpath_send', prorettype => 'bytea', proargtypes => 'jsonpath',
9782  prosrc => 'jsonpath_send' },
9783
9784{ oid => '4005', descr => 'jsonpath exists test',
9785  proname => 'jsonb_path_exists', prorettype => 'bool',
9786  proargtypes => 'jsonb jsonpath jsonb bool', prosrc => 'jsonb_path_exists' },
9787{ oid => '4006', descr => 'jsonpath query',
9788  proname => 'jsonb_path_query', prorows => '1000', proretset => 't',
9789  prorettype => 'jsonb', proargtypes => 'jsonb jsonpath jsonb bool',
9790  prosrc => 'jsonb_path_query' },
9791{ oid => '4007', descr => 'jsonpath query wrapped into array',
9792  proname => 'jsonb_path_query_array', prorettype => 'jsonb',
9793  proargtypes => 'jsonb jsonpath jsonb bool',
9794  prosrc => 'jsonb_path_query_array' },
9795{ oid => '4008', descr => 'jsonpath query first item',
9796  proname => 'jsonb_path_query_first', prorettype => 'jsonb',
9797  proargtypes => 'jsonb jsonpath jsonb bool',
9798  prosrc => 'jsonb_path_query_first' },
9799{ oid => '4009', descr => 'jsonpath match',
9800  proname => 'jsonb_path_match', prorettype => 'bool',
9801  proargtypes => 'jsonb jsonpath jsonb bool', prosrc => 'jsonb_path_match' },
9802
9803{ oid => '1177', descr => 'jsonpath exists test with timezone',
9804  proname => 'jsonb_path_exists_tz', provolatile => 's', prorettype => 'bool',
9805  proargtypes => 'jsonb jsonpath jsonb bool',
9806  prosrc => 'jsonb_path_exists_tz' },
9807{ oid => '1179', descr => 'jsonpath query with timezone',
9808  proname => 'jsonb_path_query_tz', prorows => '1000', proretset => 't',
9809  provolatile => 's', prorettype => 'jsonb',
9810  proargtypes => 'jsonb jsonpath jsonb bool', prosrc => 'jsonb_path_query_tz' },
9811{ oid => '1180', descr => 'jsonpath query wrapped into array with timezone',
9812  proname => 'jsonb_path_query_array_tz', provolatile => 's',
9813  prorettype => 'jsonb', proargtypes => 'jsonb jsonpath jsonb bool',
9814  prosrc => 'jsonb_path_query_array_tz' },
9815{ oid => '2023', descr => 'jsonpath query first item with timezone',
9816  proname => 'jsonb_path_query_first_tz', provolatile => 's',
9817  prorettype => 'jsonb', proargtypes => 'jsonb jsonpath jsonb bool',
9818  prosrc => 'jsonb_path_query_first_tz' },
9819{ oid => '2030', descr => 'jsonpath match with timezone',
9820  proname => 'jsonb_path_match_tz', provolatile => 's', prorettype => 'bool',
9821  proargtypes => 'jsonb jsonpath jsonb bool', prosrc => 'jsonb_path_match_tz' },
9822
9823{ oid => '4010', descr => 'implementation of @? operator',
9824  proname => 'jsonb_path_exists_opr', prorettype => 'bool',
9825  proargtypes => 'jsonb jsonpath', prosrc => 'jsonb_path_exists_opr' },
9826{ oid => '4011', descr => 'implementation of @@ operator',
9827  proname => 'jsonb_path_match_opr', prorettype => 'bool',
9828  proargtypes => 'jsonb jsonpath', prosrc => 'jsonb_path_match_opr' },
9829
9830# historical int8/txid_snapshot variants of xid8 functions
9831{ oid => '2939', descr => 'I/O',
9832  proname => 'txid_snapshot_in', prorettype => 'txid_snapshot',
9833  proargtypes => 'cstring', prosrc => 'pg_snapshot_in' },
9834{ oid => '2940', descr => 'I/O',
9835  proname => 'txid_snapshot_out', prorettype => 'cstring',
9836  proargtypes => 'txid_snapshot', prosrc => 'pg_snapshot_out' },
9837{ oid => '2941', descr => 'I/O',
9838  proname => 'txid_snapshot_recv', prorettype => 'txid_snapshot',
9839  proargtypes => 'internal', prosrc => 'pg_snapshot_recv' },
9840{ oid => '2942', descr => 'I/O',
9841  proname => 'txid_snapshot_send', prorettype => 'bytea',
9842  proargtypes => 'txid_snapshot', prosrc => 'pg_snapshot_send' },
9843{ oid => '2943', descr => 'get current transaction ID',
9844  proname => 'txid_current', provolatile => 's', proparallel => 'u',
9845  prorettype => 'int8', proargtypes => '', prosrc => 'pg_current_xact_id' },
9846{ oid => '3348', descr => 'get current transaction ID',
9847  proname => 'txid_current_if_assigned', provolatile => 's', proparallel => 'u',
9848  prorettype => 'int8', proargtypes => '',
9849  prosrc => 'pg_current_xact_id_if_assigned' },
9850{ oid => '2944', descr => 'get current snapshot',
9851  proname => 'txid_current_snapshot', provolatile => 's',
9852  prorettype => 'txid_snapshot', proargtypes => '',
9853  prosrc => 'pg_current_snapshot' },
9854{ oid => '2945', descr => 'get xmin of snapshot',
9855  proname => 'txid_snapshot_xmin', prorettype => 'int8',
9856  proargtypes => 'txid_snapshot', prosrc => 'pg_snapshot_xmin' },
9857{ oid => '2946', descr => 'get xmax of snapshot',
9858  proname => 'txid_snapshot_xmax', prorettype => 'int8',
9859  proargtypes => 'txid_snapshot', prosrc => 'pg_snapshot_xmax' },
9860{ oid => '2947', descr => 'get set of in-progress txids in snapshot',
9861  proname => 'txid_snapshot_xip', prorows => '50', proretset => 't',
9862  prorettype => 'int8', proargtypes => 'txid_snapshot',
9863  prosrc => 'pg_snapshot_xip' },
9864{ oid => '2948', descr => 'is txid visible in snapshot?',
9865  proname => 'txid_visible_in_snapshot', prorettype => 'bool',
9866  proargtypes => 'int8 txid_snapshot', prosrc => 'pg_visible_in_snapshot' },
9867{ oid => '3360', descr => 'commit status of transaction',
9868  proname => 'txid_status', provolatile => 'v', prorettype => 'text',
9869  proargtypes => 'int8', prosrc => 'pg_xact_status' },
9870
9871# pg_snapshot functions
9872{ oid => '5055', descr => 'I/O',
9873  proname => 'pg_snapshot_in', prorettype => 'pg_snapshot',
9874  proargtypes => 'cstring', prosrc => 'pg_snapshot_in' },
9875{ oid => '5056', descr => 'I/O',
9876  proname => 'pg_snapshot_out', prorettype => 'cstring',
9877  proargtypes => 'pg_snapshot', prosrc => 'pg_snapshot_out' },
9878{ oid => '5057', descr => 'I/O',
9879  proname => 'pg_snapshot_recv', prorettype => 'pg_snapshot',
9880  proargtypes => 'internal', prosrc => 'pg_snapshot_recv' },
9881{ oid => '5058', descr => 'I/O',
9882  proname => 'pg_snapshot_send', prorettype => 'bytea',
9883  proargtypes => 'pg_snapshot', prosrc => 'pg_snapshot_send' },
9884{ oid => '5061', descr => 'get current snapshot',
9885  proname => 'pg_current_snapshot', provolatile => 's',
9886  prorettype => 'pg_snapshot', proargtypes => '',
9887  prosrc => 'pg_current_snapshot' },
9888{ oid => '5062', descr => 'get xmin of snapshot',
9889  proname => 'pg_snapshot_xmin', prorettype => 'xid8',
9890  proargtypes => 'pg_snapshot', prosrc => 'pg_snapshot_xmin' },
9891{ oid => '5063', descr => 'get xmax of snapshot',
9892  proname => 'pg_snapshot_xmax', prorettype => 'xid8',
9893  proargtypes => 'pg_snapshot', prosrc => 'pg_snapshot_xmax' },
9894{ oid => '5064', descr => 'get set of in-progress transactions in snapshot',
9895  proname => 'pg_snapshot_xip', prorows => '50', proretset => 't',
9896  prorettype => 'xid8', proargtypes => 'pg_snapshot',
9897  prosrc => 'pg_snapshot_xip' },
9898{ oid => '5065', descr => 'is xid8 visible in snapshot?',
9899  proname => 'pg_visible_in_snapshot', prorettype => 'bool',
9900  proargtypes => 'xid8 pg_snapshot', prosrc => 'pg_visible_in_snapshot' },
9901
9902# transaction ID and status functions
9903{ oid => '5059', descr => 'get current transaction ID',
9904  proname => 'pg_current_xact_id', provolatile => 's', proparallel => 'u',
9905  prorettype => 'xid8', proargtypes => '', prosrc => 'pg_current_xact_id' },
9906{ oid => '5060', descr => 'get current transaction ID',
9907  proname => 'pg_current_xact_id_if_assigned', provolatile => 's',
9908  proparallel => 'u', prorettype => 'xid8', proargtypes => '',
9909  prosrc => 'pg_current_xact_id_if_assigned' },
9910{ oid => '5066', descr => 'commit status of transaction',
9911  proname => 'pg_xact_status', provolatile => 'v', prorettype => 'text',
9912  proargtypes => 'xid8', prosrc => 'pg_xact_status' },
9913
9914# record comparison using normal comparison rules
9915{ oid => '2981',
9916  proname => 'record_eq', prorettype => 'bool', proargtypes => 'record record',
9917  prosrc => 'record_eq' },
9918{ oid => '2982',
9919  proname => 'record_ne', prorettype => 'bool', proargtypes => 'record record',
9920  prosrc => 'record_ne' },
9921{ oid => '2983',
9922  proname => 'record_lt', prorettype => 'bool', proargtypes => 'record record',
9923  prosrc => 'record_lt' },
9924{ oid => '2984',
9925  proname => 'record_gt', prorettype => 'bool', proargtypes => 'record record',
9926  prosrc => 'record_gt' },
9927{ oid => '2985',
9928  proname => 'record_le', prorettype => 'bool', proargtypes => 'record record',
9929  prosrc => 'record_le' },
9930{ oid => '2986',
9931  proname => 'record_ge', prorettype => 'bool', proargtypes => 'record record',
9932  prosrc => 'record_ge' },
9933{ oid => '2987', descr => 'less-equal-greater',
9934  proname => 'btrecordcmp', prorettype => 'int4',
9935  proargtypes => 'record record', prosrc => 'btrecordcmp' },
9936
9937{ oid => '6192', descr => 'hash',
9938  proname => 'hash_record', prorettype => 'int4', proargtypes => 'record',
9939  prosrc => 'hash_record' },
9940{ oid => '6193', descr => 'hash',
9941  proname => 'hash_record_extended', prorettype => 'int8',
9942  proargtypes => 'record int8', prosrc => 'hash_record_extended' },
9943
9944# record comparison using raw byte images
9945{ oid => '3181',
9946  proname => 'record_image_eq', prorettype => 'bool',
9947  proargtypes => 'record record', prosrc => 'record_image_eq' },
9948{ oid => '3182',
9949  proname => 'record_image_ne', prorettype => 'bool',
9950  proargtypes => 'record record', prosrc => 'record_image_ne' },
9951{ oid => '3183',
9952  proname => 'record_image_lt', prorettype => 'bool',
9953  proargtypes => 'record record', prosrc => 'record_image_lt' },
9954{ oid => '3184',
9955  proname => 'record_image_gt', prorettype => 'bool',
9956  proargtypes => 'record record', prosrc => 'record_image_gt' },
9957{ oid => '3185',
9958  proname => 'record_image_le', prorettype => 'bool',
9959  proargtypes => 'record record', prosrc => 'record_image_le' },
9960{ oid => '3186',
9961  proname => 'record_image_ge', prorettype => 'bool',
9962  proargtypes => 'record record', prosrc => 'record_image_ge' },
9963{ oid => '3187', descr => 'less-equal-greater based on byte images',
9964  proname => 'btrecordimagecmp', prorettype => 'int4',
9965  proargtypes => 'record record', prosrc => 'btrecordimagecmp' },
9966{ oid => '5051', descr => 'equal image',
9967  proname => 'btequalimage', prorettype => 'bool', proargtypes => 'oid',
9968  prosrc => 'btequalimage' },
9969
9970# Extensions
9971{ oid => '3082', descr => 'list available extensions',
9972  proname => 'pg_available_extensions', procost => '10', prorows => '100',
9973  proretset => 't', provolatile => 's', prorettype => 'record',
9974  proargtypes => '', proallargtypes => '{name,text,text}',
9975  proargmodes => '{o,o,o}', proargnames => '{name,default_version,comment}',
9976  prosrc => 'pg_available_extensions' },
9977{ oid => '3083', descr => 'list available extension versions',
9978  proname => 'pg_available_extension_versions', procost => '10',
9979  prorows => '100', proretset => 't', provolatile => 's',
9980  prorettype => 'record', proargtypes => '',
9981  proallargtypes => '{name,text,bool,bool,bool,name,_name,text}',
9982  proargmodes => '{o,o,o,o,o,o,o,o}',
9983  proargnames => '{name,version,superuser,trusted,relocatable,schema,requires,comment}',
9984  prosrc => 'pg_available_extension_versions' },
9985{ oid => '3084', descr => 'list an extension\'s version update paths',
9986  proname => 'pg_extension_update_paths', procost => '10', prorows => '100',
9987  proretset => 't', provolatile => 's', prorettype => 'record',
9988  proargtypes => 'name', proallargtypes => '{name,text,text,text}',
9989  proargmodes => '{i,o,o,o}', proargnames => '{name,source,target,path}',
9990  prosrc => 'pg_extension_update_paths' },
9991{ oid => '3086',
9992  descr => 'flag an extension\'s table contents to be emitted by pg_dump',
9993  proname => 'pg_extension_config_dump', provolatile => 'v', proparallel => 'u',
9994  prorettype => 'void', proargtypes => 'regclass text',
9995  prosrc => 'pg_extension_config_dump' },
9996
9997# SQL-spec window functions
9998{ oid => '3100', descr => 'row number within partition',
9999  proname => 'row_number', prokind => 'w', proisstrict => 'f',
10000  prorettype => 'int8', proargtypes => '', prosrc => 'window_row_number' },
10001{ oid => '3101', descr => 'integer rank with gaps',
10002  proname => 'rank', prokind => 'w', proisstrict => 'f', prorettype => 'int8',
10003  proargtypes => '', prosrc => 'window_rank' },
10004{ oid => '3102', descr => 'integer rank without gaps',
10005  proname => 'dense_rank', prokind => 'w', proisstrict => 'f',
10006  prorettype => 'int8', proargtypes => '', prosrc => 'window_dense_rank' },
10007{ oid => '3103', descr => 'fractional rank within partition',
10008  proname => 'percent_rank', prokind => 'w', proisstrict => 'f',
10009  prorettype => 'float8', proargtypes => '', prosrc => 'window_percent_rank' },
10010{ oid => '3104', descr => 'fractional row number within partition',
10011  proname => 'cume_dist', prokind => 'w', proisstrict => 'f',
10012  prorettype => 'float8', proargtypes => '', prosrc => 'window_cume_dist' },
10013{ oid => '3105', descr => 'split rows into N groups',
10014  proname => 'ntile', prokind => 'w', prorettype => 'int4',
10015  proargtypes => 'int4', prosrc => 'window_ntile' },
10016{ oid => '3106', descr => 'fetch the preceding row value',
10017  proname => 'lag', prokind => 'w', prorettype => 'anyelement',
10018  proargtypes => 'anyelement', prosrc => 'window_lag' },
10019{ oid => '3107', descr => 'fetch the Nth preceding row value',
10020  proname => 'lag', prokind => 'w', prorettype => 'anyelement',
10021  proargtypes => 'anyelement int4', prosrc => 'window_lag_with_offset' },
10022{ oid => '3108', descr => 'fetch the Nth preceding row value with default',
10023  proname => 'lag', prokind => 'w', prorettype => 'anycompatible',
10024  proargtypes => 'anycompatible int4 anycompatible',
10025  prosrc => 'window_lag_with_offset_and_default' },
10026{ oid => '3109', descr => 'fetch the following row value',
10027  proname => 'lead', prokind => 'w', prorettype => 'anyelement',
10028  proargtypes => 'anyelement', prosrc => 'window_lead' },
10029{ oid => '3110', descr => 'fetch the Nth following row value',
10030  proname => 'lead', prokind => 'w', prorettype => 'anyelement',
10031  proargtypes => 'anyelement int4', prosrc => 'window_lead_with_offset' },
10032{ oid => '3111', descr => 'fetch the Nth following row value with default',
10033  proname => 'lead', prokind => 'w', prorettype => 'anycompatible',
10034  proargtypes => 'anycompatible int4 anycompatible',
10035  prosrc => 'window_lead_with_offset_and_default' },
10036{ oid => '3112', descr => 'fetch the first row value',
10037  proname => 'first_value', prokind => 'w', prorettype => 'anyelement',
10038  proargtypes => 'anyelement', prosrc => 'window_first_value' },
10039{ oid => '3113', descr => 'fetch the last row value',
10040  proname => 'last_value', prokind => 'w', prorettype => 'anyelement',
10041  proargtypes => 'anyelement', prosrc => 'window_last_value' },
10042{ oid => '3114', descr => 'fetch the Nth row value',
10043  proname => 'nth_value', prokind => 'w', prorettype => 'anyelement',
10044  proargtypes => 'anyelement int4', prosrc => 'window_nth_value' },
10045
10046# functions for range types
10047{ oid => '3832', descr => 'I/O',
10048  proname => 'anyrange_in', provolatile => 's', prorettype => 'anyrange',
10049  proargtypes => 'cstring oid int4', prosrc => 'anyrange_in' },
10050{ oid => '3833', descr => 'I/O',
10051  proname => 'anyrange_out', provolatile => 's', prorettype => 'cstring',
10052  proargtypes => 'anyrange', prosrc => 'anyrange_out' },
10053{ oid => '3834', descr => 'I/O',
10054  proname => 'range_in', provolatile => 's', prorettype => 'anyrange',
10055  proargtypes => 'cstring oid int4', prosrc => 'range_in' },
10056{ oid => '3835', descr => 'I/O',
10057  proname => 'range_out', provolatile => 's', prorettype => 'cstring',
10058  proargtypes => 'anyrange', prosrc => 'range_out' },
10059{ oid => '3836', descr => 'I/O',
10060  proname => 'range_recv', provolatile => 's', prorettype => 'anyrange',
10061  proargtypes => 'internal oid int4', prosrc => 'range_recv' },
10062{ oid => '3837', descr => 'I/O',
10063  proname => 'range_send', provolatile => 's', prorettype => 'bytea',
10064  proargtypes => 'anyrange', prosrc => 'range_send' },
10065{ oid => '3848', descr => 'lower bound of range',
10066  proname => 'lower', prorettype => 'anyelement', proargtypes => 'anyrange',
10067  prosrc => 'range_lower' },
10068{ oid => '3849', descr => 'upper bound of range',
10069  proname => 'upper', prorettype => 'anyelement', proargtypes => 'anyrange',
10070  prosrc => 'range_upper' },
10071{ oid => '3850', descr => 'is the range empty?',
10072  proname => 'isempty', prorettype => 'bool', proargtypes => 'anyrange',
10073  prosrc => 'range_empty' },
10074{ oid => '3851', descr => 'is the range\'s lower bound inclusive?',
10075  proname => 'lower_inc', prorettype => 'bool', proargtypes => 'anyrange',
10076  prosrc => 'range_lower_inc' },
10077{ oid => '3852', descr => 'is the range\'s upper bound inclusive?',
10078  proname => 'upper_inc', prorettype => 'bool', proargtypes => 'anyrange',
10079  prosrc => 'range_upper_inc' },
10080{ oid => '3853', descr => 'is the range\'s lower bound infinite?',
10081  proname => 'lower_inf', prorettype => 'bool', proargtypes => 'anyrange',
10082  prosrc => 'range_lower_inf' },
10083{ oid => '3854', descr => 'is the range\'s upper bound infinite?',
10084  proname => 'upper_inf', prorettype => 'bool', proargtypes => 'anyrange',
10085  prosrc => 'range_upper_inf' },
10086{ oid => '3855',
10087  proname => 'range_eq', prorettype => 'bool',
10088  proargtypes => 'anyrange anyrange', prosrc => 'range_eq' },
10089{ oid => '3856',
10090  proname => 'range_ne', prorettype => 'bool',
10091  proargtypes => 'anyrange anyrange', prosrc => 'range_ne' },
10092{ oid => '3857',
10093  proname => 'range_overlaps', prorettype => 'bool',
10094  proargtypes => 'anyrange anyrange', prosrc => 'range_overlaps' },
10095{ oid => '3858',
10096  proname => 'range_contains_elem', prorettype => 'bool',
10097  proargtypes => 'anyrange anyelement', prosrc => 'range_contains_elem' },
10098{ oid => '3859',
10099  proname => 'range_contains', prorettype => 'bool',
10100  proargtypes => 'anyrange anyrange', prosrc => 'range_contains' },
10101{ oid => '3860',
10102  proname => 'elem_contained_by_range', prorettype => 'bool',
10103  proargtypes => 'anyelement anyrange', prosrc => 'elem_contained_by_range' },
10104{ oid => '3861',
10105  proname => 'range_contained_by', prorettype => 'bool',
10106  proargtypes => 'anyrange anyrange', prosrc => 'range_contained_by' },
10107{ oid => '3862',
10108  proname => 'range_adjacent', prorettype => 'bool',
10109  proargtypes => 'anyrange anyrange', prosrc => 'range_adjacent' },
10110{ oid => '3863',
10111  proname => 'range_before', prorettype => 'bool',
10112  proargtypes => 'anyrange anyrange', prosrc => 'range_before' },
10113{ oid => '3864',
10114  proname => 'range_after', prorettype => 'bool',
10115  proargtypes => 'anyrange anyrange', prosrc => 'range_after' },
10116{ oid => '3865',
10117  proname => 'range_overleft', prorettype => 'bool',
10118  proargtypes => 'anyrange anyrange', prosrc => 'range_overleft' },
10119{ oid => '3866',
10120  proname => 'range_overright', prorettype => 'bool',
10121  proargtypes => 'anyrange anyrange', prosrc => 'range_overright' },
10122{ oid => '3867',
10123  proname => 'range_union', prorettype => 'anyrange',
10124  proargtypes => 'anyrange anyrange', prosrc => 'range_union' },
10125{ oid => '4057',
10126  descr => 'the smallest range which includes both of the given ranges',
10127  proname => 'range_merge', prorettype => 'anyrange',
10128  proargtypes => 'anyrange anyrange', prosrc => 'range_merge' },
10129{ oid => '4228',
10130  descr => 'the smallest range which includes the whole multirange',
10131  proname => 'range_merge', prorettype => 'anyrange',
10132  proargtypes => 'anymultirange', prosrc => 'range_merge_from_multirange' },
10133{ oid => '3868',
10134  proname => 'range_intersect', prorettype => 'anyrange',
10135  proargtypes => 'anyrange anyrange', prosrc => 'range_intersect' },
10136{ oid => '3869',
10137  proname => 'range_minus', prorettype => 'anyrange',
10138  proargtypes => 'anyrange anyrange', prosrc => 'range_minus' },
10139{ oid => '3870', descr => 'less-equal-greater',
10140  proname => 'range_cmp', prorettype => 'int4',
10141  proargtypes => 'anyrange anyrange', prosrc => 'range_cmp' },
10142{ oid => '3871',
10143  proname => 'range_lt', prorettype => 'bool',
10144  proargtypes => 'anyrange anyrange', prosrc => 'range_lt' },
10145{ oid => '3872',
10146  proname => 'range_le', prorettype => 'bool',
10147  proargtypes => 'anyrange anyrange', prosrc => 'range_le' },
10148{ oid => '3873',
10149  proname => 'range_ge', prorettype => 'bool',
10150  proargtypes => 'anyrange anyrange', prosrc => 'range_ge' },
10151{ oid => '3874',
10152  proname => 'range_gt', prorettype => 'bool',
10153  proargtypes => 'anyrange anyrange', prosrc => 'range_gt' },
10154{ oid => '3875', descr => 'GiST support',
10155  proname => 'range_gist_consistent', prorettype => 'bool',
10156  proargtypes => 'internal anyrange int2 oid internal',
10157  prosrc => 'range_gist_consistent' },
10158{ oid => '3876', descr => 'GiST support',
10159  proname => 'range_gist_union', prorettype => 'anyrange',
10160  proargtypes => 'internal internal', prosrc => 'range_gist_union' },
10161{ oid => '3879', descr => 'GiST support',
10162  proname => 'range_gist_penalty', prorettype => 'internal',
10163  proargtypes => 'internal internal internal', prosrc => 'range_gist_penalty' },
10164{ oid => '3880', descr => 'GiST support',
10165  proname => 'range_gist_picksplit', prorettype => 'internal',
10166  proargtypes => 'internal internal', prosrc => 'range_gist_picksplit' },
10167{ oid => '3881', descr => 'GiST support',
10168  proname => 'range_gist_same', prorettype => 'internal',
10169  proargtypes => 'anyrange anyrange internal', prosrc => 'range_gist_same' },
10170{ oid => '6154', descr => 'GiST support',
10171  proname => 'multirange_gist_consistent', prorettype => 'bool',
10172  proargtypes => 'internal anymultirange int2 oid internal',
10173  prosrc => 'multirange_gist_consistent' },
10174{ oid => '6156', descr => 'GiST support',
10175  proname => 'multirange_gist_compress', prorettype => 'internal',
10176  proargtypes => 'internal', prosrc => 'multirange_gist_compress' },
10177{ oid => '3902', descr => 'hash a range',
10178  proname => 'hash_range', prorettype => 'int4', proargtypes => 'anyrange',
10179  prosrc => 'hash_range' },
10180{ oid => '3417', descr => 'hash a range',
10181  proname => 'hash_range_extended', prorettype => 'int8',
10182  proargtypes => 'anyrange int8', prosrc => 'hash_range_extended' },
10183{ oid => '3916', descr => 'range typanalyze',
10184  proname => 'range_typanalyze', provolatile => 's', prorettype => 'bool',
10185  proargtypes => 'internal', prosrc => 'range_typanalyze' },
10186{ oid => '3169', descr => 'restriction selectivity for range operators',
10187  proname => 'rangesel', provolatile => 's', prorettype => 'float8',
10188  proargtypes => 'internal oid internal int4', prosrc => 'rangesel' },
10189{ oid => '4401', descr => 'range aggregate by intersecting',
10190  proname => 'range_intersect_agg_transfn', prorettype => 'anyrange',
10191  proargtypes => 'anyrange anyrange', prosrc => 'range_intersect_agg_transfn' },
10192{ oid => '4450', descr => 'range aggregate by intersecting',
10193  proname => 'range_intersect_agg', prokind => 'a', proisstrict => 'f',
10194  prorettype => 'anyrange', proargtypes => 'anyrange',
10195  prosrc => 'aggregate_dummy' },
10196
10197{ oid => '3914', descr => 'convert an int4 range to canonical form',
10198  proname => 'int4range_canonical', prorettype => 'int4range',
10199  proargtypes => 'int4range', prosrc => 'int4range_canonical' },
10200{ oid => '3928', descr => 'convert an int8 range to canonical form',
10201  proname => 'int8range_canonical', prorettype => 'int8range',
10202  proargtypes => 'int8range', prosrc => 'int8range_canonical' },
10203{ oid => '3915', descr => 'convert a date range to canonical form',
10204  proname => 'daterange_canonical', prorettype => 'daterange',
10205  proargtypes => 'daterange', prosrc => 'daterange_canonical' },
10206{ oid => '3922', descr => 'float8 difference of two int4 values',
10207  proname => 'int4range_subdiff', prorettype => 'float8',
10208  proargtypes => 'int4 int4', prosrc => 'int4range_subdiff' },
10209{ oid => '3923', descr => 'float8 difference of two int8 values',
10210  proname => 'int8range_subdiff', prorettype => 'float8',
10211  proargtypes => 'int8 int8', prosrc => 'int8range_subdiff' },
10212{ oid => '3924', descr => 'float8 difference of two numeric values',
10213  proname => 'numrange_subdiff', prorettype => 'float8',
10214  proargtypes => 'numeric numeric', prosrc => 'numrange_subdiff' },
10215{ oid => '3925', descr => 'float8 difference of two date values',
10216  proname => 'daterange_subdiff', prorettype => 'float8',
10217  proargtypes => 'date date', prosrc => 'daterange_subdiff' },
10218{ oid => '3929', descr => 'float8 difference of two timestamp values',
10219  proname => 'tsrange_subdiff', prorettype => 'float8',
10220  proargtypes => 'timestamp timestamp', prosrc => 'tsrange_subdiff' },
10221{ oid => '3930',
10222  descr => 'float8 difference of two timestamp with time zone values',
10223  proname => 'tstzrange_subdiff', prorettype => 'float8',
10224  proargtypes => 'timestamptz timestamptz', prosrc => 'tstzrange_subdiff' },
10225
10226{ oid => '3840', descr => 'int4range constructor',
10227  proname => 'int4range', proisstrict => 'f', prorettype => 'int4range',
10228  proargtypes => 'int4 int4', prosrc => 'range_constructor2' },
10229{ oid => '3841', descr => 'int4range constructor',
10230  proname => 'int4range', proisstrict => 'f', prorettype => 'int4range',
10231  proargtypes => 'int4 int4 text', prosrc => 'range_constructor3' },
10232{ oid => '3844', descr => 'numrange constructor',
10233  proname => 'numrange', proisstrict => 'f', prorettype => 'numrange',
10234  proargtypes => 'numeric numeric', prosrc => 'range_constructor2' },
10235{ oid => '3845', descr => 'numrange constructor',
10236  proname => 'numrange', proisstrict => 'f', prorettype => 'numrange',
10237  proargtypes => 'numeric numeric text', prosrc => 'range_constructor3' },
10238{ oid => '3933', descr => 'tsrange constructor',
10239  proname => 'tsrange', proisstrict => 'f', prorettype => 'tsrange',
10240  proargtypes => 'timestamp timestamp', prosrc => 'range_constructor2' },
10241{ oid => '3934', descr => 'tsrange constructor',
10242  proname => 'tsrange', proisstrict => 'f', prorettype => 'tsrange',
10243  proargtypes => 'timestamp timestamp text', prosrc => 'range_constructor3' },
10244{ oid => '3937', descr => 'tstzrange constructor',
10245  proname => 'tstzrange', proisstrict => 'f', prorettype => 'tstzrange',
10246  proargtypes => 'timestamptz timestamptz', prosrc => 'range_constructor2' },
10247{ oid => '3938', descr => 'tstzrange constructor',
10248  proname => 'tstzrange', proisstrict => 'f', prorettype => 'tstzrange',
10249  proargtypes => 'timestamptz timestamptz text',
10250  prosrc => 'range_constructor3' },
10251{ oid => '3941', descr => 'daterange constructor',
10252  proname => 'daterange', proisstrict => 'f', prorettype => 'daterange',
10253  proargtypes => 'date date', prosrc => 'range_constructor2' },
10254{ oid => '3942', descr => 'daterange constructor',
10255  proname => 'daterange', proisstrict => 'f', prorettype => 'daterange',
10256  proargtypes => 'date date text', prosrc => 'range_constructor3' },
10257{ oid => '3945', descr => 'int8range constructor',
10258  proname => 'int8range', proisstrict => 'f', prorettype => 'int8range',
10259  proargtypes => 'int8 int8', prosrc => 'range_constructor2' },
10260{ oid => '3946', descr => 'int8range constructor',
10261  proname => 'int8range', proisstrict => 'f', prorettype => 'int8range',
10262  proargtypes => 'int8 int8 text', prosrc => 'range_constructor3' },
10263
10264# functions for multiranges
10265{ oid => '4229', descr => 'I/O',
10266  proname => 'anymultirange_in', provolatile => 's',
10267  prorettype => 'anymultirange', proargtypes => 'cstring oid int4',
10268  prosrc => 'anymultirange_in' },
10269{ oid => '4230', descr => 'I/O',
10270  proname => 'anymultirange_out', provolatile => 's', prorettype => 'cstring',
10271  proargtypes => 'anymultirange', prosrc => 'anymultirange_out' },
10272{ oid => '4231', descr => 'I/O',
10273  proname => 'multirange_in', provolatile => 's', prorettype => 'anymultirange',
10274  proargtypes => 'cstring oid int4', prosrc => 'multirange_in' },
10275{ oid => '4232', descr => 'I/O',
10276  proname => 'multirange_out', provolatile => 's', prorettype => 'cstring',
10277  proargtypes => 'anymultirange', prosrc => 'multirange_out' },
10278{ oid => '4233', descr => 'I/O',
10279  proname => 'multirange_recv', provolatile => 's',
10280  prorettype => 'anymultirange', proargtypes => 'internal oid int4',
10281  prosrc => 'multirange_recv' },
10282{ oid => '4234', descr => 'I/O',
10283  proname => 'multirange_send', provolatile => 's', prorettype => 'bytea',
10284  proargtypes => 'anymultirange', prosrc => 'multirange_send' },
10285{ oid => '4235', descr => 'lower bound of multirange',
10286  proname => 'lower', prorettype => 'anyelement',
10287  proargtypes => 'anymultirange', prosrc => 'multirange_lower' },
10288{ oid => '4236', descr => 'upper bound of multirange',
10289  proname => 'upper', prorettype => 'anyelement',
10290  proargtypes => 'anymultirange', prosrc => 'multirange_upper' },
10291{ oid => '4237', descr => 'is the multirange empty?',
10292  proname => 'isempty', prorettype => 'bool', proargtypes => 'anymultirange',
10293  prosrc => 'multirange_empty' },
10294{ oid => '4238', descr => 'is the multirange\'s lower bound inclusive?',
10295  proname => 'lower_inc', prorettype => 'bool', proargtypes => 'anymultirange',
10296  prosrc => 'multirange_lower_inc' },
10297{ oid => '4239', descr => 'is the multirange\'s upper bound inclusive?',
10298  proname => 'upper_inc', prorettype => 'bool', proargtypes => 'anymultirange',
10299  prosrc => 'multirange_upper_inc' },
10300{ oid => '4240', descr => 'is the multirange\'s lower bound infinite?',
10301  proname => 'lower_inf', prorettype => 'bool', proargtypes => 'anymultirange',
10302  prosrc => 'multirange_lower_inf' },
10303{ oid => '4241', descr => 'is the multirange\'s upper bound infinite?',
10304  proname => 'upper_inf', prorettype => 'bool', proargtypes => 'anymultirange',
10305  prosrc => 'multirange_upper_inf' },
10306{ oid => '4242', descr => 'multirange typanalyze',
10307  proname => 'multirange_typanalyze', provolatile => 's', prorettype => 'bool',
10308  proargtypes => 'internal', prosrc => 'multirange_typanalyze' },
10309{ oid => '4243', descr => 'restriction selectivity for multirange operators',
10310  proname => 'multirangesel', provolatile => 's', prorettype => 'float8',
10311  proargtypes => 'internal oid internal int4', prosrc => 'multirangesel' },
10312{ oid => '4244',
10313  proname => 'multirange_eq', prorettype => 'bool',
10314  proargtypes => 'anymultirange anymultirange', prosrc => 'multirange_eq' },
10315{ oid => '4245',
10316  proname => 'multirange_ne', prorettype => 'bool',
10317  proargtypes => 'anymultirange anymultirange', prosrc => 'multirange_ne' },
10318{ oid => '4246',
10319  proname => 'range_overlaps_multirange', prorettype => 'bool',
10320  proargtypes => 'anyrange anymultirange',
10321  prosrc => 'range_overlaps_multirange' },
10322{ oid => '4247',
10323  proname => 'multirange_overlaps_range', prorettype => 'bool',
10324  proargtypes => 'anymultirange anyrange',
10325  prosrc => 'multirange_overlaps_range' },
10326{ oid => '4248',
10327  proname => 'multirange_overlaps_multirange', prorettype => 'bool',
10328  proargtypes => 'anymultirange anymultirange',
10329  prosrc => 'multirange_overlaps_multirange' },
10330{ oid => '4249',
10331  proname => 'multirange_contains_elem', prorettype => 'bool',
10332  proargtypes => 'anymultirange anyelement',
10333  prosrc => 'multirange_contains_elem' },
10334{ oid => '4250',
10335  proname => 'multirange_contains_range', prorettype => 'bool',
10336  proargtypes => 'anymultirange anyrange',
10337  prosrc => 'multirange_contains_range' },
10338{ oid => '4251',
10339  proname => 'multirange_contains_multirange', prorettype => 'bool',
10340  proargtypes => 'anymultirange anymultirange',
10341  prosrc => 'multirange_contains_multirange' },
10342{ oid => '4252',
10343  proname => 'elem_contained_by_multirange', prorettype => 'bool',
10344  proargtypes => 'anyelement anymultirange',
10345  prosrc => 'elem_contained_by_multirange' },
10346{ oid => '4253',
10347  proname => 'range_contained_by_multirange', prorettype => 'bool',
10348  proargtypes => 'anyrange anymultirange',
10349  prosrc => 'range_contained_by_multirange' },
10350{ oid => '4541',
10351  proname => 'range_contains_multirange', prorettype => 'bool',
10352  proargtypes => 'anyrange anymultirange',
10353  prosrc => 'range_contains_multirange' },
10354{ oid => '4542',
10355  proname => 'multirange_contained_by_range', prorettype => 'bool',
10356  proargtypes => 'anymultirange anyrange',
10357  prosrc => 'multirange_contained_by_range' },
10358{ oid => '4254',
10359  proname => 'multirange_contained_by_multirange', prorettype => 'bool',
10360  proargtypes => 'anymultirange anymultirange',
10361  prosrc => 'multirange_contained_by_multirange' },
10362{ oid => '4255',
10363  proname => 'range_adjacent_multirange', prorettype => 'bool',
10364  proargtypes => 'anyrange anymultirange',
10365  prosrc => 'range_adjacent_multirange' },
10366{ oid => '4256',
10367  proname => 'multirange_adjacent_multirange', prorettype => 'bool',
10368  proargtypes => 'anymultirange anymultirange',
10369  prosrc => 'multirange_adjacent_multirange' },
10370{ oid => '4257',
10371  proname => 'multirange_adjacent_range', prorettype => 'bool',
10372  proargtypes => 'anymultirange anyrange',
10373  prosrc => 'multirange_adjacent_range' },
10374{ oid => '4258',
10375  proname => 'range_before_multirange', prorettype => 'bool',
10376  proargtypes => 'anyrange anymultirange',
10377  prosrc => 'range_before_multirange' },
10378{ oid => '4259',
10379  proname => 'multirange_before_range', prorettype => 'bool',
10380  proargtypes => 'anymultirange anyrange',
10381  prosrc => 'multirange_before_range' },
10382{ oid => '4260',
10383  proname => 'multirange_before_multirange', prorettype => 'bool',
10384  proargtypes => 'anymultirange anymultirange',
10385  prosrc => 'multirange_before_multirange' },
10386{ oid => '4261',
10387  proname => 'range_after_multirange', prorettype => 'bool',
10388  proargtypes => 'anyrange anymultirange', prosrc => 'range_after_multirange' },
10389{ oid => '4262',
10390  proname => 'multirange_after_range', prorettype => 'bool',
10391  proargtypes => 'anymultirange anyrange', prosrc => 'multirange_after_range' },
10392{ oid => '4263',
10393  proname => 'multirange_after_multirange', prorettype => 'bool',
10394  proargtypes => 'anymultirange anymultirange',
10395  prosrc => 'multirange_after_multirange' },
10396{ oid => '4264',
10397  proname => 'range_overleft_multirange', prorettype => 'bool',
10398  proargtypes => 'anyrange anymultirange',
10399  prosrc => 'range_overleft_multirange' },
10400{ oid => '4265',
10401  proname => 'multirange_overleft_range', prorettype => 'bool',
10402  proargtypes => 'anymultirange anyrange',
10403  prosrc => 'multirange_overleft_range' },
10404{ oid => '4266',
10405  proname => 'multirange_overleft_multirange', prorettype => 'bool',
10406  proargtypes => 'anymultirange anymultirange',
10407  prosrc => 'multirange_overleft_multirange' },
10408{ oid => '4267',
10409  proname => 'range_overright_multirange', prorettype => 'bool',
10410  proargtypes => 'anyrange anymultirange',
10411  prosrc => 'range_overright_multirange' },
10412{ oid => '4268',
10413  proname => 'multirange_overright_range', prorettype => 'bool',
10414  proargtypes => 'anymultirange anyrange',
10415  prosrc => 'multirange_overright_range' },
10416{ oid => '4269',
10417  proname => 'multirange_overright_multirange', prorettype => 'bool',
10418  proargtypes => 'anymultirange anymultirange',
10419  prosrc => 'multirange_overright_multirange' },
10420{ oid => '4270',
10421  proname => 'multirange_union', prorettype => 'anymultirange',
10422  proargtypes => 'anymultirange anymultirange', prosrc => 'multirange_union' },
10423{ oid => '4271',
10424  proname => 'multirange_minus', prorettype => 'anymultirange',
10425  proargtypes => 'anymultirange anymultirange', prosrc => 'multirange_minus' },
10426{ oid => '4272',
10427  proname => 'multirange_intersect', prorettype => 'anymultirange',
10428  proargtypes => 'anymultirange anymultirange',
10429  prosrc => 'multirange_intersect' },
10430{ oid => '4273', descr => 'less-equal-greater',
10431  proname => 'multirange_cmp', prorettype => 'int4',
10432  proargtypes => 'anymultirange anymultirange', prosrc => 'multirange_cmp' },
10433{ oid => '4274',
10434  proname => 'multirange_lt', prorettype => 'bool',
10435  proargtypes => 'anymultirange anymultirange', prosrc => 'multirange_lt' },
10436{ oid => '4275',
10437  proname => 'multirange_le', prorettype => 'bool',
10438  proargtypes => 'anymultirange anymultirange', prosrc => 'multirange_le' },
10439{ oid => '4276',
10440  proname => 'multirange_ge', prorettype => 'bool',
10441  proargtypes => 'anymultirange anymultirange', prosrc => 'multirange_ge' },
10442{ oid => '4277',
10443  proname => 'multirange_gt', prorettype => 'bool',
10444  proargtypes => 'anymultirange anymultirange', prosrc => 'multirange_gt' },
10445{ oid => '4278', descr => 'hash a multirange',
10446  proname => 'hash_multirange', prorettype => 'int4',
10447  proargtypes => 'anymultirange', prosrc => 'hash_multirange' },
10448{ oid => '4279', descr => 'hash a multirange',
10449  proname => 'hash_multirange_extended', prorettype => 'int8',
10450  proargtypes => 'anymultirange int8', prosrc => 'hash_multirange_extended' },
10451
10452{ oid => '4280', descr => 'int4multirange constructor',
10453  proname => 'int4multirange', prorettype => 'int4multirange',
10454  proargtypes => '', prosrc => 'multirange_constructor0' },
10455{ oid => '4281', descr => 'int4multirange constructor',
10456  proname => 'int4multirange', prorettype => 'int4multirange',
10457  proargtypes => 'int4range', prosrc => 'multirange_constructor1' },
10458{ oid => '4282', descr => 'int4multirange constructor',
10459  proname => 'int4multirange', provariadic => 'int4range',
10460  prorettype => 'int4multirange', proargtypes => '_int4range',
10461  proallargtypes => '{_int4range}', proargmodes => '{v}',
10462  prosrc => 'multirange_constructor2' },
10463{ oid => '4283', descr => 'nummultirange constructor',
10464  proname => 'nummultirange', prorettype => 'nummultirange', proargtypes => '',
10465  prosrc => 'multirange_constructor0' },
10466{ oid => '4284', descr => 'nummultirange constructor',
10467  proname => 'nummultirange', prorettype => 'nummultirange',
10468  proargtypes => 'numrange', prosrc => 'multirange_constructor1' },
10469{ oid => '4285', descr => 'nummultirange constructor',
10470  proname => 'nummultirange', provariadic => 'numrange',
10471  prorettype => 'nummultirange', proargtypes => '_numrange',
10472  proallargtypes => '{_numrange}', proargmodes => '{v}',
10473  prosrc => 'multirange_constructor2' },
10474{ oid => '4286', descr => 'tsmultirange constructor',
10475  proname => 'tsmultirange', prorettype => 'tsmultirange', proargtypes => '',
10476  prosrc => 'multirange_constructor0' },
10477{ oid => '4287', descr => 'tsmultirange constructor',
10478  proname => 'tsmultirange', prorettype => 'tsmultirange',
10479  proargtypes => 'tsrange', prosrc => 'multirange_constructor1' },
10480{ oid => '4288', descr => 'tsmultirange constructor',
10481  proname => 'tsmultirange', provariadic => 'tsrange',
10482  prorettype => 'tsmultirange', proargtypes => '_tsrange',
10483  proallargtypes => '{_tsrange}', proargmodes => '{v}',
10484  prosrc => 'multirange_constructor2' },
10485{ oid => '4289', descr => 'tstzmultirange constructor',
10486  proname => 'tstzmultirange', prorettype => 'tstzmultirange',
10487  proargtypes => '', prosrc => 'multirange_constructor0' },
10488{ oid => '4290', descr => 'tstzmultirange constructor',
10489  proname => 'tstzmultirange', prorettype => 'tstzmultirange',
10490  proargtypes => 'tstzrange', prosrc => 'multirange_constructor1' },
10491{ oid => '4291', descr => 'tstzmultirange constructor',
10492  proname => 'tstzmultirange', provariadic => 'tstzrange',
10493  prorettype => 'tstzmultirange', proargtypes => '_tstzrange',
10494  proallargtypes => '{_tstzrange}', proargmodes => '{v}',
10495  prosrc => 'multirange_constructor2' },
10496{ oid => '4292', descr => 'datemultirange constructor',
10497  proname => 'datemultirange', prorettype => 'datemultirange',
10498  proargtypes => '', prosrc => 'multirange_constructor0' },
10499{ oid => '4293', descr => 'datemultirange constructor',
10500  proname => 'datemultirange', prorettype => 'datemultirange',
10501  proargtypes => 'daterange', prosrc => 'multirange_constructor1' },
10502{ oid => '4294', descr => 'datemultirange constructor',
10503  proname => 'datemultirange', provariadic => 'daterange',
10504  prorettype => 'datemultirange', proargtypes => '_daterange',
10505  proallargtypes => '{_daterange}', proargmodes => '{v}',
10506  prosrc => 'multirange_constructor2' },
10507{ oid => '4295', descr => 'int8multirange constructor',
10508  proname => 'int8multirange', prorettype => 'int8multirange',
10509  proargtypes => '', prosrc => 'multirange_constructor0' },
10510{ oid => '4296', descr => 'int8multirange constructor',
10511  proname => 'int8multirange', prorettype => 'int8multirange',
10512  proargtypes => 'int8range', prosrc => 'multirange_constructor1' },
10513{ oid => '4297', descr => 'int8multirange constructor',
10514  proname => 'int8multirange', provariadic => 'int8range',
10515  prorettype => 'int8multirange', proargtypes => '_int8range',
10516  proallargtypes => '{_int8range}', proargmodes => '{v}',
10517  prosrc => 'multirange_constructor2' },
10518{ oid => '4298', descr => 'anymultirange cast',
10519  proname => 'multirange', prorettype => 'anymultirange',
10520  proargtypes => 'anyrange', prosrc => 'multirange_constructor1' },
10521{ oid => '4299', descr => 'aggregate transition function',
10522  proname => 'range_agg_transfn', proisstrict => 'f', prorettype => 'internal',
10523  proargtypes => 'internal anyrange', prosrc => 'range_agg_transfn' },
10524{ oid => '4300', descr => 'aggregate final function',
10525  proname => 'range_agg_finalfn', proisstrict => 'f',
10526  prorettype => 'anymultirange', proargtypes => 'internal anyrange',
10527  prosrc => 'range_agg_finalfn' },
10528{ oid => '4301', descr => 'combine aggregate input into a multirange',
10529  proname => 'range_agg', prokind => 'a', proisstrict => 'f',
10530  prorettype => 'anymultirange', proargtypes => 'anyrange',
10531  prosrc => 'aggregate_dummy' },
10532{ oid => '4388', descr => 'range aggregate by intersecting',
10533  proname => 'multirange_intersect_agg_transfn', prorettype => 'anymultirange',
10534  proargtypes => 'anymultirange anymultirange',
10535  prosrc => 'multirange_intersect_agg_transfn' },
10536{ oid => '4389', descr => 'range aggregate by intersecting',
10537  proname => 'range_intersect_agg', prokind => 'a', proisstrict => 'f',
10538  prorettype => 'anymultirange', proargtypes => 'anymultirange',
10539  prosrc => 'aggregate_dummy' },
10540{ oid => '1293', descr => 'expand multirange to set of ranges',
10541  proname => 'unnest', prorows => '100',
10542  proretset => 't', prorettype => 'anyrange', proargtypes => 'anymultirange',
10543  prosrc => 'multirange_unnest' },
10544
10545# date, time, timestamp constructors
10546{ oid => '3846', descr => 'construct date',
10547  proname => 'make_date', prorettype => 'date', proargtypes => 'int4 int4 int4',
10548  proargnames => '{year,month,day}', prosrc => 'make_date' },
10549{ oid => '3847', descr => 'construct time',
10550  proname => 'make_time', prorettype => 'time',
10551  proargtypes => 'int4 int4 float8', proargnames => '{hour,min,sec}',
10552  prosrc => 'make_time' },
10553{ oid => '3461', descr => 'construct timestamp',
10554  proname => 'make_timestamp', prorettype => 'timestamp',
10555  proargtypes => 'int4 int4 int4 int4 int4 float8',
10556  proargnames => '{year,month,mday,hour,min,sec}', prosrc => 'make_timestamp' },
10557{ oid => '3462', descr => 'construct timestamp with time zone',
10558  proname => 'make_timestamptz', provolatile => 's',
10559  prorettype => 'timestamptz', proargtypes => 'int4 int4 int4 int4 int4 float8',
10560  proargnames => '{year,month,mday,hour,min,sec}',
10561  prosrc => 'make_timestamptz' },
10562{ oid => '3463', descr => 'construct timestamp with time zone',
10563  proname => 'make_timestamptz', provolatile => 's',
10564  prorettype => 'timestamptz',
10565  proargtypes => 'int4 int4 int4 int4 int4 float8 text',
10566  proargnames => '{year,month,mday,hour,min,sec,timezone}',
10567  prosrc => 'make_timestamptz_at_timezone' },
10568{ oid => '3464', descr => 'construct interval',
10569  proname => 'make_interval', prorettype => 'interval',
10570  proargtypes => 'int4 int4 int4 int4 int4 int4 float8',
10571  proargnames => '{years,months,weeks,days,hours,mins,secs}',
10572  prosrc => 'make_interval' },
10573
10574# spgist opclasses
10575{ oid => '4018', descr => 'SP-GiST support for quad tree over point',
10576  proname => 'spg_quad_config', prorettype => 'void',
10577  proargtypes => 'internal internal', prosrc => 'spg_quad_config' },
10578{ oid => '4019', descr => 'SP-GiST support for quad tree over point',
10579  proname => 'spg_quad_choose', prorettype => 'void',
10580  proargtypes => 'internal internal', prosrc => 'spg_quad_choose' },
10581{ oid => '4020', descr => 'SP-GiST support for quad tree over point',
10582  proname => 'spg_quad_picksplit', prorettype => 'void',
10583  proargtypes => 'internal internal', prosrc => 'spg_quad_picksplit' },
10584{ oid => '4021', descr => 'SP-GiST support for quad tree over point',
10585  proname => 'spg_quad_inner_consistent', prorettype => 'void',
10586  proargtypes => 'internal internal', prosrc => 'spg_quad_inner_consistent' },
10587{ oid => '4022',
10588  descr => 'SP-GiST support for quad tree and k-d tree over point',
10589  proname => 'spg_quad_leaf_consistent', prorettype => 'bool',
10590  proargtypes => 'internal internal', prosrc => 'spg_quad_leaf_consistent' },
10591
10592{ oid => '4023', descr => 'SP-GiST support for k-d tree over point',
10593  proname => 'spg_kd_config', prorettype => 'void',
10594  proargtypes => 'internal internal', prosrc => 'spg_kd_config' },
10595{ oid => '4024', descr => 'SP-GiST support for k-d tree over point',
10596  proname => 'spg_kd_choose', prorettype => 'void',
10597  proargtypes => 'internal internal', prosrc => 'spg_kd_choose' },
10598{ oid => '4025', descr => 'SP-GiST support for k-d tree over point',
10599  proname => 'spg_kd_picksplit', prorettype => 'void',
10600  proargtypes => 'internal internal', prosrc => 'spg_kd_picksplit' },
10601{ oid => '4026', descr => 'SP-GiST support for k-d tree over point',
10602  proname => 'spg_kd_inner_consistent', prorettype => 'void',
10603  proargtypes => 'internal internal', prosrc => 'spg_kd_inner_consistent' },
10604
10605{ oid => '4027', descr => 'SP-GiST support for radix tree over text',
10606  proname => 'spg_text_config', prorettype => 'void',
10607  proargtypes => 'internal internal', prosrc => 'spg_text_config' },
10608{ oid => '4028', descr => 'SP-GiST support for radix tree over text',
10609  proname => 'spg_text_choose', prorettype => 'void',
10610  proargtypes => 'internal internal', prosrc => 'spg_text_choose' },
10611{ oid => '4029', descr => 'SP-GiST support for radix tree over text',
10612  proname => 'spg_text_picksplit', prorettype => 'void',
10613  proargtypes => 'internal internal', prosrc => 'spg_text_picksplit' },
10614{ oid => '4030', descr => 'SP-GiST support for radix tree over text',
10615  proname => 'spg_text_inner_consistent', prorettype => 'void',
10616  proargtypes => 'internal internal', prosrc => 'spg_text_inner_consistent' },
10617{ oid => '4031', descr => 'SP-GiST support for radix tree over text',
10618  proname => 'spg_text_leaf_consistent', prorettype => 'bool',
10619  proargtypes => 'internal internal', prosrc => 'spg_text_leaf_consistent' },
10620
10621{ oid => '3469', descr => 'SP-GiST support for quad tree over range',
10622  proname => 'spg_range_quad_config', prorettype => 'void',
10623  proargtypes => 'internal internal', prosrc => 'spg_range_quad_config' },
10624{ oid => '3470', descr => 'SP-GiST support for quad tree over range',
10625  proname => 'spg_range_quad_choose', prorettype => 'void',
10626  proargtypes => 'internal internal', prosrc => 'spg_range_quad_choose' },
10627{ oid => '3471', descr => 'SP-GiST support for quad tree over range',
10628  proname => 'spg_range_quad_picksplit', prorettype => 'void',
10629  proargtypes => 'internal internal', prosrc => 'spg_range_quad_picksplit' },
10630{ oid => '3472', descr => 'SP-GiST support for quad tree over range',
10631  proname => 'spg_range_quad_inner_consistent', prorettype => 'void',
10632  proargtypes => 'internal internal',
10633  prosrc => 'spg_range_quad_inner_consistent' },
10634{ oid => '3473', descr => 'SP-GiST support for quad tree over range',
10635  proname => 'spg_range_quad_leaf_consistent', prorettype => 'bool',
10636  proargtypes => 'internal internal',
10637  prosrc => 'spg_range_quad_leaf_consistent' },
10638
10639{ oid => '5012', descr => 'SP-GiST support for quad tree over box',
10640  proname => 'spg_box_quad_config', prorettype => 'void',
10641  proargtypes => 'internal internal', prosrc => 'spg_box_quad_config' },
10642{ oid => '5013', descr => 'SP-GiST support for quad tree over box',
10643  proname => 'spg_box_quad_choose', prorettype => 'void',
10644  proargtypes => 'internal internal', prosrc => 'spg_box_quad_choose' },
10645{ oid => '5014', descr => 'SP-GiST support for quad tree over box',
10646  proname => 'spg_box_quad_picksplit', prorettype => 'void',
10647  proargtypes => 'internal internal', prosrc => 'spg_box_quad_picksplit' },
10648{ oid => '5015', descr => 'SP-GiST support for quad tree over box',
10649  proname => 'spg_box_quad_inner_consistent', prorettype => 'void',
10650  proargtypes => 'internal internal',
10651  prosrc => 'spg_box_quad_inner_consistent' },
10652{ oid => '5016', descr => 'SP-GiST support for quad tree over box',
10653  proname => 'spg_box_quad_leaf_consistent', prorettype => 'bool',
10654  proargtypes => 'internal internal',
10655  prosrc => 'spg_box_quad_leaf_consistent' },
10656
10657{ oid => '5010',
10658  descr => 'SP-GiST support for quad tree over 2-D types represented by their bounding boxes',
10659  proname => 'spg_bbox_quad_config', prorettype => 'void',
10660  proargtypes => 'internal internal', prosrc => 'spg_bbox_quad_config' },
10661{ oid => '5011', descr => 'SP-GiST support for quad tree over polygons',
10662  proname => 'spg_poly_quad_compress', prorettype => 'box',
10663  proargtypes => 'polygon', prosrc => 'spg_poly_quad_compress' },
10664
10665# replication slots
10666{ oid => '3779', descr => 'create a physical replication slot',
10667  proname => 'pg_create_physical_replication_slot', provolatile => 'v',
10668  proparallel => 'u', prorettype => 'record', proargtypes => 'name bool bool',
10669  proallargtypes => '{name,bool,bool,name,pg_lsn}',
10670  proargmodes => '{i,i,i,o,o}',
10671  proargnames => '{slot_name,immediately_reserve,temporary,slot_name,lsn}',
10672  prosrc => 'pg_create_physical_replication_slot' },
10673{ oid => '4220',
10674  descr => 'copy a physical replication slot, changing temporality',
10675  proname => 'pg_copy_physical_replication_slot', provolatile => 'v',
10676  proparallel => 'u', prorettype => 'record', proargtypes => 'name name bool',
10677  proallargtypes => '{name,name,bool,name,pg_lsn}',
10678  proargmodes => '{i,i,i,o,o}',
10679  proargnames => '{src_slot_name,dst_slot_name,temporary,slot_name,lsn}',
10680  prosrc => 'pg_copy_physical_replication_slot_a' },
10681{ oid => '4221', descr => 'copy a physical replication slot',
10682  proname => 'pg_copy_physical_replication_slot', provolatile => 'v',
10683  proparallel => 'u', prorettype => 'record', proargtypes => 'name name',
10684  proallargtypes => '{name,name,name,pg_lsn}', proargmodes => '{i,i,o,o}',
10685  proargnames => '{src_slot_name,dst_slot_name,slot_name,lsn}',
10686  prosrc => 'pg_copy_physical_replication_slot_b' },
10687{ oid => '3780', descr => 'drop a replication slot',
10688  proname => 'pg_drop_replication_slot', provolatile => 'v', proparallel => 'u',
10689  prorettype => 'void', proargtypes => 'name',
10690  prosrc => 'pg_drop_replication_slot' },
10691{ oid => '3781',
10692  descr => 'information about replication slots currently in use',
10693  proname => 'pg_get_replication_slots', prorows => '10', proisstrict => 'f',
10694  proretset => 't', provolatile => 's', prorettype => 'record',
10695  proargtypes => '',
10696  proallargtypes => '{name,name,text,oid,bool,bool,int4,xid,xid,pg_lsn,pg_lsn,text,int8,bool}',
10697  proargmodes => '{o,o,o,o,o,o,o,o,o,o,o,o,o,o}',
10698  proargnames => '{slot_name,plugin,slot_type,datoid,temporary,active,active_pid,xmin,catalog_xmin,restart_lsn,confirmed_flush_lsn,wal_status,safe_wal_size,two_phase}',
10699  prosrc => 'pg_get_replication_slots' },
10700{ oid => '3786', descr => 'set up a logical replication slot',
10701  proname => 'pg_create_logical_replication_slot', provolatile => 'v',
10702  proparallel => 'u', prorettype => 'record',
10703  proargtypes => 'name name bool bool',
10704  proallargtypes => '{name,name,bool,bool,name,pg_lsn}',
10705  proargmodes => '{i,i,i,i,o,o}',
10706  proargnames => '{slot_name,plugin,temporary,twophase,slot_name,lsn}',
10707  prosrc => 'pg_create_logical_replication_slot' },
10708{ oid => '4222',
10709  descr => 'copy a logical replication slot, changing temporality and plugin',
10710  proname => 'pg_copy_logical_replication_slot', provolatile => 'v',
10711  proparallel => 'u', prorettype => 'record',
10712  proargtypes => 'name name bool name',
10713  proallargtypes => '{name,name,bool,name,name,pg_lsn}',
10714  proargmodes => '{i,i,i,i,o,o}',
10715  proargnames => '{src_slot_name,dst_slot_name,temporary,plugin,slot_name,lsn}',
10716  prosrc => 'pg_copy_logical_replication_slot_a' },
10717{ oid => '4223',
10718  descr => 'copy a logical replication slot, changing temporality',
10719  proname => 'pg_copy_logical_replication_slot', provolatile => 'v',
10720  proparallel => 'u', prorettype => 'record', proargtypes => 'name name bool',
10721  proallargtypes => '{name,name,bool,name,pg_lsn}',
10722  proargmodes => '{i,i,i,o,o}',
10723  proargnames => '{src_slot_name,dst_slot_name,temporary,slot_name,lsn}',
10724  prosrc => 'pg_copy_logical_replication_slot_b' },
10725{ oid => '4224', descr => 'copy a logical replication slot',
10726  proname => 'pg_copy_logical_replication_slot', provolatile => 'v',
10727  proparallel => 'u', prorettype => 'record', proargtypes => 'name name',
10728  proallargtypes => '{name,name,name,pg_lsn}', proargmodes => '{i,i,o,o}',
10729  proargnames => '{src_slot_name,dst_slot_name,slot_name,lsn}',
10730  prosrc => 'pg_copy_logical_replication_slot_c' },
10731{ oid => '3782', descr => 'get changes from replication slot',
10732  proname => 'pg_logical_slot_get_changes', procost => '1000',
10733  prorows => '1000', provariadic => 'text', proisstrict => 'f',
10734  proretset => 't', provolatile => 'v', proparallel => 'u',
10735  prorettype => 'record', proargtypes => 'name pg_lsn int4 _text',
10736  proallargtypes => '{name,pg_lsn,int4,_text,pg_lsn,xid,text}',
10737  proargmodes => '{i,i,i,v,o,o,o}',
10738  proargnames => '{slot_name,upto_lsn,upto_nchanges,options,lsn,xid,data}',
10739  prosrc => 'pg_logical_slot_get_changes' },
10740{ oid => '3783', descr => 'get binary changes from replication slot',
10741  proname => 'pg_logical_slot_get_binary_changes', procost => '1000',
10742  prorows => '1000', provariadic => 'text', proisstrict => 'f',
10743  proretset => 't', provolatile => 'v', proparallel => 'u',
10744  prorettype => 'record', proargtypes => 'name pg_lsn int4 _text',
10745  proallargtypes => '{name,pg_lsn,int4,_text,pg_lsn,xid,bytea}',
10746  proargmodes => '{i,i,i,v,o,o,o}',
10747  proargnames => '{slot_name,upto_lsn,upto_nchanges,options,lsn,xid,data}',
10748  prosrc => 'pg_logical_slot_get_binary_changes' },
10749{ oid => '3784', descr => 'peek at changes from replication slot',
10750  proname => 'pg_logical_slot_peek_changes', procost => '1000',
10751  prorows => '1000', provariadic => 'text', proisstrict => 'f',
10752  proretset => 't', provolatile => 'v', proparallel => 'u',
10753  prorettype => 'record', proargtypes => 'name pg_lsn int4 _text',
10754  proallargtypes => '{name,pg_lsn,int4,_text,pg_lsn,xid,text}',
10755  proargmodes => '{i,i,i,v,o,o,o}',
10756  proargnames => '{slot_name,upto_lsn,upto_nchanges,options,lsn,xid,data}',
10757  prosrc => 'pg_logical_slot_peek_changes' },
10758{ oid => '3785', descr => 'peek at binary changes from replication slot',
10759  proname => 'pg_logical_slot_peek_binary_changes', procost => '1000',
10760  prorows => '1000', provariadic => 'text', proisstrict => 'f',
10761  proretset => 't', provolatile => 'v', proparallel => 'u',
10762  prorettype => 'record', proargtypes => 'name pg_lsn int4 _text',
10763  proallargtypes => '{name,pg_lsn,int4,_text,pg_lsn,xid,bytea}',
10764  proargmodes => '{i,i,i,v,o,o,o}',
10765  proargnames => '{slot_name,upto_lsn,upto_nchanges,options,lsn,xid,data}',
10766  prosrc => 'pg_logical_slot_peek_binary_changes' },
10767{ oid => '3878', descr => 'advance logical replication slot',
10768  proname => 'pg_replication_slot_advance', provolatile => 'v',
10769  proparallel => 'u', prorettype => 'record', proargtypes => 'name pg_lsn',
10770  proallargtypes => '{name,pg_lsn,name,pg_lsn}', proargmodes => '{i,i,o,o}',
10771  proargnames => '{slot_name,upto_lsn,slot_name,end_lsn}',
10772  prosrc => 'pg_replication_slot_advance' },
10773{ oid => '3577', descr => 'emit a textual logical decoding message',
10774  proname => 'pg_logical_emit_message', provolatile => 'v', proparallel => 'u',
10775  prorettype => 'pg_lsn', proargtypes => 'bool text text',
10776  prosrc => 'pg_logical_emit_message_text' },
10777{ oid => '3578', descr => 'emit a binary logical decoding message',
10778  proname => 'pg_logical_emit_message', provolatile => 'v', proparallel => 'u',
10779  prorettype => 'pg_lsn', proargtypes => 'bool text bytea',
10780  prosrc => 'pg_logical_emit_message_bytea' },
10781
10782# event triggers
10783{ oid => '3566', descr => 'list objects dropped by the current command',
10784  proname => 'pg_event_trigger_dropped_objects', procost => '10',
10785  prorows => '100', proretset => 't', provolatile => 's', proparallel => 'r',
10786  prorettype => 'record', proargtypes => '',
10787  proallargtypes => '{oid,oid,int4,bool,bool,bool,text,text,text,text,_text,_text}',
10788  proargmodes => '{o,o,o,o,o,o,o,o,o,o,o,o}',
10789  proargnames => '{classid, objid, objsubid, original, normal, is_temporary, object_type, schema_name, object_name, object_identity, address_names, address_args}',
10790  prosrc => 'pg_event_trigger_dropped_objects' },
10791{ oid => '4566', descr => 'return Oid of the table getting rewritten',
10792  proname => 'pg_event_trigger_table_rewrite_oid', provolatile => 's',
10793  proparallel => 'r', prorettype => 'oid', proargtypes => '',
10794  proallargtypes => '{oid}', proargmodes => '{o}', proargnames => '{oid}',
10795  prosrc => 'pg_event_trigger_table_rewrite_oid' },
10796{ oid => '4567', descr => 'return reason code for table getting rewritten',
10797  proname => 'pg_event_trigger_table_rewrite_reason', provolatile => 's',
10798  proparallel => 'r', prorettype => 'int4', proargtypes => '',
10799  prosrc => 'pg_event_trigger_table_rewrite_reason' },
10800{ oid => '4568',
10801  descr => 'list DDL actions being executed by the current command',
10802  proname => 'pg_event_trigger_ddl_commands', procost => '10', prorows => '100',
10803  proretset => 't', provolatile => 's', proparallel => 'r',
10804  prorettype => 'record', proargtypes => '',
10805  proallargtypes => '{oid,oid,int4,text,text,text,text,bool,pg_ddl_command}',
10806  proargmodes => '{o,o,o,o,o,o,o,o,o}',
10807  proargnames => '{classid, objid, objsubid, command_tag, object_type, schema_name, object_identity, in_extension, command}',
10808  prosrc => 'pg_event_trigger_ddl_commands' },
10809
10810# generic transition functions for ordered-set aggregates
10811{ oid => '3970', descr => 'aggregate transition function',
10812  proname => 'ordered_set_transition', proisstrict => 'f',
10813  prorettype => 'internal', proargtypes => 'internal any',
10814  prosrc => 'ordered_set_transition' },
10815{ oid => '3971', descr => 'aggregate transition function',
10816  proname => 'ordered_set_transition_multi', provariadic => 'any',
10817  proisstrict => 'f', prorettype => 'internal', proargtypes => 'internal any',
10818  proallargtypes => '{internal,any}', proargmodes => '{i,v}',
10819  prosrc => 'ordered_set_transition_multi' },
10820
10821# inverse distribution aggregates (and their support functions)
10822{ oid => '3972', descr => 'discrete percentile',
10823  proname => 'percentile_disc', prokind => 'a', proisstrict => 'f',
10824  prorettype => 'anyelement', proargtypes => 'float8 anyelement',
10825  prosrc => 'aggregate_dummy' },
10826{ oid => '3973', descr => 'aggregate final function',
10827  proname => 'percentile_disc_final', proisstrict => 'f',
10828  prorettype => 'anyelement', proargtypes => 'internal float8 anyelement',
10829  prosrc => 'percentile_disc_final' },
10830{ oid => '3974', descr => 'continuous distribution percentile',
10831  proname => 'percentile_cont', prokind => 'a', proisstrict => 'f',
10832  prorettype => 'float8', proargtypes => 'float8 float8',
10833  prosrc => 'aggregate_dummy' },
10834{ oid => '3975', descr => 'aggregate final function',
10835  proname => 'percentile_cont_float8_final', proisstrict => 'f',
10836  prorettype => 'float8', proargtypes => 'internal float8',
10837  prosrc => 'percentile_cont_float8_final' },
10838{ oid => '3976', descr => 'continuous distribution percentile',
10839  proname => 'percentile_cont', prokind => 'a', proisstrict => 'f',
10840  prorettype => 'interval', proargtypes => 'float8 interval',
10841  prosrc => 'aggregate_dummy' },
10842{ oid => '3977', descr => 'aggregate final function',
10843  proname => 'percentile_cont_interval_final', proisstrict => 'f',
10844  prorettype => 'interval', proargtypes => 'internal float8',
10845  prosrc => 'percentile_cont_interval_final' },
10846{ oid => '3978', descr => 'multiple discrete percentiles',
10847  proname => 'percentile_disc', prokind => 'a', proisstrict => 'f',
10848  prorettype => 'anyarray', proargtypes => '_float8 anyelement',
10849  prosrc => 'aggregate_dummy' },
10850{ oid => '3979', descr => 'aggregate final function',
10851  proname => 'percentile_disc_multi_final', proisstrict => 'f',
10852  prorettype => 'anyarray', proargtypes => 'internal _float8 anyelement',
10853  prosrc => 'percentile_disc_multi_final' },
10854{ oid => '3980', descr => 'multiple continuous percentiles',
10855  proname => 'percentile_cont', prokind => 'a', proisstrict => 'f',
10856  prorettype => '_float8', proargtypes => '_float8 float8',
10857  prosrc => 'aggregate_dummy' },
10858{ oid => '3981', descr => 'aggregate final function',
10859  proname => 'percentile_cont_float8_multi_final', proisstrict => 'f',
10860  prorettype => '_float8', proargtypes => 'internal _float8',
10861  prosrc => 'percentile_cont_float8_multi_final' },
10862{ oid => '3982', descr => 'multiple continuous percentiles',
10863  proname => 'percentile_cont', prokind => 'a', proisstrict => 'f',
10864  prorettype => '_interval', proargtypes => '_float8 interval',
10865  prosrc => 'aggregate_dummy' },
10866{ oid => '3983', descr => 'aggregate final function',
10867  proname => 'percentile_cont_interval_multi_final', proisstrict => 'f',
10868  prorettype => '_interval', proargtypes => 'internal _float8',
10869  prosrc => 'percentile_cont_interval_multi_final' },
10870{ oid => '3984', descr => 'most common value',
10871  proname => 'mode', prokind => 'a', proisstrict => 'f',
10872  prorettype => 'anyelement', proargtypes => 'anyelement',
10873  prosrc => 'aggregate_dummy' },
10874{ oid => '3985', descr => 'aggregate final function',
10875  proname => 'mode_final', proisstrict => 'f', prorettype => 'anyelement',
10876  proargtypes => 'internal anyelement', prosrc => 'mode_final' },
10877
10878# hypothetical-set aggregates (and their support functions)
10879{ oid => '3986', descr => 'rank of hypothetical row',
10880  proname => 'rank', provariadic => 'any', prokind => 'a', proisstrict => 'f',
10881  prorettype => 'int8', proargtypes => 'any', proallargtypes => '{any}',
10882  proargmodes => '{v}', prosrc => 'aggregate_dummy' },
10883{ oid => '3987', descr => 'aggregate final function',
10884  proname => 'rank_final', provariadic => 'any', proisstrict => 'f',
10885  prorettype => 'int8', proargtypes => 'internal any',
10886  proallargtypes => '{internal,any}', proargmodes => '{i,v}',
10887  prosrc => 'hypothetical_rank_final' },
10888{ oid => '3988', descr => 'fractional rank of hypothetical row',
10889  proname => 'percent_rank', provariadic => 'any', prokind => 'a',
10890  proisstrict => 'f', prorettype => 'float8', proargtypes => 'any',
10891  proallargtypes => '{any}', proargmodes => '{v}',
10892  prosrc => 'aggregate_dummy' },
10893{ oid => '3989', descr => 'aggregate final function',
10894  proname => 'percent_rank_final', provariadic => 'any', proisstrict => 'f',
10895  prorettype => 'float8', proargtypes => 'internal any',
10896  proallargtypes => '{internal,any}', proargmodes => '{i,v}',
10897  prosrc => 'hypothetical_percent_rank_final' },
10898{ oid => '3990', descr => 'cumulative distribution of hypothetical row',
10899  proname => 'cume_dist', provariadic => 'any', prokind => 'a',
10900  proisstrict => 'f', prorettype => 'float8', proargtypes => 'any',
10901  proallargtypes => '{any}', proargmodes => '{v}',
10902  prosrc => 'aggregate_dummy' },
10903{ oid => '3991', descr => 'aggregate final function',
10904  proname => 'cume_dist_final', provariadic => 'any', proisstrict => 'f',
10905  prorettype => 'float8', proargtypes => 'internal any',
10906  proallargtypes => '{internal,any}', proargmodes => '{i,v}',
10907  prosrc => 'hypothetical_cume_dist_final' },
10908{ oid => '3992', descr => 'rank of hypothetical row without gaps',
10909  proname => 'dense_rank', provariadic => 'any', prokind => 'a',
10910  proisstrict => 'f', prorettype => 'int8', proargtypes => 'any',
10911  proallargtypes => '{any}', proargmodes => '{v}',
10912  prosrc => 'aggregate_dummy' },
10913{ oid => '3993', descr => 'aggregate final function',
10914  proname => 'dense_rank_final', provariadic => 'any', proisstrict => 'f',
10915  prorettype => 'int8', proargtypes => 'internal any',
10916  proallargtypes => '{internal,any}', proargmodes => '{i,v}',
10917  prosrc => 'hypothetical_dense_rank_final' },
10918
10919# pg_upgrade support
10920{ oid => '3582', descr => 'for use by pg_upgrade',
10921  proname => 'binary_upgrade_set_next_pg_type_oid', provolatile => 'v',
10922  proparallel => 'r', prorettype => 'void', proargtypes => 'oid',
10923  prosrc => 'binary_upgrade_set_next_pg_type_oid' },
10924{ oid => '3584', descr => 'for use by pg_upgrade',
10925  proname => 'binary_upgrade_set_next_array_pg_type_oid', provolatile => 'v',
10926  proparallel => 'r', prorettype => 'void', proargtypes => 'oid',
10927  prosrc => 'binary_upgrade_set_next_array_pg_type_oid' },
10928{ oid => '4390', descr => 'for use by pg_upgrade',
10929  proname => 'binary_upgrade_set_next_multirange_pg_type_oid',
10930  provolatile => 'v', proparallel => 'r', prorettype => 'void',
10931  proargtypes => 'oid',
10932  prosrc => 'binary_upgrade_set_next_multirange_pg_type_oid' },
10933{ oid => '4391', descr => 'for use by pg_upgrade',
10934  proname => 'binary_upgrade_set_next_multirange_array_pg_type_oid',
10935  provolatile => 'v', proparallel => 'r', prorettype => 'void',
10936  proargtypes => 'oid',
10937  prosrc => 'binary_upgrade_set_next_multirange_array_pg_type_oid' },
10938{ oid => '3586', descr => 'for use by pg_upgrade',
10939  proname => 'binary_upgrade_set_next_heap_pg_class_oid', provolatile => 'v',
10940  proparallel => 'r', prorettype => 'void', proargtypes => 'oid',
10941  prosrc => 'binary_upgrade_set_next_heap_pg_class_oid' },
10942{ oid => '3587', descr => 'for use by pg_upgrade',
10943  proname => 'binary_upgrade_set_next_index_pg_class_oid', provolatile => 'v',
10944  proparallel => 'r', prorettype => 'void', proargtypes => 'oid',
10945  prosrc => 'binary_upgrade_set_next_index_pg_class_oid' },
10946{ oid => '3588', descr => 'for use by pg_upgrade',
10947  proname => 'binary_upgrade_set_next_toast_pg_class_oid', provolatile => 'v',
10948  proparallel => 'r', prorettype => 'void', proargtypes => 'oid',
10949  prosrc => 'binary_upgrade_set_next_toast_pg_class_oid' },
10950{ oid => '3589', descr => 'for use by pg_upgrade',
10951  proname => 'binary_upgrade_set_next_pg_enum_oid', provolatile => 'v',
10952  proparallel => 'r', prorettype => 'void', proargtypes => 'oid',
10953  prosrc => 'binary_upgrade_set_next_pg_enum_oid' },
10954{ oid => '3590', descr => 'for use by pg_upgrade',
10955  proname => 'binary_upgrade_set_next_pg_authid_oid', provolatile => 'v',
10956  proparallel => 'r', prorettype => 'void', proargtypes => 'oid',
10957  prosrc => 'binary_upgrade_set_next_pg_authid_oid' },
10958{ oid => '3591', descr => 'for use by pg_upgrade',
10959  proname => 'binary_upgrade_create_empty_extension', proisstrict => 'f',
10960  provolatile => 'v', proparallel => 'u', prorettype => 'void',
10961  proargtypes => 'text text bool text _oid _text _text',
10962  prosrc => 'binary_upgrade_create_empty_extension' },
10963{ oid => '4083', descr => 'for use by pg_upgrade',
10964  proname => 'binary_upgrade_set_record_init_privs', provolatile => 'v',
10965  proparallel => 'r', prorettype => 'void', proargtypes => 'bool',
10966  prosrc => 'binary_upgrade_set_record_init_privs' },
10967{ oid => '4101', descr => 'for use by pg_upgrade',
10968  proname => 'binary_upgrade_set_missing_value', provolatile => 'v',
10969  proparallel => 'u', prorettype => 'void', proargtypes => 'oid text text',
10970  prosrc => 'binary_upgrade_set_missing_value' },
10971
10972# conversion functions
10973{ oid => '4302',
10974  descr => 'internal conversion function for KOI8R to MULE_INTERNAL',
10975  proname => 'koi8r_to_mic', prolang => 'c', prorettype => 'int4',
10976  proargtypes => 'int4 int4 cstring internal int4 bool',
10977  prosrc => 'koi8r_to_mic', probin => '$libdir/cyrillic_and_mic' },
10978{ oid => '4303',
10979  descr => 'internal conversion function for MULE_INTERNAL to KOI8R',
10980  proname => 'mic_to_koi8r', prolang => 'c', prorettype => 'int4',
10981  proargtypes => 'int4 int4 cstring internal int4 bool',
10982  prosrc => 'mic_to_koi8r', probin => '$libdir/cyrillic_and_mic' },
10983{ oid => '4304',
10984  descr => 'internal conversion function for ISO-8859-5 to MULE_INTERNAL',
10985  proname => 'iso_to_mic', prolang => 'c', prorettype => 'int4',
10986  proargtypes => 'int4 int4 cstring internal int4 bool', prosrc => 'iso_to_mic',
10987  probin => '$libdir/cyrillic_and_mic' },
10988{ oid => '4305',
10989  descr => 'internal conversion function for MULE_INTERNAL to ISO-8859-5',
10990  proname => 'mic_to_iso', prolang => 'c', prorettype => 'int4',
10991  proargtypes => 'int4 int4 cstring internal int4 bool', prosrc => 'mic_to_iso',
10992  probin => '$libdir/cyrillic_and_mic' },
10993{ oid => '4306',
10994  descr => 'internal conversion function for WIN1251 to MULE_INTERNAL',
10995  proname => 'win1251_to_mic', prolang => 'c', prorettype => 'int4',
10996  proargtypes => 'int4 int4 cstring internal int4 bool',
10997  prosrc => 'win1251_to_mic', probin => '$libdir/cyrillic_and_mic' },
10998{ oid => '4307',
10999  descr => 'internal conversion function for MULE_INTERNAL to WIN1251',
11000  proname => 'mic_to_win1251', prolang => 'c', prorettype => 'int4',
11001  proargtypes => 'int4 int4 cstring internal int4 bool',
11002  prosrc => 'mic_to_win1251', probin => '$libdir/cyrillic_and_mic' },
11003{ oid => '4308',
11004  descr => 'internal conversion function for WIN866 to MULE_INTERNAL',
11005  proname => 'win866_to_mic', prolang => 'c', prorettype => 'int4',
11006  proargtypes => 'int4 int4 cstring internal int4 bool',
11007  prosrc => 'win866_to_mic', probin => '$libdir/cyrillic_and_mic' },
11008{ oid => '4309',
11009  descr => 'internal conversion function for MULE_INTERNAL to WIN866',
11010  proname => 'mic_to_win866', prolang => 'c', prorettype => 'int4',
11011  proargtypes => 'int4 int4 cstring internal int4 bool',
11012  prosrc => 'mic_to_win866', probin => '$libdir/cyrillic_and_mic' },
11013{ oid => '4310', descr => 'internal conversion function for KOI8R to WIN1251',
11014  proname => 'koi8r_to_win1251', prolang => 'c', prorettype => 'int4',
11015  proargtypes => 'int4 int4 cstring internal int4 bool',
11016  prosrc => 'koi8r_to_win1251', probin => '$libdir/cyrillic_and_mic' },
11017{ oid => '4311', descr => 'internal conversion function for WIN1251 to KOI8R',
11018  proname => 'win1251_to_koi8r', prolang => 'c', prorettype => 'int4',
11019  proargtypes => 'int4 int4 cstring internal int4 bool',
11020  prosrc => 'win1251_to_koi8r', probin => '$libdir/cyrillic_and_mic' },
11021{ oid => '4312', descr => 'internal conversion function for KOI8R to WIN866',
11022  proname => 'koi8r_to_win866', prolang => 'c', prorettype => 'int4',
11023  proargtypes => 'int4 int4 cstring internal int4 bool',
11024  prosrc => 'koi8r_to_win866', probin => '$libdir/cyrillic_and_mic' },
11025{ oid => '4313', descr => 'internal conversion function for WIN866 to KOI8R',
11026  proname => 'win866_to_koi8r', prolang => 'c', prorettype => 'int4',
11027  proargtypes => 'int4 int4 cstring internal int4 bool',
11028  prosrc => 'win866_to_koi8r', probin => '$libdir/cyrillic_and_mic' },
11029{ oid => '4314',
11030  descr => 'internal conversion function for WIN866 to WIN1251',
11031  proname => 'win866_to_win1251', prolang => 'c', prorettype => 'int4',
11032  proargtypes => 'int4 int4 cstring internal int4 bool',
11033  prosrc => 'win866_to_win1251', probin => '$libdir/cyrillic_and_mic' },
11034{ oid => '4315',
11035  descr => 'internal conversion function for WIN1251 to WIN866',
11036  proname => 'win1251_to_win866', prolang => 'c', prorettype => 'int4',
11037  proargtypes => 'int4 int4 cstring internal int4 bool',
11038  prosrc => 'win1251_to_win866', probin => '$libdir/cyrillic_and_mic' },
11039{ oid => '4316',
11040  descr => 'internal conversion function for ISO-8859-5 to KOI8R',
11041  proname => 'iso_to_koi8r', prolang => 'c', prorettype => 'int4',
11042  proargtypes => 'int4 int4 cstring internal int4 bool',
11043  prosrc => 'iso_to_koi8r', probin => '$libdir/cyrillic_and_mic' },
11044{ oid => '4317',
11045  descr => 'internal conversion function for KOI8R to ISO-8859-5',
11046  proname => 'koi8r_to_iso', prolang => 'c', prorettype => 'int4',
11047  proargtypes => 'int4 int4 cstring internal int4 bool',
11048  prosrc => 'koi8r_to_iso', probin => '$libdir/cyrillic_and_mic' },
11049{ oid => '4318',
11050  descr => 'internal conversion function for ISO-8859-5 to WIN1251',
11051  proname => 'iso_to_win1251', prolang => 'c', prorettype => 'int4',
11052  proargtypes => 'int4 int4 cstring internal int4 bool',
11053  prosrc => 'iso_to_win1251', probin => '$libdir/cyrillic_and_mic' },
11054{ oid => '4319',
11055  descr => 'internal conversion function for WIN1251 to ISO-8859-5',
11056  proname => 'win1251_to_iso', prolang => 'c', prorettype => 'int4',
11057  proargtypes => 'int4 int4 cstring internal int4 bool',
11058  prosrc => 'win1251_to_iso', probin => '$libdir/cyrillic_and_mic' },
11059{ oid => '4320',
11060  descr => 'internal conversion function for ISO-8859-5 to WIN866',
11061  proname => 'iso_to_win866', prolang => 'c', prorettype => 'int4',
11062  proargtypes => 'int4 int4 cstring internal int4 bool',
11063  prosrc => 'iso_to_win866', probin => '$libdir/cyrillic_and_mic' },
11064{ oid => '4321',
11065  descr => 'internal conversion function for WIN866 to ISO-8859-5',
11066  proname => 'win866_to_iso', prolang => 'c', prorettype => 'int4',
11067  proargtypes => 'int4 int4 cstring internal int4 bool',
11068  prosrc => 'win866_to_iso', probin => '$libdir/cyrillic_and_mic' },
11069{ oid => '4322',
11070  descr => 'internal conversion function for EUC_CN to MULE_INTERNAL',
11071  proname => 'euc_cn_to_mic', prolang => 'c', prorettype => 'int4',
11072  proargtypes => 'int4 int4 cstring internal int4 bool',
11073  prosrc => 'euc_cn_to_mic', probin => '$libdir/euc_cn_and_mic' },
11074{ oid => '4323',
11075  descr => 'internal conversion function for MULE_INTERNAL to EUC_CN',
11076  proname => 'mic_to_euc_cn', prolang => 'c', prorettype => 'int4',
11077  proargtypes => 'int4 int4 cstring internal int4 bool',
11078  prosrc => 'mic_to_euc_cn', probin => '$libdir/euc_cn_and_mic' },
11079{ oid => '4324', descr => 'internal conversion function for EUC_JP to SJIS',
11080  proname => 'euc_jp_to_sjis', prolang => 'c', prorettype => 'int4',
11081  proargtypes => 'int4 int4 cstring internal int4 bool',
11082  prosrc => 'euc_jp_to_sjis', probin => '$libdir/euc_jp_and_sjis' },
11083{ oid => '4325', descr => 'internal conversion function for SJIS to EUC_JP',
11084  proname => 'sjis_to_euc_jp', prolang => 'c', prorettype => 'int4',
11085  proargtypes => 'int4 int4 cstring internal int4 bool',
11086  prosrc => 'sjis_to_euc_jp', probin => '$libdir/euc_jp_and_sjis' },
11087{ oid => '4326',
11088  descr => 'internal conversion function for EUC_JP to MULE_INTERNAL',
11089  proname => 'euc_jp_to_mic', prolang => 'c', prorettype => 'int4',
11090  proargtypes => 'int4 int4 cstring internal int4 bool',
11091  prosrc => 'euc_jp_to_mic', probin => '$libdir/euc_jp_and_sjis' },
11092{ oid => '4327',
11093  descr => 'internal conversion function for SJIS to MULE_INTERNAL',
11094  proname => 'sjis_to_mic', prolang => 'c', prorettype => 'int4',
11095  proargtypes => 'int4 int4 cstring internal int4 bool',
11096  prosrc => 'sjis_to_mic', probin => '$libdir/euc_jp_and_sjis' },
11097{ oid => '4328',
11098  descr => 'internal conversion function for MULE_INTERNAL to EUC_JP',
11099  proname => 'mic_to_euc_jp', prolang => 'c', prorettype => 'int4',
11100  proargtypes => 'int4 int4 cstring internal int4 bool',
11101  prosrc => 'mic_to_euc_jp', probin => '$libdir/euc_jp_and_sjis' },
11102{ oid => '4329',
11103  descr => 'internal conversion function for MULE_INTERNAL to SJIS',
11104  proname => 'mic_to_sjis', prolang => 'c', prorettype => 'int4',
11105  proargtypes => 'int4 int4 cstring internal int4 bool',
11106  prosrc => 'mic_to_sjis', probin => '$libdir/euc_jp_and_sjis' },
11107{ oid => '4330',
11108  descr => 'internal conversion function for EUC_KR to MULE_INTERNAL',
11109  proname => 'euc_kr_to_mic', prolang => 'c', prorettype => 'int4',
11110  proargtypes => 'int4 int4 cstring internal int4 bool',
11111  prosrc => 'euc_kr_to_mic', probin => '$libdir/euc_kr_and_mic' },
11112{ oid => '4331',
11113  descr => 'internal conversion function for MULE_INTERNAL to EUC_KR',
11114  proname => 'mic_to_euc_kr', prolang => 'c', prorettype => 'int4',
11115  proargtypes => 'int4 int4 cstring internal int4 bool',
11116  prosrc => 'mic_to_euc_kr', probin => '$libdir/euc_kr_and_mic' },
11117{ oid => '4332', descr => 'internal conversion function for EUC_TW to BIG5',
11118  proname => 'euc_tw_to_big5', prolang => 'c', prorettype => 'int4',
11119  proargtypes => 'int4 int4 cstring internal int4 bool',
11120  prosrc => 'euc_tw_to_big5', probin => '$libdir/euc_tw_and_big5' },
11121{ oid => '4333', descr => 'internal conversion function for BIG5 to EUC_TW',
11122  proname => 'big5_to_euc_tw', prolang => 'c', prorettype => 'int4',
11123  proargtypes => 'int4 int4 cstring internal int4 bool',
11124  prosrc => 'big5_to_euc_tw', probin => '$libdir/euc_tw_and_big5' },
11125{ oid => '4334',
11126  descr => 'internal conversion function for EUC_TW to MULE_INTERNAL',
11127  proname => 'euc_tw_to_mic', prolang => 'c', prorettype => 'int4',
11128  proargtypes => 'int4 int4 cstring internal int4 bool',
11129  prosrc => 'euc_tw_to_mic', probin => '$libdir/euc_tw_and_big5' },
11130{ oid => '4335',
11131  descr => 'internal conversion function for BIG5 to MULE_INTERNAL',
11132  proname => 'big5_to_mic', prolang => 'c', prorettype => 'int4',
11133  proargtypes => 'int4 int4 cstring internal int4 bool',
11134  prosrc => 'big5_to_mic', probin => '$libdir/euc_tw_and_big5' },
11135{ oid => '4336',
11136  descr => 'internal conversion function for MULE_INTERNAL to EUC_TW',
11137  proname => 'mic_to_euc_tw', prolang => 'c', prorettype => 'int4',
11138  proargtypes => 'int4 int4 cstring internal int4 bool',
11139  prosrc => 'mic_to_euc_tw', probin => '$libdir/euc_tw_and_big5' },
11140{ oid => '4337',
11141  descr => 'internal conversion function for MULE_INTERNAL to BIG5',
11142  proname => 'mic_to_big5', prolang => 'c', prorettype => 'int4',
11143  proargtypes => 'int4 int4 cstring internal int4 bool',
11144  prosrc => 'mic_to_big5', probin => '$libdir/euc_tw_and_big5' },
11145{ oid => '4338',
11146  descr => 'internal conversion function for LATIN2 to MULE_INTERNAL',
11147  proname => 'latin2_to_mic', prolang => 'c', prorettype => 'int4',
11148  proargtypes => 'int4 int4 cstring internal int4 bool',
11149  prosrc => 'latin2_to_mic', probin => '$libdir/latin2_and_win1250' },
11150{ oid => '4339',
11151  descr => 'internal conversion function for MULE_INTERNAL to LATIN2',
11152  proname => 'mic_to_latin2', prolang => 'c', prorettype => 'int4',
11153  proargtypes => 'int4 int4 cstring internal int4 bool',
11154  prosrc => 'mic_to_latin2', probin => '$libdir/latin2_and_win1250' },
11155{ oid => '4340',
11156  descr => 'internal conversion function for WIN1250 to MULE_INTERNAL',
11157  proname => 'win1250_to_mic', prolang => 'c', prorettype => 'int4',
11158  proargtypes => 'int4 int4 cstring internal int4 bool',
11159  prosrc => 'win1250_to_mic', probin => '$libdir/latin2_and_win1250' },
11160{ oid => '4341',
11161  descr => 'internal conversion function for MULE_INTERNAL to WIN1250',
11162  proname => 'mic_to_win1250', prolang => 'c', prorettype => 'int4',
11163  proargtypes => 'int4 int4 cstring internal int4 bool',
11164  prosrc => 'mic_to_win1250', probin => '$libdir/latin2_and_win1250' },
11165{ oid => '4342',
11166  descr => 'internal conversion function for LATIN2 to WIN1250',
11167  proname => 'latin2_to_win1250', prolang => 'c', prorettype => 'int4',
11168  proargtypes => 'int4 int4 cstring internal int4 bool',
11169  prosrc => 'latin2_to_win1250', probin => '$libdir/latin2_and_win1250' },
11170{ oid => '4343',
11171  descr => 'internal conversion function for WIN1250 to LATIN2',
11172  proname => 'win1250_to_latin2', prolang => 'c', prorettype => 'int4',
11173  proargtypes => 'int4 int4 cstring internal int4 bool',
11174  prosrc => 'win1250_to_latin2', probin => '$libdir/latin2_and_win1250' },
11175{ oid => '4344',
11176  descr => 'internal conversion function for LATIN1 to MULE_INTERNAL',
11177  proname => 'latin1_to_mic', prolang => 'c', prorettype => 'int4',
11178  proargtypes => 'int4 int4 cstring internal int4 bool',
11179  prosrc => 'latin1_to_mic', probin => '$libdir/latin_and_mic' },
11180{ oid => '4345',
11181  descr => 'internal conversion function for MULE_INTERNAL to LATIN1',
11182  proname => 'mic_to_latin1', prolang => 'c', prorettype => 'int4',
11183  proargtypes => 'int4 int4 cstring internal int4 bool',
11184  prosrc => 'mic_to_latin1', probin => '$libdir/latin_and_mic' },
11185{ oid => '4346',
11186  descr => 'internal conversion function for LATIN3 to MULE_INTERNAL',
11187  proname => 'latin3_to_mic', prolang => 'c', prorettype => 'int4',
11188  proargtypes => 'int4 int4 cstring internal int4 bool',
11189  prosrc => 'latin3_to_mic', probin => '$libdir/latin_and_mic' },
11190{ oid => '4347',
11191  descr => 'internal conversion function for MULE_INTERNAL to LATIN3',
11192  proname => 'mic_to_latin3', prolang => 'c', prorettype => 'int4',
11193  proargtypes => 'int4 int4 cstring internal int4 bool',
11194  prosrc => 'mic_to_latin3', probin => '$libdir/latin_and_mic' },
11195{ oid => '4348',
11196  descr => 'internal conversion function for LATIN4 to MULE_INTERNAL',
11197  proname => 'latin4_to_mic', prolang => 'c', prorettype => 'int4',
11198  proargtypes => 'int4 int4 cstring internal int4 bool',
11199  prosrc => 'latin4_to_mic', probin => '$libdir/latin_and_mic' },
11200{ oid => '4349',
11201  descr => 'internal conversion function for MULE_INTERNAL to LATIN4',
11202  proname => 'mic_to_latin4', prolang => 'c', prorettype => 'int4',
11203  proargtypes => 'int4 int4 cstring internal int4 bool',
11204  prosrc => 'mic_to_latin4', probin => '$libdir/latin_and_mic' },
11205{ oid => '4352', descr => 'internal conversion function for BIG5 to UTF8',
11206  proname => 'big5_to_utf8', prolang => 'c', prorettype => 'int4',
11207  proargtypes => 'int4 int4 cstring internal int4 bool',
11208  prosrc => 'big5_to_utf8', probin => '$libdir/utf8_and_big5' },
11209{ oid => '4353', descr => 'internal conversion function for UTF8 to BIG5',
11210  proname => 'utf8_to_big5', prolang => 'c', prorettype => 'int4',
11211  proargtypes => 'int4 int4 cstring internal int4 bool',
11212  prosrc => 'utf8_to_big5', probin => '$libdir/utf8_and_big5' },
11213{ oid => '4354', descr => 'internal conversion function for UTF8 to KOI8R',
11214  proname => 'utf8_to_koi8r', prolang => 'c', prorettype => 'int4',
11215  proargtypes => 'int4 int4 cstring internal int4 bool',
11216  prosrc => 'utf8_to_koi8r', probin => '$libdir/utf8_and_cyrillic' },
11217{ oid => '4355', descr => 'internal conversion function for KOI8R to UTF8',
11218  proname => 'koi8r_to_utf8', prolang => 'c', prorettype => 'int4',
11219  proargtypes => 'int4 int4 cstring internal int4 bool',
11220  prosrc => 'koi8r_to_utf8', probin => '$libdir/utf8_and_cyrillic' },
11221{ oid => '4356', descr => 'internal conversion function for UTF8 to KOI8U',
11222  proname => 'utf8_to_koi8u', prolang => 'c', prorettype => 'int4',
11223  proargtypes => 'int4 int4 cstring internal int4 bool',
11224  prosrc => 'utf8_to_koi8u', probin => '$libdir/utf8_and_cyrillic' },
11225{ oid => '4357', descr => 'internal conversion function for KOI8U to UTF8',
11226  proname => 'koi8u_to_utf8', prolang => 'c', prorettype => 'int4',
11227  proargtypes => 'int4 int4 cstring internal int4 bool',
11228  prosrc => 'koi8u_to_utf8', probin => '$libdir/utf8_and_cyrillic' },
11229{ oid => '4358', descr => 'internal conversion function for UTF8 to WIN',
11230  proname => 'utf8_to_win', prolang => 'c', prorettype => 'int4',
11231  proargtypes => 'int4 int4 cstring internal int4 bool',
11232  prosrc => 'utf8_to_win', probin => '$libdir/utf8_and_win' },
11233{ oid => '4359', descr => 'internal conversion function for WIN to UTF8',
11234  proname => 'win_to_utf8', prolang => 'c', prorettype => 'int4',
11235  proargtypes => 'int4 int4 cstring internal int4 bool',
11236  prosrc => 'win_to_utf8', probin => '$libdir/utf8_and_win' },
11237{ oid => '4360', descr => 'internal conversion function for EUC_CN to UTF8',
11238  proname => 'euc_cn_to_utf8', prolang => 'c', prorettype => 'int4',
11239  proargtypes => 'int4 int4 cstring internal int4 bool',
11240  prosrc => 'euc_cn_to_utf8', probin => '$libdir/utf8_and_euc_cn' },
11241{ oid => '4361', descr => 'internal conversion function for UTF8 to EUC_CN',
11242  proname => 'utf8_to_euc_cn', prolang => 'c', prorettype => 'int4',
11243  proargtypes => 'int4 int4 cstring internal int4 bool',
11244  prosrc => 'utf8_to_euc_cn', probin => '$libdir/utf8_and_euc_cn' },
11245{ oid => '4362', descr => 'internal conversion function for EUC_JP to UTF8',
11246  proname => 'euc_jp_to_utf8', prolang => 'c', prorettype => 'int4',
11247  proargtypes => 'int4 int4 cstring internal int4 bool',
11248  prosrc => 'euc_jp_to_utf8', probin => '$libdir/utf8_and_euc_jp' },
11249{ oid => '4363', descr => 'internal conversion function for UTF8 to EUC_JP',
11250  proname => 'utf8_to_euc_jp', prolang => 'c', prorettype => 'int4',
11251  proargtypes => 'int4 int4 cstring internal int4 bool',
11252  prosrc => 'utf8_to_euc_jp', probin => '$libdir/utf8_and_euc_jp' },
11253{ oid => '4364', descr => 'internal conversion function for EUC_KR to UTF8',
11254  proname => 'euc_kr_to_utf8', prolang => 'c', prorettype => 'int4',
11255  proargtypes => 'int4 int4 cstring internal int4 bool',
11256  prosrc => 'euc_kr_to_utf8', probin => '$libdir/utf8_and_euc_kr' },
11257{ oid => '4365', descr => 'internal conversion function for UTF8 to EUC_KR',
11258  proname => 'utf8_to_euc_kr', prolang => 'c', prorettype => 'int4',
11259  proargtypes => 'int4 int4 cstring internal int4 bool',
11260  prosrc => 'utf8_to_euc_kr', probin => '$libdir/utf8_and_euc_kr' },
11261{ oid => '4366', descr => 'internal conversion function for EUC_TW to UTF8',
11262  proname => 'euc_tw_to_utf8', prolang => 'c', prorettype => 'int4',
11263  proargtypes => 'int4 int4 cstring internal int4 bool',
11264  prosrc => 'euc_tw_to_utf8', probin => '$libdir/utf8_and_euc_tw' },
11265{ oid => '4367', descr => 'internal conversion function for UTF8 to EUC_TW',
11266  proname => 'utf8_to_euc_tw', prolang => 'c', prorettype => 'int4',
11267  proargtypes => 'int4 int4 cstring internal int4 bool',
11268  prosrc => 'utf8_to_euc_tw', probin => '$libdir/utf8_and_euc_tw' },
11269{ oid => '4368', descr => 'internal conversion function for GB18030 to UTF8',
11270  proname => 'gb18030_to_utf8', prolang => 'c', prorettype => 'int4',
11271  proargtypes => 'int4 int4 cstring internal int4 bool',
11272  prosrc => 'gb18030_to_utf8', probin => '$libdir/utf8_and_gb18030' },
11273{ oid => '4369', descr => 'internal conversion function for UTF8 to GB18030',
11274  proname => 'utf8_to_gb18030', prolang => 'c', prorettype => 'int4',
11275  proargtypes => 'int4 int4 cstring internal int4 bool',
11276  prosrc => 'utf8_to_gb18030', probin => '$libdir/utf8_and_gb18030' },
11277{ oid => '4370', descr => 'internal conversion function for GBK to UTF8',
11278  proname => 'gbk_to_utf8', prolang => 'c', prorettype => 'int4',
11279  proargtypes => 'int4 int4 cstring internal int4 bool',
11280  prosrc => 'gbk_to_utf8', probin => '$libdir/utf8_and_gbk' },
11281{ oid => '4371', descr => 'internal conversion function for UTF8 to GBK',
11282  proname => 'utf8_to_gbk', prolang => 'c', prorettype => 'int4',
11283  proargtypes => 'int4 int4 cstring internal int4 bool',
11284  prosrc => 'utf8_to_gbk', probin => '$libdir/utf8_and_gbk' },
11285{ oid => '4372',
11286  descr => 'internal conversion function for UTF8 to ISO-8859 2-16',
11287  proname => 'utf8_to_iso8859', prolang => 'c', prorettype => 'int4',
11288  proargtypes => 'int4 int4 cstring internal int4 bool',
11289  prosrc => 'utf8_to_iso8859', probin => '$libdir/utf8_and_iso8859' },
11290{ oid => '4373',
11291  descr => 'internal conversion function for ISO-8859 2-16 to UTF8',
11292  proname => 'iso8859_to_utf8', prolang => 'c', prorettype => 'int4',
11293  proargtypes => 'int4 int4 cstring internal int4 bool',
11294  prosrc => 'iso8859_to_utf8', probin => '$libdir/utf8_and_iso8859' },
11295{ oid => '4374', descr => 'internal conversion function for LATIN1 to UTF8',
11296  proname => 'iso8859_1_to_utf8', prolang => 'c', prorettype => 'int4',
11297  proargtypes => 'int4 int4 cstring internal int4 bool',
11298  prosrc => 'iso8859_1_to_utf8', probin => '$libdir/utf8_and_iso8859_1' },
11299{ oid => '4375', descr => 'internal conversion function for UTF8 to LATIN1',
11300  proname => 'utf8_to_iso8859_1', prolang => 'c', prorettype => 'int4',
11301  proargtypes => 'int4 int4 cstring internal int4 bool',
11302  prosrc => 'utf8_to_iso8859_1', probin => '$libdir/utf8_and_iso8859_1' },
11303{ oid => '4376', descr => 'internal conversion function for JOHAB to UTF8',
11304  proname => 'johab_to_utf8', prolang => 'c', prorettype => 'int4',
11305  proargtypes => 'int4 int4 cstring internal int4 bool',
11306  prosrc => 'johab_to_utf8', probin => '$libdir/utf8_and_johab' },
11307{ oid => '4377', descr => 'internal conversion function for UTF8 to JOHAB',
11308  proname => 'utf8_to_johab', prolang => 'c', prorettype => 'int4',
11309  proargtypes => 'int4 int4 cstring internal int4 bool',
11310  prosrc => 'utf8_to_johab', probin => '$libdir/utf8_and_johab' },
11311{ oid => '4378', descr => 'internal conversion function for SJIS to UTF8',
11312  proname => 'sjis_to_utf8', prolang => 'c', prorettype => 'int4',
11313  proargtypes => 'int4 int4 cstring internal int4 bool',
11314  prosrc => 'sjis_to_utf8', probin => '$libdir/utf8_and_sjis' },
11315{ oid => '4379', descr => 'internal conversion function for UTF8 to SJIS',
11316  proname => 'utf8_to_sjis', prolang => 'c', prorettype => 'int4',
11317  proargtypes => 'int4 int4 cstring internal int4 bool',
11318  prosrc => 'utf8_to_sjis', probin => '$libdir/utf8_and_sjis' },
11319{ oid => '4380', descr => 'internal conversion function for UHC to UTF8',
11320  proname => 'uhc_to_utf8', prolang => 'c', prorettype => 'int4',
11321  proargtypes => 'int4 int4 cstring internal int4 bool',
11322  prosrc => 'uhc_to_utf8', probin => '$libdir/utf8_and_uhc' },
11323{ oid => '4381', descr => 'internal conversion function for UTF8 to UHC',
11324  proname => 'utf8_to_uhc', prolang => 'c', prorettype => 'int4',
11325  proargtypes => 'int4 int4 cstring internal int4 bool',
11326  prosrc => 'utf8_to_uhc', probin => '$libdir/utf8_and_uhc' },
11327{ oid => '4382',
11328  descr => 'internal conversion function for EUC_JIS_2004 to UTF8',
11329  proname => 'euc_jis_2004_to_utf8', prolang => 'c', prorettype => 'int4',
11330  proargtypes => 'int4 int4 cstring internal int4 bool',
11331  prosrc => 'euc_jis_2004_to_utf8', probin => '$libdir/utf8_and_euc2004' },
11332{ oid => '4383',
11333  descr => 'internal conversion function for UTF8 to EUC_JIS_2004',
11334  proname => 'utf8_to_euc_jis_2004', prolang => 'c', prorettype => 'int4',
11335  proargtypes => 'int4 int4 cstring internal int4 bool',
11336  prosrc => 'utf8_to_euc_jis_2004', probin => '$libdir/utf8_and_euc2004' },
11337{ oid => '4384',
11338  descr => 'internal conversion function for SHIFT_JIS_2004 to UTF8',
11339  proname => 'shift_jis_2004_to_utf8', prolang => 'c', prorettype => 'int4',
11340  proargtypes => 'int4 int4 cstring internal int4 bool',
11341  prosrc => 'shift_jis_2004_to_utf8', probin => '$libdir/utf8_and_sjis2004' },
11342{ oid => '4385',
11343  descr => 'internal conversion function for UTF8 to SHIFT_JIS_2004',
11344  proname => 'utf8_to_shift_jis_2004', prolang => 'c', prorettype => 'int4',
11345  proargtypes => 'int4 int4 cstring internal int4 bool',
11346  prosrc => 'utf8_to_shift_jis_2004', probin => '$libdir/utf8_and_sjis2004' },
11347{ oid => '4386',
11348  descr => 'internal conversion function for EUC_JIS_2004 to SHIFT_JIS_2004',
11349  proname => 'euc_jis_2004_to_shift_jis_2004', prolang => 'c',
11350  prorettype => 'int4', proargtypes => 'int4 int4 cstring internal int4 bool',
11351  prosrc => 'euc_jis_2004_to_shift_jis_2004',
11352  probin => '$libdir/euc2004_sjis2004' },
11353{ oid => '4387',
11354  descr => 'internal conversion function for SHIFT_JIS_2004 to EUC_JIS_2004',
11355  proname => 'shift_jis_2004_to_euc_jis_2004', prolang => 'c',
11356  prorettype => 'int4', proargtypes => 'int4 int4 cstring internal int4 bool',
11357  prosrc => 'shift_jis_2004_to_euc_jis_2004',
11358  probin => '$libdir/euc2004_sjis2004' },
11359
11360{ oid => '5040',
11361  descr => 'restriction selectivity for generic matching operators',
11362  proname => 'matchingsel', provolatile => 's', prorettype => 'float8',
11363  proargtypes => 'internal oid internal int4', prosrc => 'matchingsel' },
11364{ oid => '5041', descr => 'join selectivity for generic matching operators',
11365  proname => 'matchingjoinsel', provolatile => 's', prorettype => 'float8',
11366  proargtypes => 'internal oid internal int2 internal',
11367  prosrc => 'matchingjoinsel' },
11368
11369# replication/origin.h
11370{ oid => '6003', descr => 'create a replication origin',
11371  proname => 'pg_replication_origin_create', provolatile => 'v',
11372  proparallel => 'u', prorettype => 'oid', proargtypes => 'text',
11373  prosrc => 'pg_replication_origin_create' },
11374
11375{ oid => '6004', descr => 'drop replication origin identified by its name',
11376  proname => 'pg_replication_origin_drop', provolatile => 'v',
11377  proparallel => 'u', prorettype => 'void', proargtypes => 'text',
11378  prosrc => 'pg_replication_origin_drop' },
11379
11380{ oid => '6005',
11381  descr => 'translate the replication origin\'s name to its id',
11382  proname => 'pg_replication_origin_oid', provolatile => 's',
11383  prorettype => 'oid', proargtypes => 'text',
11384  prosrc => 'pg_replication_origin_oid' },
11385
11386{ oid => '6006',
11387  descr => 'configure session to maintain replication progress tracking for the passed in origin',
11388  proname => 'pg_replication_origin_session_setup', provolatile => 'v',
11389  proparallel => 'u', prorettype => 'void', proargtypes => 'text',
11390  prosrc => 'pg_replication_origin_session_setup' },
11391
11392{ oid => '6007', descr => 'teardown configured replication progress tracking',
11393  proname => 'pg_replication_origin_session_reset', provolatile => 'v',
11394  proparallel => 'u', prorettype => 'void', proargtypes => '',
11395  prosrc => 'pg_replication_origin_session_reset' },
11396
11397{ oid => '6008',
11398  descr => 'is a replication origin configured in this session',
11399  proname => 'pg_replication_origin_session_is_setup', provolatile => 'v',
11400  proparallel => 'r', prorettype => 'bool', proargtypes => '',
11401  prosrc => 'pg_replication_origin_session_is_setup' },
11402
11403{ oid => '6009',
11404  descr => 'get the replication progress of the current session',
11405  proname => 'pg_replication_origin_session_progress', provolatile => 'v',
11406  proparallel => 'u', prorettype => 'pg_lsn', proargtypes => 'bool',
11407  prosrc => 'pg_replication_origin_session_progress' },
11408
11409{ oid => '6010', descr => 'setup the transaction\'s origin lsn and timestamp',
11410  proname => 'pg_replication_origin_xact_setup', provolatile => 'v',
11411  proparallel => 'r', prorettype => 'void', proargtypes => 'pg_lsn timestamptz',
11412  prosrc => 'pg_replication_origin_xact_setup' },
11413
11414{ oid => '6011', descr => 'reset the transaction\'s origin lsn and timestamp',
11415  proname => 'pg_replication_origin_xact_reset', provolatile => 'v',
11416  proparallel => 'r', prorettype => 'void', proargtypes => '',
11417  prosrc => 'pg_replication_origin_xact_reset' },
11418
11419{ oid => '6012', descr => 'advance replication origin to specific location',
11420  proname => 'pg_replication_origin_advance', provolatile => 'v',
11421  proparallel => 'u', prorettype => 'void', proargtypes => 'text pg_lsn',
11422  prosrc => 'pg_replication_origin_advance' },
11423
11424{ oid => '6013',
11425  descr => 'get an individual replication origin\'s replication progress',
11426  proname => 'pg_replication_origin_progress', provolatile => 'v',
11427  proparallel => 'u', prorettype => 'pg_lsn', proargtypes => 'text bool',
11428  prosrc => 'pg_replication_origin_progress' },
11429
11430{ oid => '6014', descr => 'get progress for all replication origins',
11431  proname => 'pg_show_replication_origin_status', prorows => '100',
11432  proisstrict => 'f', proretset => 't', provolatile => 'v', proparallel => 'r',
11433  prorettype => 'record', proargtypes => '',
11434  proallargtypes => '{oid,text,pg_lsn,pg_lsn}', proargmodes => '{o,o,o,o}',
11435  proargnames => '{local_id, external_id, remote_lsn, local_lsn}',
11436  prosrc => 'pg_show_replication_origin_status' },
11437
11438# publications
11439{ oid => '6119', descr => 'get OIDs of tables in a publication',
11440  proname => 'pg_get_publication_tables', prorows => '1000', proretset => 't',
11441  provolatile => 's', prorettype => 'oid', proargtypes => 'text',
11442  proallargtypes => '{text,oid}', proargmodes => '{i,o}',
11443  proargnames => '{pubname,relid}', prosrc => 'pg_get_publication_tables' },
11444{ oid => '6121',
11445  descr => 'returns whether a relation can be part of a publication',
11446  proname => 'pg_relation_is_publishable', provolatile => 's',
11447  prorettype => 'bool', proargtypes => 'regclass',
11448  prosrc => 'pg_relation_is_publishable' },
11449
11450# rls
11451{ oid => '3298',
11452  descr => 'row security for current context active on table by table oid',
11453  proname => 'row_security_active', provolatile => 's', prorettype => 'bool',
11454  proargtypes => 'oid', prosrc => 'row_security_active' },
11455{ oid => '3299',
11456  descr => 'row security for current context active on table by table name',
11457  proname => 'row_security_active', provolatile => 's', prorettype => 'bool',
11458  proargtypes => 'text', prosrc => 'row_security_active_name' },
11459
11460# pg_config
11461{ oid => '3400', descr => 'pg_config binary as a function',
11462  proname => 'pg_config', prorows => '23', proretset => 't', provolatile => 's',
11463  proparallel => 'r', prorettype => 'record', proargtypes => '',
11464  proallargtypes => '{text,text}', proargmodes => '{o,o}',
11465  proargnames => '{name,setting}', prosrc => 'pg_config' },
11466
11467# pg_controldata related functions
11468{ oid => '3441',
11469  descr => 'pg_controldata general state information as a function',
11470  proname => 'pg_control_system', provolatile => 'v', prorettype => 'record',
11471  proargtypes => '', proallargtypes => '{int4,int4,int8,timestamptz}',
11472  proargmodes => '{o,o,o,o}',
11473  proargnames => '{pg_control_version,catalog_version_no,system_identifier,pg_control_last_modified}',
11474  prosrc => 'pg_control_system' },
11475
11476{ oid => '3442',
11477  descr => 'pg_controldata checkpoint state information as a function',
11478  proname => 'pg_control_checkpoint', provolatile => 'v',
11479  prorettype => 'record', proargtypes => '',
11480  proallargtypes => '{pg_lsn,pg_lsn,text,int4,int4,bool,text,oid,xid,xid,xid,oid,xid,xid,oid,xid,xid,timestamptz}',
11481  proargmodes => '{o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o}',
11482  proargnames => '{checkpoint_lsn,redo_lsn,redo_wal_file,timeline_id,prev_timeline_id,full_page_writes,next_xid,next_oid,next_multixact_id,next_multi_offset,oldest_xid,oldest_xid_dbid,oldest_active_xid,oldest_multi_xid,oldest_multi_dbid,oldest_commit_ts_xid,newest_commit_ts_xid,checkpoint_time}',
11483  prosrc => 'pg_control_checkpoint' },
11484
11485{ oid => '3443',
11486  descr => 'pg_controldata recovery state information as a function',
11487  proname => 'pg_control_recovery', provolatile => 'v', prorettype => 'record',
11488  proargtypes => '', proallargtypes => '{pg_lsn,int4,pg_lsn,pg_lsn,bool}',
11489  proargmodes => '{o,o,o,o,o}',
11490  proargnames => '{min_recovery_end_lsn,min_recovery_end_timeline,backup_start_lsn,backup_end_lsn,end_of_backup_record_required}',
11491  prosrc => 'pg_control_recovery' },
11492
11493{ oid => '3444',
11494  descr => 'pg_controldata init state information as a function',
11495  proname => 'pg_control_init', provolatile => 'v', prorettype => 'record',
11496  proargtypes => '',
11497  proallargtypes => '{int4,int4,int4,int4,int4,int4,int4,int4,int4,bool,int4}',
11498  proargmodes => '{o,o,o,o,o,o,o,o,o,o,o}',
11499  proargnames => '{max_data_alignment,database_block_size,blocks_per_segment,wal_block_size,bytes_per_wal_segment,max_identifier_length,max_index_columns,max_toast_chunk_size,large_object_chunk_size,float8_pass_by_value,data_page_checksum_version}',
11500  prosrc => 'pg_control_init' },
11501
11502# subscripting support for built-in types
11503{ oid => '6179', descr => 'standard array subscripting support',
11504  proname => 'array_subscript_handler', prorettype => 'internal',
11505  proargtypes => 'internal', prosrc => 'array_subscript_handler' },
11506{ oid => '6180', descr => 'raw array subscripting support',
11507  proname => 'raw_array_subscript_handler', prorettype => 'internal',
11508  proargtypes => 'internal', prosrc => 'raw_array_subscript_handler' },
11509# type subscripting support
11510{ oid => '6098', descr => 'jsonb subscripting logic',
11511  proname => 'jsonb_subscript_handler', prorettype => 'internal',
11512  proargtypes => 'internal', prosrc => 'jsonb_subscript_handler' },
11513
11514# collation management functions
11515{ oid => '3445', descr => 'import collations from operating system',
11516  proname => 'pg_import_system_collations', procost => '100',
11517  provolatile => 'v', proparallel => 'u', prorettype => 'int4',
11518  proargtypes => 'regnamespace', prosrc => 'pg_import_system_collations' },
11519
11520{ oid => '3448',
11521  descr => 'get actual version of collation from operating system',
11522  proname => 'pg_collation_actual_version', procost => '100',
11523  provolatile => 'v', prorettype => 'text', proargtypes => 'oid',
11524  prosrc => 'pg_collation_actual_version' },
11525
11526# system management/monitoring related functions
11527{ oid => '3353', descr => 'list files in the log directory',
11528  proname => 'pg_ls_logdir', procost => '10', prorows => '20', proretset => 't',
11529  provolatile => 'v', prorettype => 'record', proargtypes => '',
11530  proallargtypes => '{text,int8,timestamptz}', proargmodes => '{o,o,o}',
11531  proargnames => '{name,size,modification}', prosrc => 'pg_ls_logdir' },
11532{ oid => '3354', descr => 'list of files in the WAL directory',
11533  proname => 'pg_ls_waldir', procost => '10', prorows => '20', proretset => 't',
11534  provolatile => 'v', prorettype => 'record', proargtypes => '',
11535  proallargtypes => '{text,int8,timestamptz}', proargmodes => '{o,o,o}',
11536  proargnames => '{name,size,modification}', prosrc => 'pg_ls_waldir' },
11537{ oid => '5031', descr => 'list of files in the archive_status directory',
11538  proname => 'pg_ls_archive_statusdir', procost => '10', prorows => '20',
11539  proretset => 't', provolatile => 'v', prorettype => 'record',
11540  proargtypes => '', proallargtypes => '{text,int8,timestamptz}',
11541  proargmodes => '{o,o,o}', proargnames => '{name,size,modification}',
11542  prosrc => 'pg_ls_archive_statusdir' },
11543{ oid => '5029', descr => 'list files in the pgsql_tmp directory',
11544  proname => 'pg_ls_tmpdir', procost => '10', prorows => '20', proretset => 't',
11545  provolatile => 'v', prorettype => 'record', proargtypes => '',
11546  proallargtypes => '{text,int8,timestamptz}', proargmodes => '{o,o,o}',
11547  proargnames => '{name,size,modification}', prosrc => 'pg_ls_tmpdir_noargs' },
11548{ oid => '5030', descr => 'list files in the pgsql_tmp directory',
11549  proname => 'pg_ls_tmpdir', procost => '10', prorows => '20', proretset => 't',
11550  provolatile => 'v', prorettype => 'record', proargtypes => 'oid',
11551  proallargtypes => '{oid,text,int8,timestamptz}', proargmodes => '{i,o,o,o}',
11552  proargnames => '{tablespace,name,size,modification}',
11553  prosrc => 'pg_ls_tmpdir_1arg' },
11554
11555# hash partitioning constraint function
11556{ oid => '5028', descr => 'hash partition CHECK constraint',
11557  proname => 'satisfies_hash_partition', provariadic => 'any',
11558  proisstrict => 'f', prorettype => 'bool', proargtypes => 'oid int4 int4 any',
11559  proargmodes => '{i,i,i,v}', prosrc => 'satisfies_hash_partition' },
11560
11561# information about a partition tree
11562{ oid => '3423', descr => 'view partition tree tables',
11563  proname => 'pg_partition_tree', prorows => '1000', proretset => 't',
11564  provolatile => 'v', prorettype => 'record', proargtypes => 'regclass',
11565  proallargtypes => '{regclass,regclass,regclass,bool,int4}',
11566  proargmodes => '{i,o,o,o,o}',
11567  proargnames => '{rootrelid,relid,parentrelid,isleaf,level}',
11568  prosrc => 'pg_partition_tree' },
11569{ oid => '3425', descr => 'view ancestors of the partition',
11570  proname => 'pg_partition_ancestors', prorows => '10', proretset => 't',
11571  provolatile => 'v', prorettype => 'regclass', proargtypes => 'regclass',
11572  proallargtypes => '{regclass,regclass}', proargmodes => '{i,o}',
11573  proargnames => '{partitionid,relid}', prosrc => 'pg_partition_ancestors' },
11574
11575# function to get the top-most partition root parent
11576{ oid => '3424', descr => 'get top-most partition root parent',
11577  proname => 'pg_partition_root', prorettype => 'regclass',
11578  proargtypes => 'regclass', prosrc => 'pg_partition_root' },
11579
11580{ oid => '4350', descr => 'Unicode normalization',
11581  proname => 'normalize', prorettype => 'text', proargtypes => 'text text',
11582  prosrc => 'unicode_normalize_func' },
11583
11584{ oid => '4351', descr => 'check Unicode normalization',
11585  proname => 'is_normalized', prorettype => 'bool', proargtypes => 'text text',
11586  prosrc => 'unicode_is_normalized' },
11587
11588{ oid => '6198', descr => 'unescape Unicode characters',
11589  proname => 'unistr', prorettype => 'text', proargtypes => 'text',
11590  prosrc => 'unistr' },
11591
11592{ oid => '4596', descr => 'I/O',
11593  proname => 'brin_bloom_summary_in', prorettype => 'pg_brin_bloom_summary',
11594  proargtypes => 'cstring', prosrc => 'brin_bloom_summary_in' },
11595{ oid => '4597', descr => 'I/O',
11596  proname => 'brin_bloom_summary_out', prorettype => 'cstring',
11597  proargtypes => 'pg_brin_bloom_summary', prosrc => 'brin_bloom_summary_out' },
11598{ oid => '4598', descr => 'I/O',
11599  proname => 'brin_bloom_summary_recv', provolatile => 's',
11600  prorettype => 'pg_brin_bloom_summary', proargtypes => 'internal',
11601  prosrc => 'brin_bloom_summary_recv' },
11602{ oid => '4599', descr => 'I/O',
11603  proname => 'brin_bloom_summary_send', provolatile => 's',
11604  prorettype => 'bytea', proargtypes => 'pg_brin_bloom_summary',
11605  prosrc => 'brin_bloom_summary_send' },
11606
11607{ oid => '4638', descr => 'I/O',
11608  proname => 'brin_minmax_multi_summary_in',
11609  prorettype => 'pg_brin_minmax_multi_summary', proargtypes => 'cstring',
11610  prosrc => 'brin_minmax_multi_summary_in' },
11611{ oid => '4639', descr => 'I/O',
11612  proname => 'brin_minmax_multi_summary_out', prorettype => 'cstring',
11613  proargtypes => 'pg_brin_minmax_multi_summary',
11614  prosrc => 'brin_minmax_multi_summary_out' },
11615{ oid => '4640', descr => 'I/O',
11616  proname => 'brin_minmax_multi_summary_recv', provolatile => 's',
11617  prorettype => 'pg_brin_minmax_multi_summary', proargtypes => 'internal',
11618  prosrc => 'brin_minmax_multi_summary_recv' },
11619{ oid => '4641', descr => 'I/O',
11620  proname => 'brin_minmax_multi_summary_send', provolatile => 's',
11621  prorettype => 'bytea', proargtypes => 'pg_brin_minmax_multi_summary',
11622  prosrc => 'brin_minmax_multi_summary_send' },
11623
11624]
11625