@@ -38,6 +38,14 @@ pub enum Type {
38
38
OidVector ,
39
39
/// PG_DDL_COMMAND - internal type for passing CollectedCommand
40
40
PgDdlCommand ,
41
+ /// PG_TYPE
42
+ PgType ,
43
+ /// PG_ATTRIBUTE
44
+ PgAttribute ,
45
+ /// PG_PROC
46
+ PgProc ,
47
+ /// PG_CLASS
48
+ PgClass ,
41
49
/// JSON
42
50
Json ,
43
51
/// XML - XML content
@@ -227,7 +235,7 @@ pub enum Type {
227
235
/// ANY
228
236
Any ,
229
237
/// ANYARRAY
230
- Anyarray ,
238
+ AnyArray ,
231
239
/// VOID
232
240
Void ,
233
241
/// TRIGGER
@@ -263,15 +271,15 @@ pub enum Type {
263
271
/// ANYENUM
264
272
Anyenum ,
265
273
/// TSVECTOR - text representation for text search
266
- TsVector ,
274
+ Tsvector ,
267
275
/// TSQUERY - query representation for text search
268
276
Tsquery ,
269
277
/// GTSVECTOR - GiST index internal text representation for text search
270
- GtsVector ,
278
+ Gtsvector ,
271
279
/// TSVECTOR[]
272
- TsVectorArray ,
280
+ TsvectorArray ,
273
281
/// GTSVECTOR[]
274
- GtsVectorArray ,
282
+ GtsvectorArray ,
275
283
/// TSQUERY[]
276
284
TsqueryArray ,
277
285
/// REGCONFIG - registered text search configuration
@@ -357,6 +365,10 @@ impl Type {
357
365
29 => Some ( Type :: Cid ) ,
358
366
30 => Some ( Type :: OidVector ) ,
359
367
32 => Some ( Type :: PgDdlCommand ) ,
368
+ 71 => Some ( Type :: PgType ) ,
369
+ 75 => Some ( Type :: PgAttribute ) ,
370
+ 81 => Some ( Type :: PgProc ) ,
371
+ 83 => Some ( Type :: PgClass ) ,
360
372
114 => Some ( Type :: Json ) ,
361
373
142 => Some ( Type :: Xml ) ,
362
374
143 => Some ( Type :: XmlArray ) ,
@@ -451,7 +463,7 @@ impl Type {
451
463
2249 => Some ( Type :: Record ) ,
452
464
2275 => Some ( Type :: Cstring ) ,
453
465
2276 => Some ( Type :: Any ) ,
454
- 2277 => Some ( Type :: Anyarray ) ,
466
+ 2277 => Some ( Type :: AnyArray ) ,
455
467
2278 => Some ( Type :: Void ) ,
456
468
2279 => Some ( Type :: Trigger ) ,
457
469
2280 => Some ( Type :: LanguageHandler ) ,
@@ -469,11 +481,11 @@ impl Type {
469
481
3221 => Some ( Type :: PgLsnArray ) ,
470
482
3310 => Some ( Type :: TsmHandler ) ,
471
483
3500 => Some ( Type :: Anyenum ) ,
472
- 3614 => Some ( Type :: TsVector ) ,
484
+ 3614 => Some ( Type :: Tsvector ) ,
473
485
3615 => Some ( Type :: Tsquery ) ,
474
- 3642 => Some ( Type :: GtsVector ) ,
475
- 3643 => Some ( Type :: TsVectorArray ) ,
476
- 3644 => Some ( Type :: GtsVectorArray ) ,
486
+ 3642 => Some ( Type :: Gtsvector ) ,
487
+ 3643 => Some ( Type :: TsvectorArray ) ,
488
+ 3644 => Some ( Type :: GtsvectorArray ) ,
477
489
3645 => Some ( Type :: TsqueryArray ) ,
478
490
3734 => Some ( Type :: Regconfig ) ,
479
491
3735 => Some ( Type :: RegconfigArray ) ,
@@ -522,6 +534,10 @@ impl Type {
522
534
Type :: Cid => 29 ,
523
535
Type :: OidVector => 30 ,
524
536
Type :: PgDdlCommand => 32 ,
537
+ Type :: PgType => 71 ,
538
+ Type :: PgAttribute => 75 ,
539
+ Type :: PgProc => 81 ,
540
+ Type :: PgClass => 83 ,
525
541
Type :: Json => 114 ,
526
542
Type :: Xml => 142 ,
527
543
Type :: XmlArray => 143 ,
@@ -616,7 +632,7 @@ impl Type {
616
632
Type :: Record => 2249 ,
617
633
Type :: Cstring => 2275 ,
618
634
Type :: Any => 2276 ,
619
- Type :: Anyarray => 2277 ,
635
+ Type :: AnyArray => 2277 ,
620
636
Type :: Void => 2278 ,
621
637
Type :: Trigger => 2279 ,
622
638
Type :: LanguageHandler => 2280 ,
@@ -634,11 +650,11 @@ impl Type {
634
650
Type :: PgLsnArray => 3221 ,
635
651
Type :: TsmHandler => 3310 ,
636
652
Type :: Anyenum => 3500 ,
637
- Type :: TsVector => 3614 ,
653
+ Type :: Tsvector => 3614 ,
638
654
Type :: Tsquery => 3615 ,
639
- Type :: GtsVector => 3642 ,
640
- Type :: TsVectorArray => 3643 ,
641
- Type :: GtsVectorArray => 3644 ,
655
+ Type :: Gtsvector => 3642 ,
656
+ Type :: TsvectorArray => 3643 ,
657
+ Type :: GtsvectorArray => 3644 ,
642
658
Type :: TsqueryArray => 3645 ,
643
659
Type :: Regconfig => 3734 ,
644
660
Type :: RegconfigArray => 3735 ,
@@ -735,6 +751,22 @@ impl Type {
735
751
const V : & ' static Kind = & Kind :: Pseudo ;
736
752
V
737
753
}
754
+ Type :: PgType => {
755
+ const V : & ' static Kind = & Kind :: Simple ;
756
+ V
757
+ }
758
+ Type :: PgAttribute => {
759
+ const V : & ' static Kind = & Kind :: Simple ;
760
+ V
761
+ }
762
+ Type :: PgProc => {
763
+ const V : & ' static Kind = & Kind :: Simple ;
764
+ V
765
+ }
766
+ Type :: PgClass => {
767
+ const V : & ' static Kind = & Kind :: Simple ;
768
+ V
769
+ }
738
770
Type :: Json => {
739
771
const V : & ' static Kind = & Kind :: Simple ;
740
772
V
@@ -1111,7 +1143,7 @@ impl Type {
1111
1143
const V : & ' static Kind = & Kind :: Pseudo ;
1112
1144
V
1113
1145
}
1114
- Type :: Anyarray => {
1146
+ Type :: AnyArray => {
1115
1147
const V : & ' static Kind = & Kind :: Pseudo ;
1116
1148
V
1117
1149
}
@@ -1183,24 +1215,24 @@ impl Type {
1183
1215
const V : & ' static Kind = & Kind :: Pseudo ;
1184
1216
V
1185
1217
}
1186
- Type :: TsVector => {
1218
+ Type :: Tsvector => {
1187
1219
const V : & ' static Kind = & Kind :: Simple ;
1188
1220
V
1189
1221
}
1190
1222
Type :: Tsquery => {
1191
1223
const V : & ' static Kind = & Kind :: Simple ;
1192
1224
V
1193
1225
}
1194
- Type :: GtsVector => {
1226
+ Type :: Gtsvector => {
1195
1227
const V : & ' static Kind = & Kind :: Simple ;
1196
1228
V
1197
1229
}
1198
- Type :: TsVectorArray => {
1199
- const V : & ' static Kind = & Kind :: Array ( Type :: TsVector ) ;
1230
+ Type :: TsvectorArray => {
1231
+ const V : & ' static Kind = & Kind :: Array ( Type :: Tsvector ) ;
1200
1232
V
1201
1233
}
1202
- Type :: GtsVectorArray => {
1203
- const V : & ' static Kind = & Kind :: Array ( Type :: GtsVector ) ;
1234
+ Type :: GtsvectorArray => {
1235
+ const V : & ' static Kind = & Kind :: Array ( Type :: Gtsvector ) ;
1204
1236
V
1205
1237
}
1206
1238
Type :: TsqueryArray => {
@@ -1334,6 +1366,10 @@ impl Type {
1334
1366
Type :: Cid => "cid" ,
1335
1367
Type :: OidVector => "oidvector" ,
1336
1368
Type :: PgDdlCommand => "pg_ddl_command" ,
1369
+ Type :: PgType => "pg_type" ,
1370
+ Type :: PgAttribute => "pg_attribute" ,
1371
+ Type :: PgProc => "pg_proc" ,
1372
+ Type :: PgClass => "pg_class" ,
1337
1373
Type :: Json => "json" ,
1338
1374
Type :: Xml => "xml" ,
1339
1375
Type :: XmlArray => "_xml" ,
@@ -1428,7 +1464,7 @@ impl Type {
1428
1464
Type :: Record => "record" ,
1429
1465
Type :: Cstring => "cstring" ,
1430
1466
Type :: Any => "any" ,
1431
- Type :: Anyarray => "anyarray" ,
1467
+ Type :: AnyArray => "anyarray" ,
1432
1468
Type :: Void => "void" ,
1433
1469
Type :: Trigger => "trigger" ,
1434
1470
Type :: LanguageHandler => "language_handler" ,
@@ -1446,11 +1482,11 @@ impl Type {
1446
1482
Type :: PgLsnArray => "_pg_lsn" ,
1447
1483
Type :: TsmHandler => "tsm_handler" ,
1448
1484
Type :: Anyenum => "anyenum" ,
1449
- Type :: TsVector => "tsvector" ,
1485
+ Type :: Tsvector => "tsvector" ,
1450
1486
Type :: Tsquery => "tsquery" ,
1451
- Type :: GtsVector => "gtsvector" ,
1452
- Type :: TsVectorArray => "_tsvector" ,
1453
- Type :: GtsVectorArray => "_gtsvector" ,
1487
+ Type :: Gtsvector => "gtsvector" ,
1488
+ Type :: TsvectorArray => "_tsvector" ,
1489
+ Type :: GtsvectorArray => "_gtsvector" ,
1454
1490
Type :: TsqueryArray => "_tsquery" ,
1455
1491
Type :: Regconfig => "regconfig" ,
1456
1492
Type :: RegconfigArray => "_regconfig" ,
0 commit comments