release 2.1.6
[m6w6/ext-pq] / php_pq_type.h
1
2 /* Generated file. See scripts/gen_pq_type-pq11.php */
3
4 #ifndef PHP_PQ_TYPE
5 # define PHP_PQ_TYPE(t,o)
6 #endif
7
8 #ifndef PHP_PQ_OID_BOOL
9 # define PHP_PQ_OID_BOOL 16
10 #endif
11 PHP_PQ_TYPE("BOOL", 16)
12 #ifndef PHP_PQ_OID_BYTEA
13 # define PHP_PQ_OID_BYTEA 17
14 #endif
15 PHP_PQ_TYPE("BYTEA", 17)
16 #ifndef PHP_PQ_OID_CHAR
17 # define PHP_PQ_OID_CHAR 18
18 #endif
19 PHP_PQ_TYPE("CHAR", 18)
20 #ifndef PHP_PQ_OID_NAME
21 # define PHP_PQ_OID_NAME 19
22 #endif
23 PHP_PQ_TYPE("NAME", 19)
24 #ifndef PHP_PQ_OID_INT8
25 # define PHP_PQ_OID_INT8 20
26 #endif
27 PHP_PQ_TYPE("INT8", 20)
28 #ifndef PHP_PQ_OID_INT2
29 # define PHP_PQ_OID_INT2 21
30 #endif
31 PHP_PQ_TYPE("INT2", 21)
32 #ifndef PHP_PQ_OID_INT2VECTOR
33 # define PHP_PQ_OID_INT2VECTOR 22
34 #endif
35 PHP_PQ_TYPE("INT2VECTOR", 22)
36 #ifndef PHP_PQ_OID_INT4
37 # define PHP_PQ_OID_INT4 23
38 #endif
39 PHP_PQ_TYPE("INT4", 23)
40 #ifndef PHP_PQ_OID_REGPROC
41 # define PHP_PQ_OID_REGPROC 24
42 #endif
43 PHP_PQ_TYPE("REGPROC", 24)
44 #ifndef PHP_PQ_OID_TEXT
45 # define PHP_PQ_OID_TEXT 25
46 #endif
47 PHP_PQ_TYPE("TEXT", 25)
48 #ifndef PHP_PQ_OID_OID
49 # define PHP_PQ_OID_OID 26
50 #endif
51 PHP_PQ_TYPE("OID", 26)
52 #ifndef PHP_PQ_OID_TID
53 # define PHP_PQ_OID_TID 27
54 #endif
55 PHP_PQ_TYPE("TID", 27)
56 #ifndef PHP_PQ_OID_XID
57 # define PHP_PQ_OID_XID 28
58 #endif
59 PHP_PQ_TYPE("XID", 28)
60 #ifndef PHP_PQ_OID_CID
61 # define PHP_PQ_OID_CID 29
62 #endif
63 PHP_PQ_TYPE("CID", 29)
64 #ifndef PHP_PQ_OID_OIDVECTOR
65 # define PHP_PQ_OID_OIDVECTOR 30
66 #endif
67 PHP_PQ_TYPE("OIDVECTOR", 30)
68 #ifndef PHP_PQ_OID_PG_DDL_COMMAND
69 # define PHP_PQ_OID_PG_DDL_COMMAND 32
70 #endif
71 PHP_PQ_TYPE("PG_DDL_COMMAND", 32)
72 #ifndef PHP_PQ_OID_PG_TYPE
73 # define PHP_PQ_OID_PG_TYPE 71
74 #endif
75 PHP_PQ_TYPE("PG_TYPE", 71)
76 #ifndef PHP_PQ_OID_PG_ATTRIBUTE
77 # define PHP_PQ_OID_PG_ATTRIBUTE 75
78 #endif
79 PHP_PQ_TYPE("PG_ATTRIBUTE", 75)
80 #ifndef PHP_PQ_OID_PG_PROC
81 # define PHP_PQ_OID_PG_PROC 81
82 #endif
83 PHP_PQ_TYPE("PG_PROC", 81)
84 #ifndef PHP_PQ_OID_PG_CLASS
85 # define PHP_PQ_OID_PG_CLASS 83
86 #endif
87 PHP_PQ_TYPE("PG_CLASS", 83)
88 #ifndef PHP_PQ_OID_JSON
89 # define PHP_PQ_OID_JSON 114
90 #endif
91 PHP_PQ_TYPE("JSON", 114)
92 #ifndef PHP_PQ_OID_XML
93 # define PHP_PQ_OID_XML 142
94 #endif
95 PHP_PQ_TYPE("XML", 142)
96 #ifndef PHP_PQ_OID_XMLARRAY
97 # define PHP_PQ_OID_XMLARRAY 143
98 #endif
99 PHP_PQ_TYPE("XMLARRAY", 143)
100 #ifndef PHP_PQ_OID_PG_NODE_TREE
101 # define PHP_PQ_OID_PG_NODE_TREE 194
102 #endif
103 PHP_PQ_TYPE("PG_NODE_TREE", 194)
104 #ifndef PHP_PQ_OID_JSONARRAY
105 # define PHP_PQ_OID_JSONARRAY 199
106 #endif
107 PHP_PQ_TYPE("JSONARRAY", 199)
108 #ifndef PHP_PQ_OID_SMGR
109 # define PHP_PQ_OID_SMGR 210
110 #endif
111 PHP_PQ_TYPE("SMGR", 210)
112 #ifndef PHP_PQ_OID_INDEX_AM_HANDLER
113 # define PHP_PQ_OID_INDEX_AM_HANDLER 325
114 #endif
115 PHP_PQ_TYPE("INDEX_AM_HANDLER", 325)
116 #ifndef PHP_PQ_OID_POINT
117 # define PHP_PQ_OID_POINT 600
118 #endif
119 PHP_PQ_TYPE("POINT", 600)
120 #ifndef PHP_PQ_OID_LSEG
121 # define PHP_PQ_OID_LSEG 601
122 #endif
123 PHP_PQ_TYPE("LSEG", 601)
124 #ifndef PHP_PQ_OID_PATH
125 # define PHP_PQ_OID_PATH 602
126 #endif
127 PHP_PQ_TYPE("PATH", 602)
128 #ifndef PHP_PQ_OID_BOX
129 # define PHP_PQ_OID_BOX 603
130 #endif
131 PHP_PQ_TYPE("BOX", 603)
132 #ifndef PHP_PQ_OID_POLYGON
133 # define PHP_PQ_OID_POLYGON 604
134 #endif
135 PHP_PQ_TYPE("POLYGON", 604)
136 #ifndef PHP_PQ_OID_LINE
137 # define PHP_PQ_OID_LINE 628
138 #endif
139 PHP_PQ_TYPE("LINE", 628)
140 #ifndef PHP_PQ_OID_LINEARRAY
141 # define PHP_PQ_OID_LINEARRAY 629
142 #endif
143 PHP_PQ_TYPE("LINEARRAY", 629)
144 #ifndef PHP_PQ_OID_CIDR
145 # define PHP_PQ_OID_CIDR 650
146 #endif
147 PHP_PQ_TYPE("CIDR", 650)
148 #ifndef PHP_PQ_OID_CIDRARRAY
149 # define PHP_PQ_OID_CIDRARRAY 651
150 #endif
151 PHP_PQ_TYPE("CIDRARRAY", 651)
152 #ifndef PHP_PQ_OID_FLOAT4
153 # define PHP_PQ_OID_FLOAT4 700
154 #endif
155 PHP_PQ_TYPE("FLOAT4", 700)
156 #ifndef PHP_PQ_OID_FLOAT8
157 # define PHP_PQ_OID_FLOAT8 701
158 #endif
159 PHP_PQ_TYPE("FLOAT8", 701)
160 #ifndef PHP_PQ_OID_UNKNOWN
161 # define PHP_PQ_OID_UNKNOWN 705
162 #endif
163 PHP_PQ_TYPE("UNKNOWN", 705)
164 #ifndef PHP_PQ_OID_CIRCLE
165 # define PHP_PQ_OID_CIRCLE 718
166 #endif
167 PHP_PQ_TYPE("CIRCLE", 718)
168 #ifndef PHP_PQ_OID_CIRCLEARRAY
169 # define PHP_PQ_OID_CIRCLEARRAY 719
170 #endif
171 PHP_PQ_TYPE("CIRCLEARRAY", 719)
172 #ifndef PHP_PQ_OID_MACADDR8
173 # define PHP_PQ_OID_MACADDR8 774
174 #endif
175 PHP_PQ_TYPE("MACADDR8", 774)
176 #ifndef PHP_PQ_OID_MACADDR8ARRAY
177 # define PHP_PQ_OID_MACADDR8ARRAY 775
178 #endif
179 PHP_PQ_TYPE("MACADDR8ARRAY", 775)
180 #ifndef PHP_PQ_OID_MONEY
181 # define PHP_PQ_OID_MONEY 790
182 #endif
183 PHP_PQ_TYPE("MONEY", 790)
184 #ifndef PHP_PQ_OID_MONEYARRAY
185 # define PHP_PQ_OID_MONEYARRAY 791
186 #endif
187 PHP_PQ_TYPE("MONEYARRAY", 791)
188 #ifndef PHP_PQ_OID_MACADDR
189 # define PHP_PQ_OID_MACADDR 829
190 #endif
191 PHP_PQ_TYPE("MACADDR", 829)
192 #ifndef PHP_PQ_OID_INET
193 # define PHP_PQ_OID_INET 869
194 #endif
195 PHP_PQ_TYPE("INET", 869)
196 #ifndef PHP_PQ_OID_BOOLARRAY
197 # define PHP_PQ_OID_BOOLARRAY 1000
198 #endif
199 PHP_PQ_TYPE("BOOLARRAY", 1000)
200 #ifndef PHP_PQ_OID_BYTEAARRAY
201 # define PHP_PQ_OID_BYTEAARRAY 1001
202 #endif
203 PHP_PQ_TYPE("BYTEAARRAY", 1001)
204 #ifndef PHP_PQ_OID_CHARARRAY
205 # define PHP_PQ_OID_CHARARRAY 1002
206 #endif
207 PHP_PQ_TYPE("CHARARRAY", 1002)
208 #ifndef PHP_PQ_OID_NAMEARRAY
209 # define PHP_PQ_OID_NAMEARRAY 1003
210 #endif
211 PHP_PQ_TYPE("NAMEARRAY", 1003)
212 #ifndef PHP_PQ_OID_INT2ARRAY
213 # define PHP_PQ_OID_INT2ARRAY 1005
214 #endif
215 PHP_PQ_TYPE("INT2ARRAY", 1005)
216 #ifndef PHP_PQ_OID_INT2VECTORARRAY
217 # define PHP_PQ_OID_INT2VECTORARRAY 1006
218 #endif
219 PHP_PQ_TYPE("INT2VECTORARRAY", 1006)
220 #ifndef PHP_PQ_OID_INT4ARRAY
221 # define PHP_PQ_OID_INT4ARRAY 1007
222 #endif
223 PHP_PQ_TYPE("INT4ARRAY", 1007)
224 #ifndef PHP_PQ_OID_REGPROCARRAY
225 # define PHP_PQ_OID_REGPROCARRAY 1008
226 #endif
227 PHP_PQ_TYPE("REGPROCARRAY", 1008)
228 #ifndef PHP_PQ_OID_TEXTARRAY
229 # define PHP_PQ_OID_TEXTARRAY 1009
230 #endif
231 PHP_PQ_TYPE("TEXTARRAY", 1009)
232 #ifndef PHP_PQ_OID_TIDARRAY
233 # define PHP_PQ_OID_TIDARRAY 1010
234 #endif
235 PHP_PQ_TYPE("TIDARRAY", 1010)
236 #ifndef PHP_PQ_OID_XIDARRAY
237 # define PHP_PQ_OID_XIDARRAY 1011
238 #endif
239 PHP_PQ_TYPE("XIDARRAY", 1011)
240 #ifndef PHP_PQ_OID_CIDARRAY
241 # define PHP_PQ_OID_CIDARRAY 1012
242 #endif
243 PHP_PQ_TYPE("CIDARRAY", 1012)
244 #ifndef PHP_PQ_OID_OIDVECTORARRAY
245 # define PHP_PQ_OID_OIDVECTORARRAY 1013
246 #endif
247 PHP_PQ_TYPE("OIDVECTORARRAY", 1013)
248 #ifndef PHP_PQ_OID_BPCHARARRAY
249 # define PHP_PQ_OID_BPCHARARRAY 1014
250 #endif
251 PHP_PQ_TYPE("BPCHARARRAY", 1014)
252 #ifndef PHP_PQ_OID_VARCHARARRAY
253 # define PHP_PQ_OID_VARCHARARRAY 1015
254 #endif
255 PHP_PQ_TYPE("VARCHARARRAY", 1015)
256 #ifndef PHP_PQ_OID_INT8ARRAY
257 # define PHP_PQ_OID_INT8ARRAY 1016
258 #endif
259 PHP_PQ_TYPE("INT8ARRAY", 1016)
260 #ifndef PHP_PQ_OID_POINTARRAY
261 # define PHP_PQ_OID_POINTARRAY 1017
262 #endif
263 PHP_PQ_TYPE("POINTARRAY", 1017)
264 #ifndef PHP_PQ_OID_LSEGARRAY
265 # define PHP_PQ_OID_LSEGARRAY 1018
266 #endif
267 PHP_PQ_TYPE("LSEGARRAY", 1018)
268 #ifndef PHP_PQ_OID_PATHARRAY
269 # define PHP_PQ_OID_PATHARRAY 1019
270 #endif
271 PHP_PQ_TYPE("PATHARRAY", 1019)
272 #ifndef PHP_PQ_OID_BOXARRAY
273 # define PHP_PQ_OID_BOXARRAY 1020
274 #endif
275 PHP_PQ_TYPE("BOXARRAY", 1020)
276 #ifndef PHP_PQ_OID_FLOAT4ARRAY
277 # define PHP_PQ_OID_FLOAT4ARRAY 1021
278 #endif
279 PHP_PQ_TYPE("FLOAT4ARRAY", 1021)
280 #ifndef PHP_PQ_OID_FLOAT8ARRAY
281 # define PHP_PQ_OID_FLOAT8ARRAY 1022
282 #endif
283 PHP_PQ_TYPE("FLOAT8ARRAY", 1022)
284 #ifndef PHP_PQ_OID_POLYGONARRAY
285 # define PHP_PQ_OID_POLYGONARRAY 1027
286 #endif
287 PHP_PQ_TYPE("POLYGONARRAY", 1027)
288 #ifndef PHP_PQ_OID_OIDARRAY
289 # define PHP_PQ_OID_OIDARRAY 1028
290 #endif
291 PHP_PQ_TYPE("OIDARRAY", 1028)
292 #ifndef PHP_PQ_OID_ACLITEM
293 # define PHP_PQ_OID_ACLITEM 1033
294 #endif
295 PHP_PQ_TYPE("ACLITEM", 1033)
296 #ifndef PHP_PQ_OID_ACLITEMARRAY
297 # define PHP_PQ_OID_ACLITEMARRAY 1034
298 #endif
299 PHP_PQ_TYPE("ACLITEMARRAY", 1034)
300 #ifndef PHP_PQ_OID_MACADDRARRAY
301 # define PHP_PQ_OID_MACADDRARRAY 1040
302 #endif
303 PHP_PQ_TYPE("MACADDRARRAY", 1040)
304 #ifndef PHP_PQ_OID_INETARRAY
305 # define PHP_PQ_OID_INETARRAY 1041
306 #endif
307 PHP_PQ_TYPE("INETARRAY", 1041)
308 #ifndef PHP_PQ_OID_BPCHAR
309 # define PHP_PQ_OID_BPCHAR 1042
310 #endif
311 PHP_PQ_TYPE("BPCHAR", 1042)
312 #ifndef PHP_PQ_OID_VARCHAR
313 # define PHP_PQ_OID_VARCHAR 1043
314 #endif
315 PHP_PQ_TYPE("VARCHAR", 1043)
316 #ifndef PHP_PQ_OID_DATE
317 # define PHP_PQ_OID_DATE 1082
318 #endif
319 PHP_PQ_TYPE("DATE", 1082)
320 #ifndef PHP_PQ_OID_TIME
321 # define PHP_PQ_OID_TIME 1083
322 #endif
323 PHP_PQ_TYPE("TIME", 1083)
324 #ifndef PHP_PQ_OID_TIMESTAMP
325 # define PHP_PQ_OID_TIMESTAMP 1114
326 #endif
327 PHP_PQ_TYPE("TIMESTAMP", 1114)
328 #ifndef PHP_PQ_OID_TIMESTAMPARRAY
329 # define PHP_PQ_OID_TIMESTAMPARRAY 1115
330 #endif
331 PHP_PQ_TYPE("TIMESTAMPARRAY", 1115)
332 #ifndef PHP_PQ_OID_DATEARRAY
333 # define PHP_PQ_OID_DATEARRAY 1182
334 #endif
335 PHP_PQ_TYPE("DATEARRAY", 1182)
336 #ifndef PHP_PQ_OID_TIMEARRAY
337 # define PHP_PQ_OID_TIMEARRAY 1183
338 #endif
339 PHP_PQ_TYPE("TIMEARRAY", 1183)
340 #ifndef PHP_PQ_OID_TIMESTAMPTZ
341 # define PHP_PQ_OID_TIMESTAMPTZ 1184
342 #endif
343 PHP_PQ_TYPE("TIMESTAMPTZ", 1184)
344 #ifndef PHP_PQ_OID_TIMESTAMPTZARRAY
345 # define PHP_PQ_OID_TIMESTAMPTZARRAY 1185
346 #endif
347 PHP_PQ_TYPE("TIMESTAMPTZARRAY", 1185)
348 #ifndef PHP_PQ_OID_INTERVAL
349 # define PHP_PQ_OID_INTERVAL 1186
350 #endif
351 PHP_PQ_TYPE("INTERVAL", 1186)
352 #ifndef PHP_PQ_OID_INTERVALARRAY
353 # define PHP_PQ_OID_INTERVALARRAY 1187
354 #endif
355 PHP_PQ_TYPE("INTERVALARRAY", 1187)
356 #ifndef PHP_PQ_OID_NUMERICARRAY
357 # define PHP_PQ_OID_NUMERICARRAY 1231
358 #endif
359 PHP_PQ_TYPE("NUMERICARRAY", 1231)
360 #ifndef PHP_PQ_OID_CSTRINGARRAY
361 # define PHP_PQ_OID_CSTRINGARRAY 1263
362 #endif
363 PHP_PQ_TYPE("CSTRINGARRAY", 1263)
364 #ifndef PHP_PQ_OID_TIMETZ
365 # define PHP_PQ_OID_TIMETZ 1266
366 #endif
367 PHP_PQ_TYPE("TIMETZ", 1266)
368 #ifndef PHP_PQ_OID_TIMETZARRAY
369 # define PHP_PQ_OID_TIMETZARRAY 1270
370 #endif
371 PHP_PQ_TYPE("TIMETZARRAY", 1270)
372 #ifndef PHP_PQ_OID_BIT
373 # define PHP_PQ_OID_BIT 1560
374 #endif
375 PHP_PQ_TYPE("BIT", 1560)
376 #ifndef PHP_PQ_OID_BITARRAY
377 # define PHP_PQ_OID_BITARRAY 1561
378 #endif
379 PHP_PQ_TYPE("BITARRAY", 1561)
380 #ifndef PHP_PQ_OID_VARBIT
381 # define PHP_PQ_OID_VARBIT 1562
382 #endif
383 PHP_PQ_TYPE("VARBIT", 1562)
384 #ifndef PHP_PQ_OID_VARBITARRAY
385 # define PHP_PQ_OID_VARBITARRAY 1563
386 #endif
387 PHP_PQ_TYPE("VARBITARRAY", 1563)
388 #ifndef PHP_PQ_OID_NUMERIC
389 # define PHP_PQ_OID_NUMERIC 1700
390 #endif
391 PHP_PQ_TYPE("NUMERIC", 1700)
392 #ifndef PHP_PQ_OID_REFCURSOR
393 # define PHP_PQ_OID_REFCURSOR 1790
394 #endif
395 PHP_PQ_TYPE("REFCURSOR", 1790)
396 #ifndef PHP_PQ_OID_REFCURSORARRAY
397 # define PHP_PQ_OID_REFCURSORARRAY 2201
398 #endif
399 PHP_PQ_TYPE("REFCURSORARRAY", 2201)
400 #ifndef PHP_PQ_OID_REGPROCEDURE
401 # define PHP_PQ_OID_REGPROCEDURE 2202
402 #endif
403 PHP_PQ_TYPE("REGPROCEDURE", 2202)
404 #ifndef PHP_PQ_OID_REGOPER
405 # define PHP_PQ_OID_REGOPER 2203
406 #endif
407 PHP_PQ_TYPE("REGOPER", 2203)
408 #ifndef PHP_PQ_OID_REGOPERATOR
409 # define PHP_PQ_OID_REGOPERATOR 2204
410 #endif
411 PHP_PQ_TYPE("REGOPERATOR", 2204)
412 #ifndef PHP_PQ_OID_REGCLASS
413 # define PHP_PQ_OID_REGCLASS 2205
414 #endif
415 PHP_PQ_TYPE("REGCLASS", 2205)
416 #ifndef PHP_PQ_OID_REGTYPE
417 # define PHP_PQ_OID_REGTYPE 2206
418 #endif
419 PHP_PQ_TYPE("REGTYPE", 2206)
420 #ifndef PHP_PQ_OID_REGPROCEDUREARRAY
421 # define PHP_PQ_OID_REGPROCEDUREARRAY 2207
422 #endif
423 PHP_PQ_TYPE("REGPROCEDUREARRAY", 2207)
424 #ifndef PHP_PQ_OID_REGOPERARRAY
425 # define PHP_PQ_OID_REGOPERARRAY 2208
426 #endif
427 PHP_PQ_TYPE("REGOPERARRAY", 2208)
428 #ifndef PHP_PQ_OID_REGOPERATORARRAY
429 # define PHP_PQ_OID_REGOPERATORARRAY 2209
430 #endif
431 PHP_PQ_TYPE("REGOPERATORARRAY", 2209)
432 #ifndef PHP_PQ_OID_REGCLASSARRAY
433 # define PHP_PQ_OID_REGCLASSARRAY 2210
434 #endif
435 PHP_PQ_TYPE("REGCLASSARRAY", 2210)
436 #ifndef PHP_PQ_OID_REGTYPEARRAY
437 # define PHP_PQ_OID_REGTYPEARRAY 2211
438 #endif
439 PHP_PQ_TYPE("REGTYPEARRAY", 2211)
440 #ifndef PHP_PQ_OID_RECORD
441 # define PHP_PQ_OID_RECORD 2249
442 #endif
443 PHP_PQ_TYPE("RECORD", 2249)
444 #ifndef PHP_PQ_OID_CSTRING
445 # define PHP_PQ_OID_CSTRING 2275
446 #endif
447 PHP_PQ_TYPE("CSTRING", 2275)
448 #ifndef PHP_PQ_OID_ANY
449 # define PHP_PQ_OID_ANY 2276
450 #endif
451 PHP_PQ_TYPE("ANY", 2276)
452 #ifndef PHP_PQ_OID_ANYARRAY
453 # define PHP_PQ_OID_ANYARRAY 2277
454 #endif
455 PHP_PQ_TYPE("ANYARRAY", 2277)
456 #ifndef PHP_PQ_OID_VOID
457 # define PHP_PQ_OID_VOID 2278
458 #endif
459 PHP_PQ_TYPE("VOID", 2278)
460 #ifndef PHP_PQ_OID_TRIGGER
461 # define PHP_PQ_OID_TRIGGER 2279
462 #endif
463 PHP_PQ_TYPE("TRIGGER", 2279)
464 #ifndef PHP_PQ_OID_LANGUAGE_HANDLER
465 # define PHP_PQ_OID_LANGUAGE_HANDLER 2280
466 #endif
467 PHP_PQ_TYPE("LANGUAGE_HANDLER", 2280)
468 #ifndef PHP_PQ_OID_INTERNAL
469 # define PHP_PQ_OID_INTERNAL 2281
470 #endif
471 PHP_PQ_TYPE("INTERNAL", 2281)
472 #ifndef PHP_PQ_OID_OPAQUE
473 # define PHP_PQ_OID_OPAQUE 2282
474 #endif
475 PHP_PQ_TYPE("OPAQUE", 2282)
476 #ifndef PHP_PQ_OID_ANYELEMENT
477 # define PHP_PQ_OID_ANYELEMENT 2283
478 #endif
479 PHP_PQ_TYPE("ANYELEMENT", 2283)
480 #ifndef PHP_PQ_OID__RECORD
481 # define PHP_PQ_OID__RECORD 2287
482 #endif
483 PHP_PQ_TYPE("_RECORD", 2287)
484 #ifndef PHP_PQ_OID_ANYNONARRAY
485 # define PHP_PQ_OID_ANYNONARRAY 2776
486 #endif
487 PHP_PQ_TYPE("ANYNONARRAY", 2776)
488 #ifndef PHP_PQ_OID_TXID_SNAPSHOTARRAY
489 # define PHP_PQ_OID_TXID_SNAPSHOTARRAY 2949
490 #endif
491 PHP_PQ_TYPE("TXID_SNAPSHOTARRAY", 2949)
492 #ifndef PHP_PQ_OID_UUID
493 # define PHP_PQ_OID_UUID 2950
494 #endif
495 PHP_PQ_TYPE("UUID", 2950)
496 #ifndef PHP_PQ_OID_UUIDARRAY
497 # define PHP_PQ_OID_UUIDARRAY 2951
498 #endif
499 PHP_PQ_TYPE("UUIDARRAY", 2951)
500 #ifndef PHP_PQ_OID_TXID_SNAPSHOT
501 # define PHP_PQ_OID_TXID_SNAPSHOT 2970
502 #endif
503 PHP_PQ_TYPE("TXID_SNAPSHOT", 2970)
504 #ifndef PHP_PQ_OID_FDW_HANDLER
505 # define PHP_PQ_OID_FDW_HANDLER 3115
506 #endif
507 PHP_PQ_TYPE("FDW_HANDLER", 3115)
508 #ifndef PHP_PQ_OID_PG_LSN
509 # define PHP_PQ_OID_PG_LSN 3220
510 #endif
511 PHP_PQ_TYPE("PG_LSN", 3220)
512 #ifndef PHP_PQ_OID_PG_LSNARRAY
513 # define PHP_PQ_OID_PG_LSNARRAY 3221
514 #endif
515 PHP_PQ_TYPE("PG_LSNARRAY", 3221)
516 #ifndef PHP_PQ_OID_TSM_HANDLER
517 # define PHP_PQ_OID_TSM_HANDLER 3310
518 #endif
519 PHP_PQ_TYPE("TSM_HANDLER", 3310)
520 #ifndef PHP_PQ_OID_PG_NDISTINCT
521 # define PHP_PQ_OID_PG_NDISTINCT 3361
522 #endif
523 PHP_PQ_TYPE("PG_NDISTINCT", 3361)
524 #ifndef PHP_PQ_OID_PG_DEPENDENCIES
525 # define PHP_PQ_OID_PG_DEPENDENCIES 3402
526 #endif
527 PHP_PQ_TYPE("PG_DEPENDENCIES", 3402)
528 #ifndef PHP_PQ_OID_ANYENUM
529 # define PHP_PQ_OID_ANYENUM 3500
530 #endif
531 PHP_PQ_TYPE("ANYENUM", 3500)
532 #ifndef PHP_PQ_OID_TSVECTOR
533 # define PHP_PQ_OID_TSVECTOR 3614
534 #endif
535 PHP_PQ_TYPE("TSVECTOR", 3614)
536 #ifndef PHP_PQ_OID_TSQUERY
537 # define PHP_PQ_OID_TSQUERY 3615
538 #endif
539 PHP_PQ_TYPE("TSQUERY", 3615)
540 #ifndef PHP_PQ_OID_GTSVECTOR
541 # define PHP_PQ_OID_GTSVECTOR 3642
542 #endif
543 PHP_PQ_TYPE("GTSVECTOR", 3642)
544 #ifndef PHP_PQ_OID_TSVECTORARRAY
545 # define PHP_PQ_OID_TSVECTORARRAY 3643
546 #endif
547 PHP_PQ_TYPE("TSVECTORARRAY", 3643)
548 #ifndef PHP_PQ_OID_GTSVECTORARRAY
549 # define PHP_PQ_OID_GTSVECTORARRAY 3644
550 #endif
551 PHP_PQ_TYPE("GTSVECTORARRAY", 3644)
552 #ifndef PHP_PQ_OID_TSQUERYARRAY
553 # define PHP_PQ_OID_TSQUERYARRAY 3645
554 #endif
555 PHP_PQ_TYPE("TSQUERYARRAY", 3645)
556 #ifndef PHP_PQ_OID_REGCONFIG
557 # define PHP_PQ_OID_REGCONFIG 3734
558 #endif
559 PHP_PQ_TYPE("REGCONFIG", 3734)
560 #ifndef PHP_PQ_OID_REGCONFIGARRAY
561 # define PHP_PQ_OID_REGCONFIGARRAY 3735
562 #endif
563 PHP_PQ_TYPE("REGCONFIGARRAY", 3735)
564 #ifndef PHP_PQ_OID_REGDICTIONARY
565 # define PHP_PQ_OID_REGDICTIONARY 3769
566 #endif
567 PHP_PQ_TYPE("REGDICTIONARY", 3769)
568 #ifndef PHP_PQ_OID_REGDICTIONARYARRAY
569 # define PHP_PQ_OID_REGDICTIONARYARRAY 3770
570 #endif
571 PHP_PQ_TYPE("REGDICTIONARYARRAY", 3770)
572 #ifndef PHP_PQ_OID_JSONB
573 # define PHP_PQ_OID_JSONB 3802
574 #endif
575 PHP_PQ_TYPE("JSONB", 3802)
576 #ifndef PHP_PQ_OID_JSONBARRAY
577 # define PHP_PQ_OID_JSONBARRAY 3807
578 #endif
579 PHP_PQ_TYPE("JSONBARRAY", 3807)
580 #ifndef PHP_PQ_OID_ANYRANGE
581 # define PHP_PQ_OID_ANYRANGE 3831
582 #endif
583 PHP_PQ_TYPE("ANYRANGE", 3831)
584 #ifndef PHP_PQ_OID_EVENT_TRIGGER
585 # define PHP_PQ_OID_EVENT_TRIGGER 3838
586 #endif
587 PHP_PQ_TYPE("EVENT_TRIGGER", 3838)
588 #ifndef PHP_PQ_OID_INT4RANGE
589 # define PHP_PQ_OID_INT4RANGE 3904
590 #endif
591 PHP_PQ_TYPE("INT4RANGE", 3904)
592 #ifndef PHP_PQ_OID_INT4RANGEARRAY
593 # define PHP_PQ_OID_INT4RANGEARRAY 3905
594 #endif
595 PHP_PQ_TYPE("INT4RANGEARRAY", 3905)
596 #ifndef PHP_PQ_OID_NUMRANGE
597 # define PHP_PQ_OID_NUMRANGE 3906
598 #endif
599 PHP_PQ_TYPE("NUMRANGE", 3906)
600 #ifndef PHP_PQ_OID_NUMRANGEARRAY
601 # define PHP_PQ_OID_NUMRANGEARRAY 3907
602 #endif
603 PHP_PQ_TYPE("NUMRANGEARRAY", 3907)
604 #ifndef PHP_PQ_OID_TSRANGE
605 # define PHP_PQ_OID_TSRANGE 3908
606 #endif
607 PHP_PQ_TYPE("TSRANGE", 3908)
608 #ifndef PHP_PQ_OID_TSRANGEARRAY
609 # define PHP_PQ_OID_TSRANGEARRAY 3909
610 #endif
611 PHP_PQ_TYPE("TSRANGEARRAY", 3909)
612 #ifndef PHP_PQ_OID_TSTZRANGE
613 # define PHP_PQ_OID_TSTZRANGE 3910
614 #endif
615 PHP_PQ_TYPE("TSTZRANGE", 3910)
616 #ifndef PHP_PQ_OID_TSTZRANGEARRAY
617 # define PHP_PQ_OID_TSTZRANGEARRAY 3911
618 #endif
619 PHP_PQ_TYPE("TSTZRANGEARRAY", 3911)
620 #ifndef PHP_PQ_OID_DATERANGE
621 # define PHP_PQ_OID_DATERANGE 3912
622 #endif
623 PHP_PQ_TYPE("DATERANGE", 3912)
624 #ifndef PHP_PQ_OID_DATERANGEARRAY
625 # define PHP_PQ_OID_DATERANGEARRAY 3913
626 #endif
627 PHP_PQ_TYPE("DATERANGEARRAY", 3913)
628 #ifndef PHP_PQ_OID_INT8RANGE
629 # define PHP_PQ_OID_INT8RANGE 3926
630 #endif
631 PHP_PQ_TYPE("INT8RANGE", 3926)
632 #ifndef PHP_PQ_OID_INT8RANGEARRAY
633 # define PHP_PQ_OID_INT8RANGEARRAY 3927
634 #endif
635 PHP_PQ_TYPE("INT8RANGEARRAY", 3927)
636 #ifndef PHP_PQ_OID_REGNAMESPACE
637 # define PHP_PQ_OID_REGNAMESPACE 4089
638 #endif
639 PHP_PQ_TYPE("REGNAMESPACE", 4089)
640 #ifndef PHP_PQ_OID_REGNAMESPACEARRAY
641 # define PHP_PQ_OID_REGNAMESPACEARRAY 4090
642 #endif
643 PHP_PQ_TYPE("REGNAMESPACEARRAY", 4090)
644 #ifndef PHP_PQ_OID_REGROLE
645 # define PHP_PQ_OID_REGROLE 4096
646 #endif
647 PHP_PQ_TYPE("REGROLE", 4096)
648 #ifndef PHP_PQ_OID_REGROLEARRAY
649 # define PHP_PQ_OID_REGROLEARRAY 4097
650 #endif
651 PHP_PQ_TYPE("REGROLEARRAY", 4097)
652
653 #ifndef PHP_PQ_TYPE_IS_ARRAY
654 # define PHP_PQ_TYPE_IS_ARRAY(oid) ( \
655 0 \
656 || ((oid) == 143) \
657 || ((oid) == 199) \
658 || ((oid) == 629) \
659 || ((oid) == 651) \
660 || ((oid) == 719) \
661 || ((oid) == 775) \
662 || ((oid) == 791) \
663 || ((oid) == 1000) \
664 || ((oid) == 1001) \
665 || ((oid) == 1002) \
666 || ((oid) == 1003) \
667 || ((oid) == 1005) \
668 || ((oid) == 1006) \
669 || ((oid) == 1007) \
670 || ((oid) == 1008) \
671 || ((oid) == 1009) \
672 || ((oid) == 1010) \
673 || ((oid) == 1011) \
674 || ((oid) == 1012) \
675 || ((oid) == 1013) \
676 || ((oid) == 1014) \
677 || ((oid) == 1015) \
678 || ((oid) == 1016) \
679 || ((oid) == 1017) \
680 || ((oid) == 1018) \
681 || ((oid) == 1019) \
682 || ((oid) == 1020) \
683 || ((oid) == 1021) \
684 || ((oid) == 1022) \
685 || ((oid) == 1027) \
686 || ((oid) == 1028) \
687 || ((oid) == 1034) \
688 || ((oid) == 1040) \
689 || ((oid) == 1041) \
690 || ((oid) == 1115) \
691 || ((oid) == 1182) \
692 || ((oid) == 1183) \
693 || ((oid) == 1185) \
694 || ((oid) == 1187) \
695 || ((oid) == 1231) \
696 || ((oid) == 1263) \
697 || ((oid) == 1270) \
698 || ((oid) == 1561) \
699 || ((oid) == 1563) \
700 || ((oid) == 2201) \
701 || ((oid) == 2207) \
702 || ((oid) == 2208) \
703 || ((oid) == 2209) \
704 || ((oid) == 2210) \
705 || ((oid) == 2211) \
706 || ((oid) == 2949) \
707 || ((oid) == 2951) \
708 || ((oid) == 3221) \
709 || ((oid) == 3643) \
710 || ((oid) == 3644) \
711 || ((oid) == 3645) \
712 || ((oid) == 3735) \
713 || ((oid) == 3770) \
714 || ((oid) == 3807) \
715 || ((oid) == 3905) \
716 || ((oid) == 3907) \
717 || ((oid) == 3909) \
718 || ((oid) == 3911) \
719 || ((oid) == 3913) \
720 || ((oid) == 3927) \
721 || ((oid) == 4090) \
722 || ((oid) == 4097) \
723 )
724 #endif
725
726 #ifndef PHP_PQ_TYPE_OF_ARRAY
727 # define PHP_PQ_TYPE_OF_ARRAY(oid) ( \
728 (oid) == 143 ? 142 : \
729 (oid) == 199 ? 114 : \
730 (oid) == 629 ? 628 : \
731 (oid) == 651 ? 650 : \
732 (oid) == 719 ? 718 : \
733 (oid) == 775 ? 774 : \
734 (oid) == 791 ? 790 : \
735 (oid) == 1000 ? 16 : \
736 (oid) == 1001 ? 17 : \
737 (oid) == 1002 ? 18 : \
738 (oid) == 1003 ? 19 : \
739 (oid) == 1005 ? 21 : \
740 (oid) == 1006 ? 22 : \
741 (oid) == 1007 ? 23 : \
742 (oid) == 1008 ? 24 : \
743 (oid) == 1009 ? 25 : \
744 (oid) == 1010 ? 27 : \
745 (oid) == 1011 ? 28 : \
746 (oid) == 1012 ? 29 : \
747 (oid) == 1013 ? 30 : \
748 (oid) == 1014 ? 1042 : \
749 (oid) == 1015 ? 1043 : \
750 (oid) == 1016 ? 20 : \
751 (oid) == 1017 ? 600 : \
752 (oid) == 1018 ? 601 : \
753 (oid) == 1019 ? 602 : \
754 (oid) == 1020 ? 603 : \
755 (oid) == 1021 ? 700 : \
756 (oid) == 1022 ? 701 : \
757 (oid) == 1027 ? 604 : \
758 (oid) == 1028 ? 26 : \
759 (oid) == 1034 ? 1033 : \
760 (oid) == 1040 ? 829 : \
761 (oid) == 1041 ? 869 : \
762 (oid) == 1115 ? 1114 : \
763 (oid) == 1182 ? 1082 : \
764 (oid) == 1183 ? 1083 : \
765 (oid) == 1185 ? 1184 : \
766 (oid) == 1187 ? 1186 : \
767 (oid) == 1231 ? 1700 : \
768 (oid) == 1263 ? 2275 : \
769 (oid) == 1270 ? 1266 : \
770 (oid) == 1561 ? 1560 : \
771 (oid) == 1563 ? 1562 : \
772 (oid) == 2201 ? 1790 : \
773 (oid) == 2207 ? 2202 : \
774 (oid) == 2208 ? 2203 : \
775 (oid) == 2209 ? 2204 : \
776 (oid) == 2210 ? 2205 : \
777 (oid) == 2211 ? 2206 : \
778 (oid) == 2949 ? 2970 : \
779 (oid) == 2951 ? 2950 : \
780 (oid) == 3221 ? 3220 : \
781 (oid) == 3643 ? 3614 : \
782 (oid) == 3644 ? 3642 : \
783 (oid) == 3645 ? 3615 : \
784 (oid) == 3735 ? 3734 : \
785 (oid) == 3770 ? 3769 : \
786 (oid) == 3807 ? 3802 : \
787 (oid) == 3905 ? 3904 : \
788 (oid) == 3907 ? 3906 : \
789 (oid) == 3909 ? 3908 : \
790 (oid) == 3911 ? 3910 : \
791 (oid) == 3913 ? 3912 : \
792 (oid) == 3927 ? 3926 : \
793 (oid) == 4090 ? 4089 : \
794 (oid) == 4097 ? 4096 : \
795 0 \
796 )
797 #endif
798
799 #ifndef PHP_PQ_DELIM_OF_ARRAY
800 # define PHP_PQ_DELIM_OF_ARRAY(oid) ((char) ( \
801 (oid) == 1020 ? ';' : \
802 (oid) == 603 ? ';' : \
803 ',' \
804 ))
805 #endif