TimezoneInfo in sqlparser::ast - Rust

pub enum TimezoneInfo {
    None,
    WithTimeZone,
    WithoutTimeZone,
    Tz,
}
Expand description

Timestamp and Time data types information about TimeZone formatting.

This is more related to a display information than real differences between each variant. To guarantee compatibility with the input query we must maintain its exact information.

§

No information about time zone, e.g. TIMESTAMP

§

Temporal type ‘WITH TIME ZONE’, e.g. TIMESTAMP WITH TIME ZONE, SQL Standard, Oracle

§
§

Postgresql specific WITH TIME ZONE formatting, for both TIME and TIMESTAMP, e.g. TIMETZ, Postgresql

§
§
§
§
§
§