@@ -171,9 +171,9 @@ pub enum Type {
171
171
/// TIME[]
172
172
TimeArray ,
173
173
/// TIMESTAMPTZ - date and time with time zone
174
- Timestamptz ,
174
+ TimestampTZ ,
175
175
/// TIMESTAMPTZ[]
176
- TimestamptzArray ,
176
+ TimestampTZArray ,
177
177
/// INTERVAL - @ <number> <units>, time interval
178
178
Interval ,
179
179
/// INTERVAL[]
@@ -423,8 +423,8 @@ impl Type {
423
423
1115 => Some ( Type :: TimestampArray ) ,
424
424
1182 => Some ( Type :: DateArray ) ,
425
425
1183 => Some ( Type :: TimeArray ) ,
426
- 1184 => Some ( Type :: Timestamptz ) ,
427
- 1185 => Some ( Type :: TimestamptzArray ) ,
426
+ 1184 => Some ( Type :: TimestampTZ ) ,
427
+ 1185 => Some ( Type :: TimestampTZArray ) ,
428
428
1186 => Some ( Type :: Interval ) ,
429
429
1187 => Some ( Type :: IntervalArray ) ,
430
430
1231 => Some ( Type :: NumericArray ) ,
@@ -588,8 +588,8 @@ impl Type {
588
588
Type :: TimestampArray => 1115 ,
589
589
Type :: DateArray => 1182 ,
590
590
Type :: TimeArray => 1183 ,
591
- Type :: Timestamptz => 1184 ,
592
- Type :: TimestamptzArray => 1185 ,
591
+ Type :: TimestampTZ => 1184 ,
592
+ Type :: TimestampTZArray => 1185 ,
593
593
Type :: Interval => 1186 ,
594
594
Type :: IntervalArray => 1187 ,
595
595
Type :: NumericArray => 1231 ,
@@ -999,12 +999,12 @@ impl Type {
999
999
const V : & ' static Kind = & Kind :: Array ( Type :: Time ) ;
1000
1000
V
1001
1001
}
1002
- Type :: Timestamptz => {
1002
+ Type :: TimestampTZ => {
1003
1003
const V : & ' static Kind = & Kind :: Simple ;
1004
1004
V
1005
1005
}
1006
- Type :: TimestamptzArray => {
1007
- const V : & ' static Kind = & Kind :: Array ( Type :: Timestamptz ) ;
1006
+ Type :: TimestampTZArray => {
1007
+ const V : & ' static Kind = & Kind :: Array ( Type :: TimestampTZ ) ;
1008
1008
V
1009
1009
}
1010
1010
Type :: Interval => {
@@ -1264,7 +1264,7 @@ impl Type {
1264
1264
V
1265
1265
}
1266
1266
Type :: TstzRange => {
1267
- const V : & ' static Kind = & Kind :: Range ( Type :: Timestamptz ) ;
1267
+ const V : & ' static Kind = & Kind :: Range ( Type :: TimestampTZ ) ;
1268
1268
V
1269
1269
}
1270
1270
Type :: TstzRangeArray => {
@@ -1400,8 +1400,8 @@ impl Type {
1400
1400
Type :: TimestampArray => "_timestamp" ,
1401
1401
Type :: DateArray => "_date" ,
1402
1402
Type :: TimeArray => "_time" ,
1403
- Type :: Timestamptz => "timestamptz" ,
1404
- Type :: TimestamptzArray => "_timestamptz" ,
1403
+ Type :: TimestampTZ => "timestamptz" ,
1404
+ Type :: TimestampTZArray => "_timestamptz" ,
1405
1405
Type :: Interval => "interval" ,
1406
1406
Type :: IntervalArray => "_interval" ,
1407
1407
Type :: NumericArray => "_numeric" ,
0 commit comments