mirror of
https://github.com/launchbadge/sqlx
synced 2024-11-10 14:34:19 +00:00
postgres: remove IntervalStyle to fix #130
Support more server versions, including CockroachDB, which only supports the `postgres` style.
This commit is contained in:
parent
ada57fa566
commit
459828ee3d
1 changed files with 0 additions and 2 deletions
|
@ -111,8 +111,6 @@ async fn startup(stream: &mut PgStream, url: &Url) -> crate::Result<BackendKeyDa
|
|||
// Sets the display format for date and time values,
|
||||
// as well as the rules for interpreting ambiguous date input values.
|
||||
("DateStyle", "ISO, MDY"),
|
||||
// Sets the display format for interval values.
|
||||
("IntervalStyle", "iso_8601"),
|
||||
// Sets the time zone for displaying and interpreting time stamps.
|
||||
("TimeZone", "UTC"),
|
||||
// Adjust postgres to return percise values for floats
|
||||
|
|
Loading…
Reference in a new issue