Skip to main content

elefant_client/types/
standard_types.rs

1// Autogenerated file - DO NOT EDIT
2use crate::PostgresType;
3
4impl PostgresType {
5    pub const ACLITEM: PostgresType = PostgresType {
6        oid: 1033,
7        name: "aclitem",
8        element: None,
9        is_array: false,
10        array_delimiter: ',',
11    };
12
13    pub const ACLITEM_ARRAY: PostgresType = PostgresType {
14        oid: 1034,
15        name: "_aclitem",
16        element: Some(&PostgresType::ACLITEM),
17        is_array: true,
18        array_delimiter: ',',
19    };
20
21    pub const ANY: PostgresType = PostgresType {
22        oid: 2276,
23        name: "any",
24        element: None,
25        is_array: false,
26        array_delimiter: ',',
27    };
28
29    pub const ANYARRAY: PostgresType = PostgresType {
30        oid: 2277,
31        name: "anyarray",
32        element: None,
33        is_array: false,
34        array_delimiter: ',',
35    };
36
37    pub const ANYCOMPATIBLE: PostgresType = PostgresType {
38        oid: 5077,
39        name: "anycompatible",
40        element: None,
41        is_array: false,
42        array_delimiter: ',',
43    };
44
45    pub const ANYCOMPATIBLEARRAY: PostgresType = PostgresType {
46        oid: 5078,
47        name: "anycompatiblearray",
48        element: None,
49        is_array: false,
50        array_delimiter: ',',
51    };
52
53    pub const ANYCOMPATIBLEMULTIRANGE: PostgresType = PostgresType {
54        oid: 4538,
55        name: "anycompatiblemultirange",
56        element: None,
57        is_array: false,
58        array_delimiter: ',',
59    };
60
61    pub const ANYCOMPATIBLENONARRAY: PostgresType = PostgresType {
62        oid: 5079,
63        name: "anycompatiblenonarray",
64        element: None,
65        is_array: false,
66        array_delimiter: ',',
67    };
68
69    pub const ANYCOMPATIBLERANGE: PostgresType = PostgresType {
70        oid: 5080,
71        name: "anycompatiblerange",
72        element: None,
73        is_array: false,
74        array_delimiter: ',',
75    };
76
77    pub const ANYELEMENT: PostgresType = PostgresType {
78        oid: 2283,
79        name: "anyelement",
80        element: None,
81        is_array: false,
82        array_delimiter: ',',
83    };
84
85    pub const ANYENUM: PostgresType = PostgresType {
86        oid: 3500,
87        name: "anyenum",
88        element: None,
89        is_array: false,
90        array_delimiter: ',',
91    };
92
93    pub const ANYMULTIRANGE: PostgresType = PostgresType {
94        oid: 4537,
95        name: "anymultirange",
96        element: None,
97        is_array: false,
98        array_delimiter: ',',
99    };
100
101    pub const ANYNONARRAY: PostgresType = PostgresType {
102        oid: 2776,
103        name: "anynonarray",
104        element: None,
105        is_array: false,
106        array_delimiter: ',',
107    };
108
109    pub const ANYRANGE: PostgresType = PostgresType {
110        oid: 3831,
111        name: "anyrange",
112        element: None,
113        is_array: false,
114        array_delimiter: ',',
115    };
116
117    pub const BIT: PostgresType = PostgresType {
118        oid: 1560,
119        name: "bit",
120        element: None,
121        is_array: false,
122        array_delimiter: ',',
123    };
124
125    pub const BIT_ARRAY: PostgresType = PostgresType {
126        oid: 1561,
127        name: "_bit",
128        element: Some(&PostgresType::BIT),
129        is_array: true,
130        array_delimiter: ',',
131    };
132
133    pub const BOOL: PostgresType = PostgresType {
134        oid: 16,
135        name: "bool",
136        element: None,
137        is_array: false,
138        array_delimiter: ',',
139    };
140
141    pub const BOOL_ARRAY: PostgresType = PostgresType {
142        oid: 1000,
143        name: "_bool",
144        element: Some(&PostgresType::BOOL),
145        is_array: true,
146        array_delimiter: ',',
147    };
148
149    pub const BOX: PostgresType = PostgresType {
150        oid: 603,
151        name: "box",
152        element: Some(&PostgresType::POINT),
153        is_array: false,
154        array_delimiter: ';',
155    };
156
157    pub const BOX_ARRAY: PostgresType = PostgresType {
158        oid: 1020,
159        name: "_box",
160        element: Some(&PostgresType::BOX),
161        is_array: true,
162        array_delimiter: ';',
163    };
164
165    pub const BPCHAR: PostgresType = PostgresType {
166        oid: 1042,
167        name: "bpchar",
168        element: None,
169        is_array: false,
170        array_delimiter: ',',
171    };
172
173    pub const BPCHAR_ARRAY: PostgresType = PostgresType {
174        oid: 1014,
175        name: "_bpchar",
176        element: Some(&PostgresType::BPCHAR),
177        is_array: true,
178        array_delimiter: ',',
179    };
180
181    pub const BYTEA: PostgresType = PostgresType {
182        oid: 17,
183        name: "bytea",
184        element: None,
185        is_array: false,
186        array_delimiter: ',',
187    };
188
189    pub const BYTEA_ARRAY: PostgresType = PostgresType {
190        oid: 1001,
191        name: "_bytea",
192        element: Some(&PostgresType::BYTEA),
193        is_array: true,
194        array_delimiter: ',',
195    };
196
197    pub const CHAR: PostgresType = PostgresType {
198        oid: 18,
199        name: "char",
200        element: None,
201        is_array: false,
202        array_delimiter: ',',
203    };
204
205    pub const CHAR_ARRAY: PostgresType = PostgresType {
206        oid: 1002,
207        name: "_char",
208        element: Some(&PostgresType::CHAR),
209        is_array: true,
210        array_delimiter: ',',
211    };
212
213    pub const CID: PostgresType = PostgresType {
214        oid: 29,
215        name: "cid",
216        element: None,
217        is_array: false,
218        array_delimiter: ',',
219    };
220
221    pub const CIDR: PostgresType = PostgresType {
222        oid: 650,
223        name: "cidr",
224        element: None,
225        is_array: false,
226        array_delimiter: ',',
227    };
228
229    pub const CIDR_ARRAY: PostgresType = PostgresType {
230        oid: 651,
231        name: "_cidr",
232        element: Some(&PostgresType::CIDR),
233        is_array: true,
234        array_delimiter: ',',
235    };
236
237    pub const CID_ARRAY: PostgresType = PostgresType {
238        oid: 1012,
239        name: "_cid",
240        element: Some(&PostgresType::CID),
241        is_array: true,
242        array_delimiter: ',',
243    };
244
245    pub const CIRCLE: PostgresType = PostgresType {
246        oid: 718,
247        name: "circle",
248        element: None,
249        is_array: false,
250        array_delimiter: ',',
251    };
252
253    pub const CIRCLE_ARRAY: PostgresType = PostgresType {
254        oid: 719,
255        name: "_circle",
256        element: Some(&PostgresType::CIRCLE),
257        is_array: true,
258        array_delimiter: ',',
259    };
260
261    pub const CSTRING: PostgresType = PostgresType {
262        oid: 2275,
263        name: "cstring",
264        element: None,
265        is_array: false,
266        array_delimiter: ',',
267    };
268
269    pub const CSTRING_ARRAY: PostgresType = PostgresType {
270        oid: 1263,
271        name: "_cstring",
272        element: Some(&PostgresType::CSTRING),
273        is_array: true,
274        array_delimiter: ',',
275    };
276
277    pub const DATE: PostgresType = PostgresType {
278        oid: 1082,
279        name: "date",
280        element: None,
281        is_array: false,
282        array_delimiter: ',',
283    };
284
285    pub const DATEMULTIRANGE: PostgresType = PostgresType {
286        oid: 4535,
287        name: "datemultirange",
288        element: None,
289        is_array: false,
290        array_delimiter: ',',
291    };
292
293    pub const DATEMULTIRANGE_ARRAY: PostgresType = PostgresType {
294        oid: 6155,
295        name: "_datemultirange",
296        element: Some(&PostgresType::DATEMULTIRANGE),
297        is_array: true,
298        array_delimiter: ',',
299    };
300
301    pub const DATERANGE: PostgresType = PostgresType {
302        oid: 3912,
303        name: "daterange",
304        element: None,
305        is_array: false,
306        array_delimiter: ',',
307    };
308
309    pub const DATERANGE_ARRAY: PostgresType = PostgresType {
310        oid: 3913,
311        name: "_daterange",
312        element: Some(&PostgresType::DATERANGE),
313        is_array: true,
314        array_delimiter: ',',
315    };
316
317    pub const DATE_ARRAY: PostgresType = PostgresType {
318        oid: 1182,
319        name: "_date",
320        element: Some(&PostgresType::DATE),
321        is_array: true,
322        array_delimiter: ',',
323    };
324
325    pub const EVENT_TRIGGER: PostgresType = PostgresType {
326        oid: 3838,
327        name: "event_trigger",
328        element: None,
329        is_array: false,
330        array_delimiter: ',',
331    };
332
333    pub const FDW_HANDLER: PostgresType = PostgresType {
334        oid: 3115,
335        name: "fdw_handler",
336        element: None,
337        is_array: false,
338        array_delimiter: ',',
339    };
340
341    pub const FLOAT4: PostgresType = PostgresType {
342        oid: 700,
343        name: "float4",
344        element: None,
345        is_array: false,
346        array_delimiter: ',',
347    };
348
349    pub const FLOAT4_ARRAY: PostgresType = PostgresType {
350        oid: 1021,
351        name: "_float4",
352        element: Some(&PostgresType::FLOAT4),
353        is_array: true,
354        array_delimiter: ',',
355    };
356
357    pub const FLOAT8: PostgresType = PostgresType {
358        oid: 701,
359        name: "float8",
360        element: None,
361        is_array: false,
362        array_delimiter: ',',
363    };
364
365    pub const FLOAT8_ARRAY: PostgresType = PostgresType {
366        oid: 1022,
367        name: "_float8",
368        element: Some(&PostgresType::FLOAT8),
369        is_array: true,
370        array_delimiter: ',',
371    };
372
373    pub const GTSVECTOR: PostgresType = PostgresType {
374        oid: 3642,
375        name: "gtsvector",
376        element: None,
377        is_array: false,
378        array_delimiter: ',',
379    };
380
381    pub const GTSVECTOR_ARRAY: PostgresType = PostgresType {
382        oid: 3644,
383        name: "_gtsvector",
384        element: Some(&PostgresType::GTSVECTOR),
385        is_array: true,
386        array_delimiter: ',',
387    };
388
389    pub const INDEX_AM_HANDLER: PostgresType = PostgresType {
390        oid: 325,
391        name: "index_am_handler",
392        element: None,
393        is_array: false,
394        array_delimiter: ',',
395    };
396
397    pub const INET: PostgresType = PostgresType {
398        oid: 869,
399        name: "inet",
400        element: None,
401        is_array: false,
402        array_delimiter: ',',
403    };
404
405    pub const INET_ARRAY: PostgresType = PostgresType {
406        oid: 1041,
407        name: "_inet",
408        element: Some(&PostgresType::INET),
409        is_array: true,
410        array_delimiter: ',',
411    };
412
413    pub const INT2: PostgresType = PostgresType {
414        oid: 21,
415        name: "int2",
416        element: None,
417        is_array: false,
418        array_delimiter: ',',
419    };
420
421    pub const INT2VECTOR: PostgresType = PostgresType {
422        oid: 22,
423        name: "int2vector",
424        element: Some(&PostgresType::INT2),
425        is_array: false,
426        array_delimiter: ',',
427    };
428
429    pub const INT2VECTOR_ARRAY: PostgresType = PostgresType {
430        oid: 1006,
431        name: "_int2vector",
432        element: Some(&PostgresType::INT2VECTOR),
433        is_array: true,
434        array_delimiter: ',',
435    };
436
437    pub const INT2_ARRAY: PostgresType = PostgresType {
438        oid: 1005,
439        name: "_int2",
440        element: Some(&PostgresType::INT2),
441        is_array: true,
442        array_delimiter: ',',
443    };
444
445    pub const INT4: PostgresType = PostgresType {
446        oid: 23,
447        name: "int4",
448        element: None,
449        is_array: false,
450        array_delimiter: ',',
451    };
452
453    pub const INT4MULTIRANGE: PostgresType = PostgresType {
454        oid: 4451,
455        name: "int4multirange",
456        element: None,
457        is_array: false,
458        array_delimiter: ',',
459    };
460
461    pub const INT4MULTIRANGE_ARRAY: PostgresType = PostgresType {
462        oid: 6150,
463        name: "_int4multirange",
464        element: Some(&PostgresType::INT4MULTIRANGE),
465        is_array: true,
466        array_delimiter: ',',
467    };
468
469    pub const INT4RANGE: PostgresType = PostgresType {
470        oid: 3904,
471        name: "int4range",
472        element: None,
473        is_array: false,
474        array_delimiter: ',',
475    };
476
477    pub const INT4RANGE_ARRAY: PostgresType = PostgresType {
478        oid: 3905,
479        name: "_int4range",
480        element: Some(&PostgresType::INT4RANGE),
481        is_array: true,
482        array_delimiter: ',',
483    };
484
485    pub const INT4_ARRAY: PostgresType = PostgresType {
486        oid: 1007,
487        name: "_int4",
488        element: Some(&PostgresType::INT4),
489        is_array: true,
490        array_delimiter: ',',
491    };
492
493    pub const INT8: PostgresType = PostgresType {
494        oid: 20,
495        name: "int8",
496        element: None,
497        is_array: false,
498        array_delimiter: ',',
499    };
500
501    pub const INT8MULTIRANGE: PostgresType = PostgresType {
502        oid: 4536,
503        name: "int8multirange",
504        element: None,
505        is_array: false,
506        array_delimiter: ',',
507    };
508
509    pub const INT8MULTIRANGE_ARRAY: PostgresType = PostgresType {
510        oid: 6157,
511        name: "_int8multirange",
512        element: Some(&PostgresType::INT8MULTIRANGE),
513        is_array: true,
514        array_delimiter: ',',
515    };
516
517    pub const INT8RANGE: PostgresType = PostgresType {
518        oid: 3926,
519        name: "int8range",
520        element: None,
521        is_array: false,
522        array_delimiter: ',',
523    };
524
525    pub const INT8RANGE_ARRAY: PostgresType = PostgresType {
526        oid: 3927,
527        name: "_int8range",
528        element: Some(&PostgresType::INT8RANGE),
529        is_array: true,
530        array_delimiter: ',',
531    };
532
533    pub const INT8_ARRAY: PostgresType = PostgresType {
534        oid: 1016,
535        name: "_int8",
536        element: Some(&PostgresType::INT8),
537        is_array: true,
538        array_delimiter: ',',
539    };
540
541    pub const INTERNAL: PostgresType = PostgresType {
542        oid: 2281,
543        name: "internal",
544        element: None,
545        is_array: false,
546        array_delimiter: ',',
547    };
548
549    pub const INTERVAL: PostgresType = PostgresType {
550        oid: 1186,
551        name: "interval",
552        element: None,
553        is_array: false,
554        array_delimiter: ',',
555    };
556
557    pub const INTERVAL_ARRAY: PostgresType = PostgresType {
558        oid: 1187,
559        name: "_interval",
560        element: Some(&PostgresType::INTERVAL),
561        is_array: true,
562        array_delimiter: ',',
563    };
564
565    pub const JSON: PostgresType = PostgresType {
566        oid: 114,
567        name: "json",
568        element: None,
569        is_array: false,
570        array_delimiter: ',',
571    };
572
573    pub const JSONB: PostgresType = PostgresType {
574        oid: 3802,
575        name: "jsonb",
576        element: None,
577        is_array: false,
578        array_delimiter: ',',
579    };
580
581    pub const JSONB_ARRAY: PostgresType = PostgresType {
582        oid: 3807,
583        name: "_jsonb",
584        element: Some(&PostgresType::JSONB),
585        is_array: true,
586        array_delimiter: ',',
587    };
588
589    pub const JSONPATH: PostgresType = PostgresType {
590        oid: 4072,
591        name: "jsonpath",
592        element: None,
593        is_array: false,
594        array_delimiter: ',',
595    };
596
597    pub const JSONPATH_ARRAY: PostgresType = PostgresType {
598        oid: 4073,
599        name: "_jsonpath",
600        element: Some(&PostgresType::JSONPATH),
601        is_array: true,
602        array_delimiter: ',',
603    };
604
605    pub const JSON_ARRAY: PostgresType = PostgresType {
606        oid: 199,
607        name: "_json",
608        element: Some(&PostgresType::JSON),
609        is_array: true,
610        array_delimiter: ',',
611    };
612
613    pub const LANGUAGE_HANDLER: PostgresType = PostgresType {
614        oid: 2280,
615        name: "language_handler",
616        element: None,
617        is_array: false,
618        array_delimiter: ',',
619    };
620
621    pub const LINE: PostgresType = PostgresType {
622        oid: 628,
623        name: "line",
624        element: Some(&PostgresType::FLOAT8),
625        is_array: false,
626        array_delimiter: ',',
627    };
628
629    pub const LINE_ARRAY: PostgresType = PostgresType {
630        oid: 629,
631        name: "_line",
632        element: Some(&PostgresType::LINE),
633        is_array: true,
634        array_delimiter: ',',
635    };
636
637    pub const LSEG: PostgresType = PostgresType {
638        oid: 601,
639        name: "lseg",
640        element: Some(&PostgresType::POINT),
641        is_array: false,
642        array_delimiter: ',',
643    };
644
645    pub const LSEG_ARRAY: PostgresType = PostgresType {
646        oid: 1018,
647        name: "_lseg",
648        element: Some(&PostgresType::LSEG),
649        is_array: true,
650        array_delimiter: ',',
651    };
652
653    pub const MACADDR: PostgresType = PostgresType {
654        oid: 829,
655        name: "macaddr",
656        element: None,
657        is_array: false,
658        array_delimiter: ',',
659    };
660
661    pub const MACADDR8: PostgresType = PostgresType {
662        oid: 774,
663        name: "macaddr8",
664        element: None,
665        is_array: false,
666        array_delimiter: ',',
667    };
668
669    pub const MACADDR8_ARRAY: PostgresType = PostgresType {
670        oid: 775,
671        name: "_macaddr8",
672        element: Some(&PostgresType::MACADDR8),
673        is_array: true,
674        array_delimiter: ',',
675    };
676
677    pub const MACADDR_ARRAY: PostgresType = PostgresType {
678        oid: 1040,
679        name: "_macaddr",
680        element: Some(&PostgresType::MACADDR),
681        is_array: true,
682        array_delimiter: ',',
683    };
684
685    pub const MONEY: PostgresType = PostgresType {
686        oid: 790,
687        name: "money",
688        element: None,
689        is_array: false,
690        array_delimiter: ',',
691    };
692
693    pub const MONEY_ARRAY: PostgresType = PostgresType {
694        oid: 791,
695        name: "_money",
696        element: Some(&PostgresType::MONEY),
697        is_array: true,
698        array_delimiter: ',',
699    };
700
701    pub const NAME: PostgresType = PostgresType {
702        oid: 19,
703        name: "name",
704        element: Some(&PostgresType::CHAR),
705        is_array: false,
706        array_delimiter: ',',
707    };
708
709    pub const NAME_ARRAY: PostgresType = PostgresType {
710        oid: 1003,
711        name: "_name",
712        element: Some(&PostgresType::NAME),
713        is_array: true,
714        array_delimiter: ',',
715    };
716
717    pub const NUMERIC: PostgresType = PostgresType {
718        oid: 1700,
719        name: "numeric",
720        element: None,
721        is_array: false,
722        array_delimiter: ',',
723    };
724
725    pub const NUMERIC_ARRAY: PostgresType = PostgresType {
726        oid: 1231,
727        name: "_numeric",
728        element: Some(&PostgresType::NUMERIC),
729        is_array: true,
730        array_delimiter: ',',
731    };
732
733    pub const NUMMULTIRANGE: PostgresType = PostgresType {
734        oid: 4532,
735        name: "nummultirange",
736        element: None,
737        is_array: false,
738        array_delimiter: ',',
739    };
740
741    pub const NUMMULTIRANGE_ARRAY: PostgresType = PostgresType {
742        oid: 6151,
743        name: "_nummultirange",
744        element: Some(&PostgresType::NUMMULTIRANGE),
745        is_array: true,
746        array_delimiter: ',',
747    };
748
749    pub const NUMRANGE: PostgresType = PostgresType {
750        oid: 3906,
751        name: "numrange",
752        element: None,
753        is_array: false,
754        array_delimiter: ',',
755    };
756
757    pub const NUMRANGE_ARRAY: PostgresType = PostgresType {
758        oid: 3907,
759        name: "_numrange",
760        element: Some(&PostgresType::NUMRANGE),
761        is_array: true,
762        array_delimiter: ',',
763    };
764
765    pub const OID: PostgresType = PostgresType {
766        oid: 26,
767        name: "oid",
768        element: None,
769        is_array: false,
770        array_delimiter: ',',
771    };
772
773    pub const OIDVECTOR: PostgresType = PostgresType {
774        oid: 30,
775        name: "oidvector",
776        element: Some(&PostgresType::OID),
777        is_array: false,
778        array_delimiter: ',',
779    };
780
781    pub const OIDVECTOR_ARRAY: PostgresType = PostgresType {
782        oid: 1013,
783        name: "_oidvector",
784        element: Some(&PostgresType::OIDVECTOR),
785        is_array: true,
786        array_delimiter: ',',
787    };
788
789    pub const OID_ARRAY: PostgresType = PostgresType {
790        oid: 1028,
791        name: "_oid",
792        element: Some(&PostgresType::OID),
793        is_array: true,
794        array_delimiter: ',',
795    };
796
797    pub const PATH: PostgresType = PostgresType {
798        oid: 602,
799        name: "path",
800        element: None,
801        is_array: false,
802        array_delimiter: ',',
803    };
804
805    pub const PATH_ARRAY: PostgresType = PostgresType {
806        oid: 1019,
807        name: "_path",
808        element: Some(&PostgresType::PATH),
809        is_array: true,
810        array_delimiter: ',',
811    };
812
813    pub const PG_BRIN_BLOOM_SUMMARY: PostgresType = PostgresType {
814        oid: 4600,
815        name: "pg_brin_bloom_summary",
816        element: None,
817        is_array: false,
818        array_delimiter: ',',
819    };
820
821    pub const PG_BRIN_MINMAX_MULTI_SUMMARY: PostgresType = PostgresType {
822        oid: 4601,
823        name: "pg_brin_minmax_multi_summary",
824        element: None,
825        is_array: false,
826        array_delimiter: ',',
827    };
828
829    pub const PG_DDL_COMMAND: PostgresType = PostgresType {
830        oid: 32,
831        name: "pg_ddl_command",
832        element: None,
833        is_array: false,
834        array_delimiter: ',',
835    };
836
837    pub const PG_DEPENDENCIES: PostgresType = PostgresType {
838        oid: 3402,
839        name: "pg_dependencies",
840        element: None,
841        is_array: false,
842        array_delimiter: ',',
843    };
844
845    pub const PG_LSN: PostgresType = PostgresType {
846        oid: 3220,
847        name: "pg_lsn",
848        element: None,
849        is_array: false,
850        array_delimiter: ',',
851    };
852
853    pub const PG_LSN_ARRAY: PostgresType = PostgresType {
854        oid: 3221,
855        name: "_pg_lsn",
856        element: Some(&PostgresType::PG_LSN),
857        is_array: true,
858        array_delimiter: ',',
859    };
860
861    pub const PG_MCV_LIST: PostgresType = PostgresType {
862        oid: 5017,
863        name: "pg_mcv_list",
864        element: None,
865        is_array: false,
866        array_delimiter: ',',
867    };
868
869    pub const PG_NDISTINCT: PostgresType = PostgresType {
870        oid: 3361,
871        name: "pg_ndistinct",
872        element: None,
873        is_array: false,
874        array_delimiter: ',',
875    };
876
877    pub const PG_NODE_TREE: PostgresType = PostgresType {
878        oid: 194,
879        name: "pg_node_tree",
880        element: None,
881        is_array: false,
882        array_delimiter: ',',
883    };
884
885    pub const PG_SNAPSHOT: PostgresType = PostgresType {
886        oid: 5038,
887        name: "pg_snapshot",
888        element: None,
889        is_array: false,
890        array_delimiter: ',',
891    };
892
893    pub const PG_SNAPSHOT_ARRAY: PostgresType = PostgresType {
894        oid: 5039,
895        name: "_pg_snapshot",
896        element: Some(&PostgresType::PG_SNAPSHOT),
897        is_array: true,
898        array_delimiter: ',',
899    };
900
901    pub const POINT: PostgresType = PostgresType {
902        oid: 600,
903        name: "point",
904        element: Some(&PostgresType::FLOAT8),
905        is_array: false,
906        array_delimiter: ',',
907    };
908
909    pub const POINT_ARRAY: PostgresType = PostgresType {
910        oid: 1017,
911        name: "_point",
912        element: Some(&PostgresType::POINT),
913        is_array: true,
914        array_delimiter: ',',
915    };
916
917    pub const POLYGON: PostgresType = PostgresType {
918        oid: 604,
919        name: "polygon",
920        element: None,
921        is_array: false,
922        array_delimiter: ',',
923    };
924
925    pub const POLYGON_ARRAY: PostgresType = PostgresType {
926        oid: 1027,
927        name: "_polygon",
928        element: Some(&PostgresType::POLYGON),
929        is_array: true,
930        array_delimiter: ',',
931    };
932
933    pub const RECORD: PostgresType = PostgresType {
934        oid: 2249,
935        name: "record",
936        element: None,
937        is_array: false,
938        array_delimiter: ',',
939    };
940
941    pub const RECORD_ARRAY: PostgresType = PostgresType {
942        oid: 2287,
943        name: "_record",
944        element: Some(&PostgresType::RECORD),
945        is_array: true,
946        array_delimiter: ',',
947    };
948
949    pub const REFCURSOR: PostgresType = PostgresType {
950        oid: 1790,
951        name: "refcursor",
952        element: None,
953        is_array: false,
954        array_delimiter: ',',
955    };
956
957    pub const REFCURSOR_ARRAY: PostgresType = PostgresType {
958        oid: 2201,
959        name: "_refcursor",
960        element: Some(&PostgresType::REFCURSOR),
961        is_array: true,
962        array_delimiter: ',',
963    };
964
965    pub const REGCLASS: PostgresType = PostgresType {
966        oid: 2205,
967        name: "regclass",
968        element: None,
969        is_array: false,
970        array_delimiter: ',',
971    };
972
973    pub const REGCLASS_ARRAY: PostgresType = PostgresType {
974        oid: 2210,
975        name: "_regclass",
976        element: Some(&PostgresType::REGCLASS),
977        is_array: true,
978        array_delimiter: ',',
979    };
980
981    pub const REGCOLLATION: PostgresType = PostgresType {
982        oid: 4191,
983        name: "regcollation",
984        element: None,
985        is_array: false,
986        array_delimiter: ',',
987    };
988
989    pub const REGCOLLATION_ARRAY: PostgresType = PostgresType {
990        oid: 4192,
991        name: "_regcollation",
992        element: Some(&PostgresType::REGCOLLATION),
993        is_array: true,
994        array_delimiter: ',',
995    };
996
997    pub const REGCONFIG: PostgresType = PostgresType {
998        oid: 3734,
999        name: "regconfig",
1000        element: None,
1001        is_array: false,
1002        array_delimiter: ',',
1003    };
1004
1005    pub const REGCONFIG_ARRAY: PostgresType = PostgresType {
1006        oid: 3735,
1007        name: "_regconfig",
1008        element: Some(&PostgresType::REGCONFIG),
1009        is_array: true,
1010        array_delimiter: ',',
1011    };
1012
1013    pub const REGDICTIONARY: PostgresType = PostgresType {
1014        oid: 3769,
1015        name: "regdictionary",
1016        element: None,
1017        is_array: false,
1018        array_delimiter: ',',
1019    };
1020
1021    pub const REGDICTIONARY_ARRAY: PostgresType = PostgresType {
1022        oid: 3770,
1023        name: "_regdictionary",
1024        element: Some(&PostgresType::REGDICTIONARY),
1025        is_array: true,
1026        array_delimiter: ',',
1027    };
1028
1029    pub const REGNAMESPACE: PostgresType = PostgresType {
1030        oid: 4089,
1031        name: "regnamespace",
1032        element: None,
1033        is_array: false,
1034        array_delimiter: ',',
1035    };
1036
1037    pub const REGNAMESPACE_ARRAY: PostgresType = PostgresType {
1038        oid: 4090,
1039        name: "_regnamespace",
1040        element: Some(&PostgresType::REGNAMESPACE),
1041        is_array: true,
1042        array_delimiter: ',',
1043    };
1044
1045    pub const REGOPER: PostgresType = PostgresType {
1046        oid: 2203,
1047        name: "regoper",
1048        element: None,
1049        is_array: false,
1050        array_delimiter: ',',
1051    };
1052
1053    pub const REGOPERATOR: PostgresType = PostgresType {
1054        oid: 2204,
1055        name: "regoperator",
1056        element: None,
1057        is_array: false,
1058        array_delimiter: ',',
1059    };
1060
1061    pub const REGOPERATOR_ARRAY: PostgresType = PostgresType {
1062        oid: 2209,
1063        name: "_regoperator",
1064        element: Some(&PostgresType::REGOPERATOR),
1065        is_array: true,
1066        array_delimiter: ',',
1067    };
1068
1069    pub const REGOPER_ARRAY: PostgresType = PostgresType {
1070        oid: 2208,
1071        name: "_regoper",
1072        element: Some(&PostgresType::REGOPER),
1073        is_array: true,
1074        array_delimiter: ',',
1075    };
1076
1077    pub const REGPROC: PostgresType = PostgresType {
1078        oid: 24,
1079        name: "regproc",
1080        element: None,
1081        is_array: false,
1082        array_delimiter: ',',
1083    };
1084
1085    pub const REGPROCEDURE: PostgresType = PostgresType {
1086        oid: 2202,
1087        name: "regprocedure",
1088        element: None,
1089        is_array: false,
1090        array_delimiter: ',',
1091    };
1092
1093    pub const REGPROCEDURE_ARRAY: PostgresType = PostgresType {
1094        oid: 2207,
1095        name: "_regprocedure",
1096        element: Some(&PostgresType::REGPROCEDURE),
1097        is_array: true,
1098        array_delimiter: ',',
1099    };
1100
1101    pub const REGPROC_ARRAY: PostgresType = PostgresType {
1102        oid: 1008,
1103        name: "_regproc",
1104        element: Some(&PostgresType::REGPROC),
1105        is_array: true,
1106        array_delimiter: ',',
1107    };
1108
1109    pub const REGROLE: PostgresType = PostgresType {
1110        oid: 4096,
1111        name: "regrole",
1112        element: None,
1113        is_array: false,
1114        array_delimiter: ',',
1115    };
1116
1117    pub const REGROLE_ARRAY: PostgresType = PostgresType {
1118        oid: 4097,
1119        name: "_regrole",
1120        element: Some(&PostgresType::REGROLE),
1121        is_array: true,
1122        array_delimiter: ',',
1123    };
1124
1125    pub const REGTYPE: PostgresType = PostgresType {
1126        oid: 2206,
1127        name: "regtype",
1128        element: None,
1129        is_array: false,
1130        array_delimiter: ',',
1131    };
1132
1133    pub const REGTYPE_ARRAY: PostgresType = PostgresType {
1134        oid: 2211,
1135        name: "_regtype",
1136        element: Some(&PostgresType::REGTYPE),
1137        is_array: true,
1138        array_delimiter: ',',
1139    };
1140
1141    pub const TABLE_AM_HANDLER: PostgresType = PostgresType {
1142        oid: 269,
1143        name: "table_am_handler",
1144        element: None,
1145        is_array: false,
1146        array_delimiter: ',',
1147    };
1148
1149    pub const TEXT: PostgresType = PostgresType {
1150        oid: 25,
1151        name: "text",
1152        element: None,
1153        is_array: false,
1154        array_delimiter: ',',
1155    };
1156
1157    pub const TEXT_ARRAY: PostgresType = PostgresType {
1158        oid: 1009,
1159        name: "_text",
1160        element: Some(&PostgresType::TEXT),
1161        is_array: true,
1162        array_delimiter: ',',
1163    };
1164
1165    pub const TID: PostgresType = PostgresType {
1166        oid: 27,
1167        name: "tid",
1168        element: None,
1169        is_array: false,
1170        array_delimiter: ',',
1171    };
1172
1173    pub const TID_ARRAY: PostgresType = PostgresType {
1174        oid: 1010,
1175        name: "_tid",
1176        element: Some(&PostgresType::TID),
1177        is_array: true,
1178        array_delimiter: ',',
1179    };
1180
1181    pub const TIME: PostgresType = PostgresType {
1182        oid: 1083,
1183        name: "time",
1184        element: None,
1185        is_array: false,
1186        array_delimiter: ',',
1187    };
1188
1189    pub const TIMESTAMP: PostgresType = PostgresType {
1190        oid: 1114,
1191        name: "timestamp",
1192        element: None,
1193        is_array: false,
1194        array_delimiter: ',',
1195    };
1196
1197    pub const TIMESTAMPTZ: PostgresType = PostgresType {
1198        oid: 1184,
1199        name: "timestamptz",
1200        element: None,
1201        is_array: false,
1202        array_delimiter: ',',
1203    };
1204
1205    pub const TIMESTAMPTZ_ARRAY: PostgresType = PostgresType {
1206        oid: 1185,
1207        name: "_timestamptz",
1208        element: Some(&PostgresType::TIMESTAMPTZ),
1209        is_array: true,
1210        array_delimiter: ',',
1211    };
1212
1213    pub const TIMESTAMP_ARRAY: PostgresType = PostgresType {
1214        oid: 1115,
1215        name: "_timestamp",
1216        element: Some(&PostgresType::TIMESTAMP),
1217        is_array: true,
1218        array_delimiter: ',',
1219    };
1220
1221    pub const TIMETZ: PostgresType = PostgresType {
1222        oid: 1266,
1223        name: "timetz",
1224        element: None,
1225        is_array: false,
1226        array_delimiter: ',',
1227    };
1228
1229    pub const TIMETZ_ARRAY: PostgresType = PostgresType {
1230        oid: 1270,
1231        name: "_timetz",
1232        element: Some(&PostgresType::TIMETZ),
1233        is_array: true,
1234        array_delimiter: ',',
1235    };
1236
1237    pub const TIME_ARRAY: PostgresType = PostgresType {
1238        oid: 1183,
1239        name: "_time",
1240        element: Some(&PostgresType::TIME),
1241        is_array: true,
1242        array_delimiter: ',',
1243    };
1244
1245    pub const TRIGGER: PostgresType = PostgresType {
1246        oid: 2279,
1247        name: "trigger",
1248        element: None,
1249        is_array: false,
1250        array_delimiter: ',',
1251    };
1252
1253    pub const TSMULTIRANGE: PostgresType = PostgresType {
1254        oid: 4533,
1255        name: "tsmultirange",
1256        element: None,
1257        is_array: false,
1258        array_delimiter: ',',
1259    };
1260
1261    pub const TSMULTIRANGE_ARRAY: PostgresType = PostgresType {
1262        oid: 6152,
1263        name: "_tsmultirange",
1264        element: Some(&PostgresType::TSMULTIRANGE),
1265        is_array: true,
1266        array_delimiter: ',',
1267    };
1268
1269    pub const TSM_HANDLER: PostgresType = PostgresType {
1270        oid: 3310,
1271        name: "tsm_handler",
1272        element: None,
1273        is_array: false,
1274        array_delimiter: ',',
1275    };
1276
1277    pub const TSQUERY: PostgresType = PostgresType {
1278        oid: 3615,
1279        name: "tsquery",
1280        element: None,
1281        is_array: false,
1282        array_delimiter: ',',
1283    };
1284
1285    pub const TSQUERY_ARRAY: PostgresType = PostgresType {
1286        oid: 3645,
1287        name: "_tsquery",
1288        element: Some(&PostgresType::TSQUERY),
1289        is_array: true,
1290        array_delimiter: ',',
1291    };
1292
1293    pub const TSRANGE: PostgresType = PostgresType {
1294        oid: 3908,
1295        name: "tsrange",
1296        element: None,
1297        is_array: false,
1298        array_delimiter: ',',
1299    };
1300
1301    pub const TSRANGE_ARRAY: PostgresType = PostgresType {
1302        oid: 3909,
1303        name: "_tsrange",
1304        element: Some(&PostgresType::TSRANGE),
1305        is_array: true,
1306        array_delimiter: ',',
1307    };
1308
1309    pub const TSTZMULTIRANGE: PostgresType = PostgresType {
1310        oid: 4534,
1311        name: "tstzmultirange",
1312        element: None,
1313        is_array: false,
1314        array_delimiter: ',',
1315    };
1316
1317    pub const TSTZMULTIRANGE_ARRAY: PostgresType = PostgresType {
1318        oid: 6153,
1319        name: "_tstzmultirange",
1320        element: Some(&PostgresType::TSTZMULTIRANGE),
1321        is_array: true,
1322        array_delimiter: ',',
1323    };
1324
1325    pub const TSTZRANGE: PostgresType = PostgresType {
1326        oid: 3910,
1327        name: "tstzrange",
1328        element: None,
1329        is_array: false,
1330        array_delimiter: ',',
1331    };
1332
1333    pub const TSTZRANGE_ARRAY: PostgresType = PostgresType {
1334        oid: 3911,
1335        name: "_tstzrange",
1336        element: Some(&PostgresType::TSTZRANGE),
1337        is_array: true,
1338        array_delimiter: ',',
1339    };
1340
1341    pub const TSVECTOR: PostgresType = PostgresType {
1342        oid: 3614,
1343        name: "tsvector",
1344        element: None,
1345        is_array: false,
1346        array_delimiter: ',',
1347    };
1348
1349    pub const TSVECTOR_ARRAY: PostgresType = PostgresType {
1350        oid: 3643,
1351        name: "_tsvector",
1352        element: Some(&PostgresType::TSVECTOR),
1353        is_array: true,
1354        array_delimiter: ',',
1355    };
1356
1357    pub const TXID_SNAPSHOT: PostgresType = PostgresType {
1358        oid: 2970,
1359        name: "txid_snapshot",
1360        element: None,
1361        is_array: false,
1362        array_delimiter: ',',
1363    };
1364
1365    pub const TXID_SNAPSHOT_ARRAY: PostgresType = PostgresType {
1366        oid: 2949,
1367        name: "_txid_snapshot",
1368        element: Some(&PostgresType::TXID_SNAPSHOT),
1369        is_array: true,
1370        array_delimiter: ',',
1371    };
1372
1373    pub const UNKNOWN: PostgresType = PostgresType {
1374        oid: 705,
1375        name: "unknown",
1376        element: None,
1377        is_array: false,
1378        array_delimiter: ',',
1379    };
1380
1381    pub const UUID: PostgresType = PostgresType {
1382        oid: 2950,
1383        name: "uuid",
1384        element: None,
1385        is_array: false,
1386        array_delimiter: ',',
1387    };
1388
1389    pub const UUID_ARRAY: PostgresType = PostgresType {
1390        oid: 2951,
1391        name: "_uuid",
1392        element: Some(&PostgresType::UUID),
1393        is_array: true,
1394        array_delimiter: ',',
1395    };
1396
1397    pub const VARBIT: PostgresType = PostgresType {
1398        oid: 1562,
1399        name: "varbit",
1400        element: None,
1401        is_array: false,
1402        array_delimiter: ',',
1403    };
1404
1405    pub const VARBIT_ARRAY: PostgresType = PostgresType {
1406        oid: 1563,
1407        name: "_varbit",
1408        element: Some(&PostgresType::VARBIT),
1409        is_array: true,
1410        array_delimiter: ',',
1411    };
1412
1413    pub const VARCHAR: PostgresType = PostgresType {
1414        oid: 1043,
1415        name: "varchar",
1416        element: None,
1417        is_array: false,
1418        array_delimiter: ',',
1419    };
1420
1421    pub const VARCHAR_ARRAY: PostgresType = PostgresType {
1422        oid: 1015,
1423        name: "_varchar",
1424        element: Some(&PostgresType::VARCHAR),
1425        is_array: true,
1426        array_delimiter: ',',
1427    };
1428
1429    pub const VOID: PostgresType = PostgresType {
1430        oid: 2278,
1431        name: "void",
1432        element: None,
1433        is_array: false,
1434        array_delimiter: ',',
1435    };
1436
1437    pub const XID: PostgresType = PostgresType {
1438        oid: 28,
1439        name: "xid",
1440        element: None,
1441        is_array: false,
1442        array_delimiter: ',',
1443    };
1444
1445    pub const XID8: PostgresType = PostgresType {
1446        oid: 5069,
1447        name: "xid8",
1448        element: None,
1449        is_array: false,
1450        array_delimiter: ',',
1451    };
1452
1453    pub const XID8_ARRAY: PostgresType = PostgresType {
1454        oid: 271,
1455        name: "_xid8",
1456        element: Some(&PostgresType::XID8),
1457        is_array: true,
1458        array_delimiter: ',',
1459    };
1460
1461    pub const XID_ARRAY: PostgresType = PostgresType {
1462        oid: 1011,
1463        name: "_xid",
1464        element: Some(&PostgresType::XID),
1465        is_array: true,
1466        array_delimiter: ',',
1467    };
1468
1469    pub const XML: PostgresType = PostgresType {
1470        oid: 142,
1471        name: "xml",
1472        element: None,
1473        is_array: false,
1474        array_delimiter: ',',
1475    };
1476
1477    pub const XML_ARRAY: PostgresType = PostgresType {
1478        oid: 143,
1479        name: "_xml",
1480        element: Some(&PostgresType::XML),
1481        is_array: true,
1482        array_delimiter: ',',
1483    };
1484
1485    pub(crate) fn get_by_oid(oid: i32) -> Option<&'static PostgresType> {
1486        match oid {
1487            1033 => Some(&PostgresType::ACLITEM),
1488            1034 => Some(&PostgresType::ACLITEM_ARRAY),
1489            2276 => Some(&PostgresType::ANY),
1490            2277 => Some(&PostgresType::ANYARRAY),
1491            5077 => Some(&PostgresType::ANYCOMPATIBLE),
1492            5078 => Some(&PostgresType::ANYCOMPATIBLEARRAY),
1493            4538 => Some(&PostgresType::ANYCOMPATIBLEMULTIRANGE),
1494            5079 => Some(&PostgresType::ANYCOMPATIBLENONARRAY),
1495            5080 => Some(&PostgresType::ANYCOMPATIBLERANGE),
1496            2283 => Some(&PostgresType::ANYELEMENT),
1497            3500 => Some(&PostgresType::ANYENUM),
1498            4537 => Some(&PostgresType::ANYMULTIRANGE),
1499            2776 => Some(&PostgresType::ANYNONARRAY),
1500            3831 => Some(&PostgresType::ANYRANGE),
1501            1560 => Some(&PostgresType::BIT),
1502            1561 => Some(&PostgresType::BIT_ARRAY),
1503            16 => Some(&PostgresType::BOOL),
1504            1000 => Some(&PostgresType::BOOL_ARRAY),
1505            603 => Some(&PostgresType::BOX),
1506            1020 => Some(&PostgresType::BOX_ARRAY),
1507            1042 => Some(&PostgresType::BPCHAR),
1508            1014 => Some(&PostgresType::BPCHAR_ARRAY),
1509            17 => Some(&PostgresType::BYTEA),
1510            1001 => Some(&PostgresType::BYTEA_ARRAY),
1511            18 => Some(&PostgresType::CHAR),
1512            1002 => Some(&PostgresType::CHAR_ARRAY),
1513            29 => Some(&PostgresType::CID),
1514            650 => Some(&PostgresType::CIDR),
1515            651 => Some(&PostgresType::CIDR_ARRAY),
1516            1012 => Some(&PostgresType::CID_ARRAY),
1517            718 => Some(&PostgresType::CIRCLE),
1518            719 => Some(&PostgresType::CIRCLE_ARRAY),
1519            2275 => Some(&PostgresType::CSTRING),
1520            1263 => Some(&PostgresType::CSTRING_ARRAY),
1521            1082 => Some(&PostgresType::DATE),
1522            4535 => Some(&PostgresType::DATEMULTIRANGE),
1523            6155 => Some(&PostgresType::DATEMULTIRANGE_ARRAY),
1524            3912 => Some(&PostgresType::DATERANGE),
1525            3913 => Some(&PostgresType::DATERANGE_ARRAY),
1526            1182 => Some(&PostgresType::DATE_ARRAY),
1527            3838 => Some(&PostgresType::EVENT_TRIGGER),
1528            3115 => Some(&PostgresType::FDW_HANDLER),
1529            700 => Some(&PostgresType::FLOAT4),
1530            1021 => Some(&PostgresType::FLOAT4_ARRAY),
1531            701 => Some(&PostgresType::FLOAT8),
1532            1022 => Some(&PostgresType::FLOAT8_ARRAY),
1533            3642 => Some(&PostgresType::GTSVECTOR),
1534            3644 => Some(&PostgresType::GTSVECTOR_ARRAY),
1535            325 => Some(&PostgresType::INDEX_AM_HANDLER),
1536            869 => Some(&PostgresType::INET),
1537            1041 => Some(&PostgresType::INET_ARRAY),
1538            21 => Some(&PostgresType::INT2),
1539            22 => Some(&PostgresType::INT2VECTOR),
1540            1006 => Some(&PostgresType::INT2VECTOR_ARRAY),
1541            1005 => Some(&PostgresType::INT2_ARRAY),
1542            23 => Some(&PostgresType::INT4),
1543            4451 => Some(&PostgresType::INT4MULTIRANGE),
1544            6150 => Some(&PostgresType::INT4MULTIRANGE_ARRAY),
1545            3904 => Some(&PostgresType::INT4RANGE),
1546            3905 => Some(&PostgresType::INT4RANGE_ARRAY),
1547            1007 => Some(&PostgresType::INT4_ARRAY),
1548            20 => Some(&PostgresType::INT8),
1549            4536 => Some(&PostgresType::INT8MULTIRANGE),
1550            6157 => Some(&PostgresType::INT8MULTIRANGE_ARRAY),
1551            3926 => Some(&PostgresType::INT8RANGE),
1552            3927 => Some(&PostgresType::INT8RANGE_ARRAY),
1553            1016 => Some(&PostgresType::INT8_ARRAY),
1554            2281 => Some(&PostgresType::INTERNAL),
1555            1186 => Some(&PostgresType::INTERVAL),
1556            1187 => Some(&PostgresType::INTERVAL_ARRAY),
1557            114 => Some(&PostgresType::JSON),
1558            3802 => Some(&PostgresType::JSONB),
1559            3807 => Some(&PostgresType::JSONB_ARRAY),
1560            4072 => Some(&PostgresType::JSONPATH),
1561            4073 => Some(&PostgresType::JSONPATH_ARRAY),
1562            199 => Some(&PostgresType::JSON_ARRAY),
1563            2280 => Some(&PostgresType::LANGUAGE_HANDLER),
1564            628 => Some(&PostgresType::LINE),
1565            629 => Some(&PostgresType::LINE_ARRAY),
1566            601 => Some(&PostgresType::LSEG),
1567            1018 => Some(&PostgresType::LSEG_ARRAY),
1568            829 => Some(&PostgresType::MACADDR),
1569            774 => Some(&PostgresType::MACADDR8),
1570            775 => Some(&PostgresType::MACADDR8_ARRAY),
1571            1040 => Some(&PostgresType::MACADDR_ARRAY),
1572            790 => Some(&PostgresType::MONEY),
1573            791 => Some(&PostgresType::MONEY_ARRAY),
1574            19 => Some(&PostgresType::NAME),
1575            1003 => Some(&PostgresType::NAME_ARRAY),
1576            1700 => Some(&PostgresType::NUMERIC),
1577            1231 => Some(&PostgresType::NUMERIC_ARRAY),
1578            4532 => Some(&PostgresType::NUMMULTIRANGE),
1579            6151 => Some(&PostgresType::NUMMULTIRANGE_ARRAY),
1580            3906 => Some(&PostgresType::NUMRANGE),
1581            3907 => Some(&PostgresType::NUMRANGE_ARRAY),
1582            26 => Some(&PostgresType::OID),
1583            30 => Some(&PostgresType::OIDVECTOR),
1584            1013 => Some(&PostgresType::OIDVECTOR_ARRAY),
1585            1028 => Some(&PostgresType::OID_ARRAY),
1586            602 => Some(&PostgresType::PATH),
1587            1019 => Some(&PostgresType::PATH_ARRAY),
1588            4600 => Some(&PostgresType::PG_BRIN_BLOOM_SUMMARY),
1589            4601 => Some(&PostgresType::PG_BRIN_MINMAX_MULTI_SUMMARY),
1590            32 => Some(&PostgresType::PG_DDL_COMMAND),
1591            3402 => Some(&PostgresType::PG_DEPENDENCIES),
1592            3220 => Some(&PostgresType::PG_LSN),
1593            3221 => Some(&PostgresType::PG_LSN_ARRAY),
1594            5017 => Some(&PostgresType::PG_MCV_LIST),
1595            3361 => Some(&PostgresType::PG_NDISTINCT),
1596            194 => Some(&PostgresType::PG_NODE_TREE),
1597            5038 => Some(&PostgresType::PG_SNAPSHOT),
1598            5039 => Some(&PostgresType::PG_SNAPSHOT_ARRAY),
1599            600 => Some(&PostgresType::POINT),
1600            1017 => Some(&PostgresType::POINT_ARRAY),
1601            604 => Some(&PostgresType::POLYGON),
1602            1027 => Some(&PostgresType::POLYGON_ARRAY),
1603            2249 => Some(&PostgresType::RECORD),
1604            2287 => Some(&PostgresType::RECORD_ARRAY),
1605            1790 => Some(&PostgresType::REFCURSOR),
1606            2201 => Some(&PostgresType::REFCURSOR_ARRAY),
1607            2205 => Some(&PostgresType::REGCLASS),
1608            2210 => Some(&PostgresType::REGCLASS_ARRAY),
1609            4191 => Some(&PostgresType::REGCOLLATION),
1610            4192 => Some(&PostgresType::REGCOLLATION_ARRAY),
1611            3734 => Some(&PostgresType::REGCONFIG),
1612            3735 => Some(&PostgresType::REGCONFIG_ARRAY),
1613            3769 => Some(&PostgresType::REGDICTIONARY),
1614            3770 => Some(&PostgresType::REGDICTIONARY_ARRAY),
1615            4089 => Some(&PostgresType::REGNAMESPACE),
1616            4090 => Some(&PostgresType::REGNAMESPACE_ARRAY),
1617            2203 => Some(&PostgresType::REGOPER),
1618            2204 => Some(&PostgresType::REGOPERATOR),
1619            2209 => Some(&PostgresType::REGOPERATOR_ARRAY),
1620            2208 => Some(&PostgresType::REGOPER_ARRAY),
1621            24 => Some(&PostgresType::REGPROC),
1622            2202 => Some(&PostgresType::REGPROCEDURE),
1623            2207 => Some(&PostgresType::REGPROCEDURE_ARRAY),
1624            1008 => Some(&PostgresType::REGPROC_ARRAY),
1625            4096 => Some(&PostgresType::REGROLE),
1626            4097 => Some(&PostgresType::REGROLE_ARRAY),
1627            2206 => Some(&PostgresType::REGTYPE),
1628            2211 => Some(&PostgresType::REGTYPE_ARRAY),
1629            269 => Some(&PostgresType::TABLE_AM_HANDLER),
1630            25 => Some(&PostgresType::TEXT),
1631            1009 => Some(&PostgresType::TEXT_ARRAY),
1632            27 => Some(&PostgresType::TID),
1633            1010 => Some(&PostgresType::TID_ARRAY),
1634            1083 => Some(&PostgresType::TIME),
1635            1114 => Some(&PostgresType::TIMESTAMP),
1636            1184 => Some(&PostgresType::TIMESTAMPTZ),
1637            1185 => Some(&PostgresType::TIMESTAMPTZ_ARRAY),
1638            1115 => Some(&PostgresType::TIMESTAMP_ARRAY),
1639            1266 => Some(&PostgresType::TIMETZ),
1640            1270 => Some(&PostgresType::TIMETZ_ARRAY),
1641            1183 => Some(&PostgresType::TIME_ARRAY),
1642            2279 => Some(&PostgresType::TRIGGER),
1643            4533 => Some(&PostgresType::TSMULTIRANGE),
1644            6152 => Some(&PostgresType::TSMULTIRANGE_ARRAY),
1645            3310 => Some(&PostgresType::TSM_HANDLER),
1646            3615 => Some(&PostgresType::TSQUERY),
1647            3645 => Some(&PostgresType::TSQUERY_ARRAY),
1648            3908 => Some(&PostgresType::TSRANGE),
1649            3909 => Some(&PostgresType::TSRANGE_ARRAY),
1650            4534 => Some(&PostgresType::TSTZMULTIRANGE),
1651            6153 => Some(&PostgresType::TSTZMULTIRANGE_ARRAY),
1652            3910 => Some(&PostgresType::TSTZRANGE),
1653            3911 => Some(&PostgresType::TSTZRANGE_ARRAY),
1654            3614 => Some(&PostgresType::TSVECTOR),
1655            3643 => Some(&PostgresType::TSVECTOR_ARRAY),
1656            2970 => Some(&PostgresType::TXID_SNAPSHOT),
1657            2949 => Some(&PostgresType::TXID_SNAPSHOT_ARRAY),
1658            705 => Some(&PostgresType::UNKNOWN),
1659            2950 => Some(&PostgresType::UUID),
1660            2951 => Some(&PostgresType::UUID_ARRAY),
1661            1562 => Some(&PostgresType::VARBIT),
1662            1563 => Some(&PostgresType::VARBIT_ARRAY),
1663            1043 => Some(&PostgresType::VARCHAR),
1664            1015 => Some(&PostgresType::VARCHAR_ARRAY),
1665            2278 => Some(&PostgresType::VOID),
1666            28 => Some(&PostgresType::XID),
1667            5069 => Some(&PostgresType::XID8),
1668            271 => Some(&PostgresType::XID8_ARRAY),
1669            1011 => Some(&PostgresType::XID_ARRAY),
1670            142 => Some(&PostgresType::XML),
1671            143 => Some(&PostgresType::XML_ARRAY),
1672            _ => None,
1673        }
1674    }
1675}