Postgres: Support INTERVAL data type options (#1984)
Some checks failed
Rust / compile (push) Has been cancelled
license / Release Audit Tool (RAT) (push) Has been cancelled
Rust / codestyle (push) Has been cancelled
Rust / lint (push) Has been cancelled
Rust / benchmark-lint (push) Has been cancelled
Rust / docs (push) Has been cancelled
Rust / compile-no-std (push) Has been cancelled
Rust / test (beta) (push) Has been cancelled
Rust / test (nightly) (push) Has been cancelled
Rust / test (stable) (push) Has been cancelled

This commit is contained in:
Michael Victor Zink 2025-08-01 23:05:13 -07:00 committed by GitHub
parent dd650b88f3
commit c1648e79fe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 239 additions and 13 deletions

View file

@ -12955,7 +12955,10 @@ fn test_extract_seconds_ok() {
expr: Box::new(Expr::Value(
(Value::SingleQuotedString("2 seconds".to_string())).with_empty_span()
)),
data_type: DataType::Interval,
data_type: DataType::Interval {
fields: None,
precision: None
},
format: None,
}),
}
@ -12980,7 +12983,10 @@ fn test_extract_seconds_ok() {
expr: Box::new(Expr::Value(
(Value::SingleQuotedString("2 seconds".to_string())).with_empty_span(),
)),
data_type: DataType::Interval,
data_type: DataType::Interval {
fields: None,
precision: None,
},
format: None,
}),
})],
@ -13034,7 +13040,10 @@ fn test_extract_seconds_single_quote_ok() {
expr: Box::new(Expr::Value(
(Value::SingleQuotedString("2 seconds".to_string())).with_empty_span()
)),
data_type: DataType::Interval,
data_type: DataType::Interval {
fields: None,
precision: None
},
format: None,
}),
}