File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -1437,6 +1437,7 @@ impl TableDataType {
14371437 TableDataType :: Nullable ( inner_ty) => {
14381438 format ! ( "Nullable({})" , inner_ty. wrapped_display( ) )
14391439 }
1440+ TableDataType :: TimestampTz => "Timestamp_Tz" . to_string ( ) ,
14401441 TableDataType :: Tuple { fields_type, .. } => {
14411442 format ! (
14421443 "Tuple({})" ,
Original file line number Diff line number Diff line change @@ -391,6 +391,7 @@ impl DataType {
391391 pub fn wrapped_display ( & self ) -> String {
392392 match self {
393393 DataType :: Nullable ( inner_ty) => format ! ( "Nullable({})" , inner_ty. wrapped_display( ) ) ,
394+ DataType :: TimestampTz => "Timestamp_Tz" . to_string ( ) ,
394395 _ => format ! ( "{}" , self ) ,
395396 }
396397 }
@@ -412,6 +413,7 @@ impl DataType {
412413 . to_string ( ) ,
413414 DataType :: String => "VARCHAR" . to_string ( ) ,
414415 DataType :: Nullable ( inner_ty) => format ! ( "{} NULL" , inner_ty. sql_name( ) ) ,
416+ DataType :: TimestampTz => "TIMESTAMP_TZ" . to_string ( ) ,
415417 _ => self . to_string ( ) . to_uppercase ( ) ,
416418 }
417419 }
You can’t perform that action at this time.
0 commit comments