This file is indexed.

/usr/share/postgresql/9.3/extension/ip4r--unpackaged2.0--2.0.sql is in postgresql-9.3-ip4r 2.0-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
-- ip4r extension

-- complain if script is sourced in psql, rather than via CREATE EXTENSION
\echo Use "CREATE EXTENSION ip4r" to load this file. \quit

ALTER EXTENSION ip4r ADD FUNCTION ip4_in(cstring);
ALTER EXTENSION ip4r ADD FUNCTION ip4_out(ip4);
ALTER EXTENSION ip4r ADD FUNCTION ip4_recv(internal);
ALTER EXTENSION ip4r ADD FUNCTION ip4_send(ip4);
ALTER EXTENSION ip4r ADD TYPE ip4;
ALTER EXTENSION ip4r ADD FUNCTION ip4r_in(cstring);
ALTER EXTENSION ip4r ADD FUNCTION ip4r_out(ip4r);
ALTER EXTENSION ip4r ADD FUNCTION ip4r_recv(internal);
ALTER EXTENSION ip4r ADD FUNCTION ip4r_send(ip4r);
ALTER EXTENSION ip4r ADD TYPE ip4r;
ALTER EXTENSION ip4r ADD FUNCTION ip6_in(cstring);
ALTER EXTENSION ip4r ADD FUNCTION ip6_out(ip6);
ALTER EXTENSION ip4r ADD FUNCTION ip6_recv(internal);
ALTER EXTENSION ip4r ADD FUNCTION ip6_send(ip6);
ALTER EXTENSION ip4r ADD TYPE ip6;
ALTER EXTENSION ip4r ADD FUNCTION ip6r_in(cstring);
ALTER EXTENSION ip4r ADD FUNCTION ip6r_out(ip6r);
ALTER EXTENSION ip4r ADD FUNCTION ip6r_recv(internal);
ALTER EXTENSION ip4r ADD FUNCTION ip6r_send(ip6r);
ALTER EXTENSION ip4r ADD TYPE ip6r;
ALTER EXTENSION ip4r ADD FUNCTION ipaddress_in(cstring);
ALTER EXTENSION ip4r ADD FUNCTION ipaddress_out(ipaddress);
ALTER EXTENSION ip4r ADD FUNCTION ipaddress_recv(internal);
ALTER EXTENSION ip4r ADD FUNCTION ipaddress_send(ipaddress);
ALTER EXTENSION ip4r ADD TYPE ipaddress;
ALTER EXTENSION ip4r ADD FUNCTION iprange_in(cstring);
ALTER EXTENSION ip4r ADD FUNCTION iprange_out(iprange);
ALTER EXTENSION ip4r ADD FUNCTION iprange_recv(internal);
ALTER EXTENSION ip4r ADD FUNCTION iprange_send(iprange);
ALTER EXTENSION ip4r ADD TYPE iprange;
ALTER EXTENSION ip4r ADD FUNCTION ip4(bigint);
ALTER EXTENSION ip4r ADD FUNCTION ip4(double precision);
ALTER EXTENSION ip4r ADD FUNCTION ip4(numeric);
ALTER EXTENSION ip4r ADD FUNCTION ip4(inet);
ALTER EXTENSION ip4r ADD FUNCTION ip4(text);
ALTER EXTENSION ip4r ADD FUNCTION ip4(ipaddress);
ALTER EXTENSION ip4r ADD FUNCTION ip6(numeric);
ALTER EXTENSION ip4r ADD FUNCTION ip6(inet);
ALTER EXTENSION ip4r ADD FUNCTION ip6(text);
ALTER EXTENSION ip4r ADD FUNCTION ip6(ipaddress);
ALTER EXTENSION ip4r ADD FUNCTION ipaddress(inet);
ALTER EXTENSION ip4r ADD FUNCTION ipaddress(ip4);
ALTER EXTENSION ip4r ADD FUNCTION ipaddress(ip6);
ALTER EXTENSION ip4r ADD FUNCTION ipaddress(text);
ALTER EXTENSION ip4r ADD FUNCTION ip4r(cidr);
ALTER EXTENSION ip4r ADD FUNCTION ip4r(ip4);
ALTER EXTENSION ip4r ADD FUNCTION ip4r(text);
ALTER EXTENSION ip4r ADD FUNCTION ip4r(iprange);
ALTER EXTENSION ip4r ADD FUNCTION ip6r(cidr);
ALTER EXTENSION ip4r ADD FUNCTION ip6r(ip6);
ALTER EXTENSION ip4r ADD FUNCTION ip6r(text);
ALTER EXTENSION ip4r ADD FUNCTION ip6r(iprange);
ALTER EXTENSION ip4r ADD FUNCTION iprange(cidr);
ALTER EXTENSION ip4r ADD FUNCTION iprange(ip4);
ALTER EXTENSION ip4r ADD FUNCTION iprange(ip6);
ALTER EXTENSION ip4r ADD FUNCTION iprange(ip4r);
ALTER EXTENSION ip4r ADD FUNCTION iprange(ip6r);
ALTER EXTENSION ip4r ADD FUNCTION iprange(ipaddress);
ALTER EXTENSION ip4r ADD FUNCTION iprange(text);
ALTER EXTENSION ip4r ADD FUNCTION cidr(ip4);
ALTER EXTENSION ip4r ADD FUNCTION cidr(ip4r);
ALTER EXTENSION ip4r ADD FUNCTION cidr(ip6);
ALTER EXTENSION ip4r ADD FUNCTION cidr(ip6r);
ALTER EXTENSION ip4r ADD FUNCTION cidr(ipaddress);
ALTER EXTENSION ip4r ADD FUNCTION cidr(iprange);
ALTER EXTENSION ip4r ADD FUNCTION text(ip4);
ALTER EXTENSION ip4r ADD FUNCTION text(ip4r);
ALTER EXTENSION ip4r ADD FUNCTION text(ip6);
ALTER EXTENSION ip4r ADD FUNCTION text(ip6r);
ALTER EXTENSION ip4r ADD FUNCTION text(ipaddress);
ALTER EXTENSION ip4r ADD FUNCTION text(iprange);
ALTER EXTENSION ip4r ADD FUNCTION to_bigint(ip4);
ALTER EXTENSION ip4r ADD FUNCTION to_double(ip4);
ALTER EXTENSION ip4r ADD FUNCTION to_numeric(ip4);
ALTER EXTENSION ip4r ADD FUNCTION to_numeric(ip6);
ALTER EXTENSION ip4r ADD FUNCTION to_numeric(ipaddress);
ALTER EXTENSION ip4r ADD CAST (ip4 as bigint);
ALTER EXTENSION ip4r ADD CAST (ip4 as double precision);
ALTER EXTENSION ip4r ADD CAST (ip4 as numeric);
ALTER EXTENSION ip4r ADD CAST (ip4 as text);
ALTER EXTENSION ip4r ADD CAST (ip4 as cidr);
ALTER EXTENSION ip4r ADD CAST (ip4r as cidr);
ALTER EXTENSION ip4r ADD CAST (ip4r as text);
ALTER EXTENSION ip4r ADD CAST (ip6 as numeric);
ALTER EXTENSION ip4r ADD CAST (ip6 as text);
ALTER EXTENSION ip4r ADD CAST (ip6 as cidr);
ALTER EXTENSION ip4r ADD CAST (ip6r as cidr);
ALTER EXTENSION ip4r ADD CAST (ip6r as text);
ALTER EXTENSION ip4r ADD CAST (ipaddress as numeric);
ALTER EXTENSION ip4r ADD CAST (ipaddress as text);
ALTER EXTENSION ip4r ADD CAST (ipaddress as cidr);
ALTER EXTENSION ip4r ADD CAST (iprange as cidr);
ALTER EXTENSION ip4r ADD CAST (iprange as text);
ALTER EXTENSION ip4r ADD CAST (text as ip4);
ALTER EXTENSION ip4r ADD CAST (text as ip4r);
ALTER EXTENSION ip4r ADD CAST (text as ip6);
ALTER EXTENSION ip4r ADD CAST (text as ip6r);
ALTER EXTENSION ip4r ADD CAST (text as ipaddress);
ALTER EXTENSION ip4r ADD CAST (text as iprange);
ALTER EXTENSION ip4r ADD CAST (bigint as ip4);
ALTER EXTENSION ip4r ADD CAST (double precision as ip4);
ALTER EXTENSION ip4r ADD CAST (numeric as ip4);
ALTER EXTENSION ip4r ADD CAST (numeric as ip6);
ALTER EXTENSION ip4r ADD CAST (cidr as ip4r);
ALTER EXTENSION ip4r ADD CAST (cidr as ip6r);
ALTER EXTENSION ip4r ADD CAST (cidr as iprange);
ALTER EXTENSION ip4r ADD CAST (inet as ip4);
ALTER EXTENSION ip4r ADD CAST (inet as ip6);
ALTER EXTENSION ip4r ADD CAST (inet as ipaddress);
ALTER EXTENSION ip4r ADD CAST (ip4 as ip4r);
ALTER EXTENSION ip4r ADD CAST (ip4 as ipaddress);
ALTER EXTENSION ip4r ADD CAST (ip4 as iprange);
ALTER EXTENSION ip4r ADD CAST (ip4r as iprange);
ALTER EXTENSION ip4r ADD CAST (ip6 as ip6r);
ALTER EXTENSION ip4r ADD CAST (ip6 as ipaddress);
ALTER EXTENSION ip4r ADD CAST (ip6 as iprange);
ALTER EXTENSION ip4r ADD CAST (ip6r as iprange);
ALTER EXTENSION ip4r ADD CAST (ipaddress as iprange);
ALTER EXTENSION ip4r ADD CAST (ipaddress as ip4);
ALTER EXTENSION ip4r ADD CAST (ipaddress as ip6);
ALTER EXTENSION ip4r ADD CAST (iprange as ip4r);
ALTER EXTENSION ip4r ADD CAST (iprange as ip6r);
ALTER EXTENSION ip4r ADD FUNCTION ip4r(ip4,ip4);
ALTER EXTENSION ip4r ADD FUNCTION ip6r(ip6,ip6);
ALTER EXTENSION ip4r ADD FUNCTION iprange(ip4,ip4);
ALTER EXTENSION ip4r ADD FUNCTION iprange(ip6,ip6);
ALTER EXTENSION ip4r ADD FUNCTION iprange(ipaddress,ipaddress);
ALTER EXTENSION ip4r ADD FUNCTION family(ip4);
ALTER EXTENSION ip4r ADD FUNCTION family(ip4r);
ALTER EXTENSION ip4r ADD FUNCTION family(ip6);
ALTER EXTENSION ip4r ADD FUNCTION family(ip6r);
ALTER EXTENSION ip4r ADD FUNCTION family(ipaddress);
ALTER EXTENSION ip4r ADD FUNCTION family(iprange);
ALTER EXTENSION ip4r ADD FUNCTION ip4_netmask(integer);
ALTER EXTENSION ip4r ADD FUNCTION ip6_netmask(integer);
ALTER EXTENSION ip4r ADD FUNCTION is_cidr(ip4r);
ALTER EXTENSION ip4r ADD FUNCTION is_cidr(ip6r);
ALTER EXTENSION ip4r ADD FUNCTION is_cidr(iprange);
ALTER EXTENSION ip4r ADD FUNCTION masklen(ip4r);
ALTER EXTENSION ip4r ADD FUNCTION masklen(ip6r);
ALTER EXTENSION ip4r ADD FUNCTION masklen(iprange);
ALTER EXTENSION ip4r ADD FUNCTION lower(ip4r);
ALTER EXTENSION ip4r ADD FUNCTION lower(ip6r);
ALTER EXTENSION ip4r ADD FUNCTION lower(iprange);
ALTER EXTENSION ip4r ADD FUNCTION upper(ip4r);
ALTER EXTENSION ip4r ADD FUNCTION upper(ip6r);
ALTER EXTENSION ip4r ADD FUNCTION upper(iprange);
ALTER EXTENSION ip4r ADD FUNCTION ip4_net_lower(ip4,integer);
ALTER EXTENSION ip4r ADD FUNCTION ip6_net_lower(ip6,integer);
ALTER EXTENSION ip4r ADD FUNCTION ipaddress_net_lower(ipaddress,integer);
ALTER EXTENSION ip4r ADD FUNCTION ip4_net_upper(ip4,integer);
ALTER EXTENSION ip4r ADD FUNCTION ip6_net_upper(ip6,integer);
ALTER EXTENSION ip4r ADD FUNCTION ipaddress_net_upper(ipaddress,integer);
ALTER EXTENSION ip4r ADD FUNCTION ip4r_union(ip4r, ip4r);
ALTER EXTENSION ip4r ADD FUNCTION ip6r_union(ip6r, ip6r);
ALTER EXTENSION ip4r ADD FUNCTION iprange_union(iprange, iprange);
ALTER EXTENSION ip4r ADD FUNCTION ip4r_inter(ip4r,ip4r);
ALTER EXTENSION ip4r ADD FUNCTION ip6r_inter(ip6r,ip6r);
ALTER EXTENSION ip4r ADD FUNCTION iprange_inter(iprange,iprange);
ALTER EXTENSION ip4r ADD FUNCTION ip4r_net_mask(ip4,ip4);
ALTER EXTENSION ip4r ADD FUNCTION ip6r_net_mask(ip6,ip6);
ALTER EXTENSION ip4r ADD FUNCTION iprange_net_mask(ip4,ip4);
ALTER EXTENSION ip4r ADD FUNCTION iprange_net_mask(ip6,ip6);
ALTER EXTENSION ip4r ADD FUNCTION iprange_net_mask(ipaddress,ipaddress);
ALTER EXTENSION ip4r ADD FUNCTION ip4r_net_prefix(ip4,integer);
ALTER EXTENSION ip4r ADD FUNCTION ip6r_net_prefix(ip6,integer);
ALTER EXTENSION ip4r ADD FUNCTION iprange_net_prefix(ip4,integer);
ALTER EXTENSION ip4r ADD FUNCTION iprange_net_prefix(ip6,integer);
ALTER EXTENSION ip4r ADD FUNCTION iprange_net_prefix(ipaddress,integer);
ALTER EXTENSION ip4r ADD OPERATOR /(ip4,ip4);
ALTER EXTENSION ip4r ADD OPERATOR /(ip6,ip6);
ALTER EXTENSION ip4r ADD OPERATOR /(ipaddress,ipaddress);
ALTER EXTENSION ip4r ADD OPERATOR /(ip4,integer);
ALTER EXTENSION ip4r ADD OPERATOR /(ip6,integer);
ALTER EXTENSION ip4r ADD OPERATOR /(ipaddress,integer);
ALTER EXTENSION ip4r ADD FUNCTION ip4r_size(ip4r);
ALTER EXTENSION ip4r ADD FUNCTION ip6r_size(ip6r);
ALTER EXTENSION ip4r ADD FUNCTION iprange_size(iprange);
ALTER EXTENSION ip4r ADD FUNCTION ip4r_size_exact(ip4r);
ALTER EXTENSION ip4r ADD FUNCTION ip6r_size_exact(ip6r);
ALTER EXTENSION ip4r ADD FUNCTION iprange_size_exact(iprange);
ALTER EXTENSION ip4r ADD OPERATOR @(NONE,ip4r);
ALTER EXTENSION ip4r ADD OPERATOR @(NONE,ip6r);
ALTER EXTENSION ip4r ADD OPERATOR @(NONE,iprange);
ALTER EXTENSION ip4r ADD OPERATOR @@(NONE,ip4r);
ALTER EXTENSION ip4r ADD OPERATOR @@(NONE,ip6r);
ALTER EXTENSION ip4r ADD OPERATOR @@(NONE,iprange);
ALTER EXTENSION ip4r ADD FUNCTION ip4_and(ip4,ip4);
ALTER EXTENSION ip4r ADD FUNCTION ip6_and(ip6,ip6);
ALTER EXTENSION ip4r ADD FUNCTION ipaddress_and(ipaddress,ipaddress);
ALTER EXTENSION ip4r ADD OPERATOR &(ip4,ip4);
ALTER EXTENSION ip4r ADD OPERATOR &(ip6,ip6);
ALTER EXTENSION ip4r ADD OPERATOR &(ipaddress,ipaddress);
ALTER EXTENSION ip4r ADD FUNCTION ip4_or(ip4,ip4);
ALTER EXTENSION ip4r ADD FUNCTION ip6_or(ip6,ip6);
ALTER EXTENSION ip4r ADD FUNCTION ipaddress_or(ipaddress,ipaddress);
ALTER EXTENSION ip4r ADD OPERATOR |(ip4,ip4);
ALTER EXTENSION ip4r ADD OPERATOR |(ip6,ip6);
ALTER EXTENSION ip4r ADD OPERATOR |(ipaddress,ipaddress);
ALTER EXTENSION ip4r ADD FUNCTION ip4_not(ip4);
ALTER EXTENSION ip4r ADD FUNCTION ip6_not(ip6);
ALTER EXTENSION ip4r ADD FUNCTION ipaddress_not(ipaddress);
ALTER EXTENSION ip4r ADD OPERATOR ~(NONE,ip4);
ALTER EXTENSION ip4r ADD OPERATOR ~(NONE,ip6);
ALTER EXTENSION ip4r ADD OPERATOR ~(NONE,ipaddress);
ALTER EXTENSION ip4r ADD FUNCTION ip4_xor(ip4,ip4);
ALTER EXTENSION ip4r ADD FUNCTION ip6_xor(ip6,ip6);
ALTER EXTENSION ip4r ADD FUNCTION ipaddress_xor(ipaddress,ipaddress);
ALTER EXTENSION ip4r ADD OPERATOR #(ip4,ip4);
ALTER EXTENSION ip4r ADD OPERATOR #(ip6,ip6);
ALTER EXTENSION ip4r ADD OPERATOR #(ipaddress,ipaddress);
ALTER EXTENSION ip4r ADD FUNCTION ip4_plus_bigint(ip4,bigint);
ALTER EXTENSION ip4r ADD FUNCTION ip4_plus_int(ip4,integer);
ALTER EXTENSION ip4r ADD FUNCTION ip4_plus_numeric(ip4,numeric);
ALTER EXTENSION ip4r ADD OPERATOR +(ip4,bigint);
ALTER EXTENSION ip4r ADD OPERATOR +(ip4,integer);
ALTER EXTENSION ip4r ADD OPERATOR +(ip4,numeric);
ALTER EXTENSION ip4r ADD FUNCTION ip6_plus_bigint(ip6,bigint);
ALTER EXTENSION ip4r ADD FUNCTION ip6_plus_int(ip6,integer);
ALTER EXTENSION ip4r ADD FUNCTION ip6_plus_numeric(ip6,numeric);
ALTER EXTENSION ip4r ADD OPERATOR +(ip6,bigint);
ALTER EXTENSION ip4r ADD OPERATOR +(ip6,integer);
ALTER EXTENSION ip4r ADD OPERATOR +(ip6,numeric);
ALTER EXTENSION ip4r ADD FUNCTION ipaddress_plus_bigint(ipaddress,bigint);
ALTER EXTENSION ip4r ADD FUNCTION ipaddress_plus_int(ipaddress,integer);
ALTER EXTENSION ip4r ADD FUNCTION ipaddress_plus_numeric(ipaddress,numeric);
ALTER EXTENSION ip4r ADD OPERATOR +(ipaddress,bigint);
ALTER EXTENSION ip4r ADD OPERATOR +(ipaddress,integer);
ALTER EXTENSION ip4r ADD OPERATOR +(ipaddress,numeric);
ALTER EXTENSION ip4r ADD FUNCTION ip4_minus_bigint(ip4,bigint);
ALTER EXTENSION ip4r ADD FUNCTION ip4_minus_int(ip4,integer);
ALTER EXTENSION ip4r ADD FUNCTION ip4_minus_numeric(ip4,numeric);
ALTER EXTENSION ip4r ADD OPERATOR -(ip4,bigint);
ALTER EXTENSION ip4r ADD OPERATOR -(ip4,integer);
ALTER EXTENSION ip4r ADD OPERATOR -(ip4,numeric);
ALTER EXTENSION ip4r ADD FUNCTION ip6_minus_bigint(ip6,bigint);
ALTER EXTENSION ip4r ADD FUNCTION ip6_minus_int(ip6,integer);
ALTER EXTENSION ip4r ADD FUNCTION ip6_minus_numeric(ip6,numeric);
ALTER EXTENSION ip4r ADD OPERATOR -(ip6,bigint);
ALTER EXTENSION ip4r ADD OPERATOR -(ip6,integer);
ALTER EXTENSION ip4r ADD OPERATOR -(ip6,numeric);
ALTER EXTENSION ip4r ADD FUNCTION ipaddress_minus_bigint(ipaddress,bigint);
ALTER EXTENSION ip4r ADD FUNCTION ipaddress_minus_int(ipaddress,integer);
ALTER EXTENSION ip4r ADD FUNCTION ipaddress_minus_numeric(ipaddress,numeric);
ALTER EXTENSION ip4r ADD OPERATOR -(ipaddress,bigint);
ALTER EXTENSION ip4r ADD OPERATOR -(ipaddress,integer);
ALTER EXTENSION ip4r ADD OPERATOR -(ipaddress,numeric);
ALTER EXTENSION ip4r ADD FUNCTION ip4_minus_ip4(ip4,ip4);
ALTER EXTENSION ip4r ADD FUNCTION ip6_minus_ip6(ip6,ip6);
ALTER EXTENSION ip4r ADD FUNCTION ipaddress_minus_ipaddress(ipaddress,ipaddress);
ALTER EXTENSION ip4r ADD OPERATOR -(ip4,ip4);
ALTER EXTENSION ip4r ADD OPERATOR -(ip6,ip6);
ALTER EXTENSION ip4r ADD OPERATOR -(ipaddress,ipaddress);
ALTER EXTENSION ip4r ADD FUNCTION ip4r_contained_by(ip4r,ip4r);
ALTER EXTENSION ip4r ADD FUNCTION ip6r_contained_by(ip6r,ip6r);
ALTER EXTENSION ip4r ADD FUNCTION iprange_contained_by(iprange,iprange);
ALTER EXTENSION ip4r ADD OPERATOR <<=(ip4r,ip4r);
ALTER EXTENSION ip4r ADD OPERATOR <<=(ip6r,ip6r);
ALTER EXTENSION ip4r ADD OPERATOR <<=(iprange,iprange);
ALTER EXTENSION ip4r ADD FUNCTION ip4r_contained_by_strict(ip4r,ip4r);
ALTER EXTENSION ip4r ADD FUNCTION ip6r_contained_by_strict(ip6r,ip6r);
ALTER EXTENSION ip4r ADD FUNCTION iprange_contained_by_strict(iprange,iprange);
ALTER EXTENSION ip4r ADD OPERATOR <<(ip4r,ip4r);
ALTER EXTENSION ip4r ADD OPERATOR <<(ip6r,ip6r);
ALTER EXTENSION ip4r ADD OPERATOR <<(iprange,iprange);
ALTER EXTENSION ip4r ADD FUNCTION ip4r_contains(ip4r,ip4r);
ALTER EXTENSION ip4r ADD FUNCTION ip6r_contains(ip6r,ip6r);
ALTER EXTENSION ip4r ADD FUNCTION iprange_contains(iprange,iprange);
ALTER EXTENSION ip4r ADD OPERATOR >>=(ip4r,ip4r);
ALTER EXTENSION ip4r ADD OPERATOR >>=(ip6r,ip6r);
ALTER EXTENSION ip4r ADD OPERATOR >>=(iprange,iprange);
ALTER EXTENSION ip4r ADD FUNCTION ip4r_contains_strict(ip4r,ip4r);
ALTER EXTENSION ip4r ADD FUNCTION ip6r_contains_strict(ip6r,ip6r);
ALTER EXTENSION ip4r ADD FUNCTION iprange_contains_strict(iprange,iprange);
ALTER EXTENSION ip4r ADD OPERATOR >>(ip4r,ip4r);
ALTER EXTENSION ip4r ADD OPERATOR >>(ip6r,ip6r);
ALTER EXTENSION ip4r ADD OPERATOR >>(iprange,iprange);
ALTER EXTENSION ip4r ADD FUNCTION ip4r_overlaps(ip4r,ip4r);
ALTER EXTENSION ip4r ADD FUNCTION ip6r_overlaps(ip6r,ip6r);
ALTER EXTENSION ip4r ADD FUNCTION iprange_overlaps(iprange,iprange);
ALTER EXTENSION ip4r ADD OPERATOR &&(ip4r,ip4r);
ALTER EXTENSION ip4r ADD OPERATOR &&(ip6r,ip6r);
ALTER EXTENSION ip4r ADD OPERATOR &&(iprange,iprange);
ALTER EXTENSION ip4r ADD FUNCTION ip4_contained_by(ip4,ip4r);
ALTER EXTENSION ip4r ADD FUNCTION ip4_contained_by(ip4,iprange);
ALTER EXTENSION ip4r ADD FUNCTION ip6_contained_by(ip6,ip6r);
ALTER EXTENSION ip4r ADD FUNCTION ip6_contained_by(ip6,iprange);
ALTER EXTENSION ip4r ADD FUNCTION ipaddress_contained_by(ipaddress,iprange);
ALTER EXTENSION ip4r ADD FUNCTION ip4_contains(ip4r,ip4);
ALTER EXTENSION ip4r ADD FUNCTION ip6_contains(ip6r,ip6);
ALTER EXTENSION ip4r ADD FUNCTION ip4_contains(iprange,ip4);
ALTER EXTENSION ip4r ADD FUNCTION ip6_contains(iprange,ip6);
ALTER EXTENSION ip4r ADD FUNCTION ipaddress_contains(iprange,ipaddress);
ALTER EXTENSION ip4r ADD FUNCTION ip4_eq(ip4,ip4);
ALTER EXTENSION ip4r ADD FUNCTION ip4r_eq(ip4r,ip4r);
ALTER EXTENSION ip4r ADD FUNCTION ip6_eq(ip6,ip6);
ALTER EXTENSION ip4r ADD FUNCTION ip6r_eq(ip6r,ip6r);
ALTER EXTENSION ip4r ADD FUNCTION ipaddress_eq(ipaddress,ipaddress);
ALTER EXTENSION ip4r ADD FUNCTION iprange_eq(iprange,iprange);
ALTER EXTENSION ip4r ADD OPERATOR =(ip4,ip4);
ALTER EXTENSION ip4r ADD OPERATOR =(ip4r,ip4r);
ALTER EXTENSION ip4r ADD OPERATOR =(ip6,ip6);
ALTER EXTENSION ip4r ADD OPERATOR =(ip6r,ip6r);
ALTER EXTENSION ip4r ADD OPERATOR =(ipaddress,ipaddress);
ALTER EXTENSION ip4r ADD OPERATOR =(iprange,iprange);
ALTER EXTENSION ip4r ADD FUNCTION ip4_ge(ip4,ip4);
ALTER EXTENSION ip4r ADD FUNCTION ip4r_ge(ip4r,ip4r);
ALTER EXTENSION ip4r ADD FUNCTION ip6_ge(ip6,ip6);
ALTER EXTENSION ip4r ADD FUNCTION ip6r_ge(ip6r,ip6r);
ALTER EXTENSION ip4r ADD FUNCTION ipaddress_ge(ipaddress,ipaddress);
ALTER EXTENSION ip4r ADD FUNCTION iprange_ge(iprange,iprange);
ALTER EXTENSION ip4r ADD OPERATOR >=(ip4,ip4);
ALTER EXTENSION ip4r ADD OPERATOR >=(ip4r,ip4r);
ALTER EXTENSION ip4r ADD OPERATOR >=(ip6,ip6);
ALTER EXTENSION ip4r ADD OPERATOR >=(ip6r,ip6r);
ALTER EXTENSION ip4r ADD OPERATOR >=(ipaddress,ipaddress);
ALTER EXTENSION ip4r ADD OPERATOR >=(iprange,iprange);
ALTER EXTENSION ip4r ADD FUNCTION ip4_gt(ip4,ip4);
ALTER EXTENSION ip4r ADD FUNCTION ip4r_gt(ip4r,ip4r);
ALTER EXTENSION ip4r ADD FUNCTION ip6_gt(ip6,ip6);
ALTER EXTENSION ip4r ADD FUNCTION ip6r_gt(ip6r,ip6r);
ALTER EXTENSION ip4r ADD FUNCTION ipaddress_gt(ipaddress,ipaddress);
ALTER EXTENSION ip4r ADD FUNCTION iprange_gt(iprange,iprange);
ALTER EXTENSION ip4r ADD OPERATOR >(ip4,ip4);
ALTER EXTENSION ip4r ADD OPERATOR >(ip4r,ip4r);
ALTER EXTENSION ip4r ADD OPERATOR >(ip6,ip6);
ALTER EXTENSION ip4r ADD OPERATOR >(ip6r,ip6r);
ALTER EXTENSION ip4r ADD OPERATOR >(ipaddress,ipaddress);
ALTER EXTENSION ip4r ADD OPERATOR >(iprange,iprange);
ALTER EXTENSION ip4r ADD FUNCTION ip4_le(ip4,ip4);
ALTER EXTENSION ip4r ADD FUNCTION ip4r_le(ip4r,ip4r);
ALTER EXTENSION ip4r ADD FUNCTION ip6_le(ip6,ip6);
ALTER EXTENSION ip4r ADD FUNCTION ip6r_le(ip6r,ip6r);
ALTER EXTENSION ip4r ADD FUNCTION ipaddress_le(ipaddress,ipaddress);
ALTER EXTENSION ip4r ADD FUNCTION iprange_le(iprange,iprange);
ALTER EXTENSION ip4r ADD OPERATOR <=(ip4,ip4);
ALTER EXTENSION ip4r ADD OPERATOR <=(ip4r,ip4r);
ALTER EXTENSION ip4r ADD OPERATOR <=(ip6,ip6);
ALTER EXTENSION ip4r ADD OPERATOR <=(ip6r,ip6r);
ALTER EXTENSION ip4r ADD OPERATOR <=(ipaddress,ipaddress);
ALTER EXTENSION ip4r ADD OPERATOR <=(iprange,iprange);
ALTER EXTENSION ip4r ADD FUNCTION ip4_lt(ip4,ip4);
ALTER EXTENSION ip4r ADD FUNCTION ip4r_lt(ip4r,ip4r);
ALTER EXTENSION ip4r ADD FUNCTION ip6_lt(ip6,ip6);
ALTER EXTENSION ip4r ADD FUNCTION ip6r_lt(ip6r,ip6r);
ALTER EXTENSION ip4r ADD FUNCTION ipaddress_lt(ipaddress,ipaddress);
ALTER EXTENSION ip4r ADD FUNCTION iprange_lt(iprange,iprange);
ALTER EXTENSION ip4r ADD OPERATOR <(ip4,ip4);
ALTER EXTENSION ip4r ADD OPERATOR <(ip4r,ip4r);
ALTER EXTENSION ip4r ADD OPERATOR <(ip6,ip6);
ALTER EXTENSION ip4r ADD OPERATOR <(ip6r,ip6r);
ALTER EXTENSION ip4r ADD OPERATOR <(ipaddress,ipaddress);
ALTER EXTENSION ip4r ADD OPERATOR <(iprange,iprange);
ALTER EXTENSION ip4r ADD FUNCTION ip4_neq(ip4,ip4);
ALTER EXTENSION ip4r ADD FUNCTION ip4r_neq(ip4r,ip4r);
ALTER EXTENSION ip4r ADD FUNCTION ip6_neq(ip6,ip6);
ALTER EXTENSION ip4r ADD FUNCTION ip6r_neq(ip6r,ip6r);
ALTER EXTENSION ip4r ADD FUNCTION ipaddress_neq(ipaddress,ipaddress);
ALTER EXTENSION ip4r ADD FUNCTION iprange_neq(iprange,iprange);
ALTER EXTENSION ip4r ADD OPERATOR <>(ip4,ip4);
ALTER EXTENSION ip4r ADD OPERATOR <>(ip4r,ip4r);
ALTER EXTENSION ip4r ADD OPERATOR <>(ip6,ip6);
ALTER EXTENSION ip4r ADD OPERATOR <>(ip6r,ip6r);
ALTER EXTENSION ip4r ADD OPERATOR <>(ipaddress,ipaddress);
ALTER EXTENSION ip4r ADD OPERATOR <>(iprange,iprange);
ALTER EXTENSION ip4r ADD FUNCTION ip4_cmp(ip4,ip4);
ALTER EXTENSION ip4r ADD FUNCTION ip4r_cmp(ip4r,ip4r);
ALTER EXTENSION ip4r ADD FUNCTION ip6_cmp(ip6,ip6);
ALTER EXTENSION ip4r ADD FUNCTION ip6r_cmp(ip6r,ip6r);
ALTER EXTENSION ip4r ADD FUNCTION ipaddress_cmp(ipaddress,ipaddress);
ALTER EXTENSION ip4r ADD FUNCTION iprange_cmp(iprange,iprange);
ALTER EXTENSION ip4r ADD OPERATOR CLASS btree_ip4_ops;
ALTER EXTENSION ip4r ADD OPERATOR CLASS btree_ip4r_ops;
ALTER EXTENSION ip4r ADD OPERATOR CLASS btree_ip6_ops;
ALTER EXTENSION ip4r ADD OPERATOR CLASS btree_ip6r_ops;
ALTER EXTENSION ip4r ADD OPERATOR CLASS btree_ipaddress_ops;
ALTER EXTENSION ip4r ADD OPERATOR CLASS btree_iprange_ops;
ALTER EXTENSION ip4r ADD FUNCTION ip4hash(ip4);
ALTER EXTENSION ip4r ADD FUNCTION ip6hash(ip6);
ALTER EXTENSION ip4r ADD FUNCTION ipaddresshash(ipaddress);
ALTER EXTENSION ip4r ADD FUNCTION ip4rhash(ip4r);
ALTER EXTENSION ip4r ADD FUNCTION ip6rhash(ip6r);
ALTER EXTENSION ip4r ADD FUNCTION iprangehash(iprange);
ALTER EXTENSION ip4r ADD OPERATOR CLASS hash_ip4_ops;
ALTER EXTENSION ip4r ADD OPERATOR CLASS hash_ip4r_ops;
ALTER EXTENSION ip4r ADD OPERATOR CLASS hash_ip6_ops;
ALTER EXTENSION ip4r ADD OPERATOR CLASS hash_ip6r_ops;
ALTER EXTENSION ip4r ADD OPERATOR CLASS hash_ipaddress_ops;
ALTER EXTENSION ip4r ADD OPERATOR CLASS hash_iprange_ops;
ALTER EXTENSION ip4r ADD FUNCTION gip4r_consistent(internal,ip4r,int4);
ALTER EXTENSION ip4r ADD FUNCTION gip4r_compress(internal);
ALTER EXTENSION ip4r ADD FUNCTION gip4r_decompress(internal);
ALTER EXTENSION ip4r ADD FUNCTION gip4r_penalty(internal,internal,internal);
ALTER EXTENSION ip4r ADD FUNCTION gip4r_picksplit(internal, internal);
ALTER EXTENSION ip4r ADD FUNCTION gip4r_union(internal, internal);
ALTER EXTENSION ip4r ADD FUNCTION gip4r_same(ip4r, ip4r, internal);
ALTER EXTENSION ip4r ADD FUNCTION gip6r_consistent(internal,ip6r,int4);
ALTER EXTENSION ip4r ADD FUNCTION gip6r_compress(internal);
ALTER EXTENSION ip4r ADD FUNCTION gip6r_decompress(internal);
ALTER EXTENSION ip4r ADD FUNCTION gip6r_penalty(internal,internal,internal);
ALTER EXTENSION ip4r ADD FUNCTION gip6r_picksplit(internal, internal);
ALTER EXTENSION ip4r ADD FUNCTION gip6r_union(internal, internal);
ALTER EXTENSION ip4r ADD FUNCTION gip6r_same(ip6r, ip6r, internal);
ALTER EXTENSION ip4r ADD FUNCTION gipr_consistent(internal,iprange,int4);
ALTER EXTENSION ip4r ADD FUNCTION gipr_compress(internal);
ALTER EXTENSION ip4r ADD FUNCTION gipr_decompress(internal);
ALTER EXTENSION ip4r ADD FUNCTION gipr_penalty(internal,internal,internal);
ALTER EXTENSION ip4r ADD FUNCTION gipr_picksplit(internal, internal);
ALTER EXTENSION ip4r ADD FUNCTION gipr_union(internal, internal);
ALTER EXTENSION ip4r ADD FUNCTION gipr_same(iprange, iprange, internal);
ALTER EXTENSION ip4r ADD OPERATOR CLASS gist_ip4r_ops;
ALTER EXTENSION ip4r ADD OPERATOR CLASS gist_ip6r_ops;
ALTER EXTENSION ip4r ADD OPERATOR CLASS gist_iprange_ops;

-- end