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